arm64: dts: qcom: sdm845-db845c: make pcie0_3p3v_dual always-on
PATCH 1/1 arm64: dts: qcom: sdm845-db845c: make pcie0_3p3v_dual always-on
This regulator is responsible not just for the PCIe 3.3v rail, but also for 5v VBUS on the left USB port. There is currently no way to correctly model this dependency on the USB controller, as a result when the PCIe driver is not available (for example when in the initramfs) USB is non-functional.
Until support is added for modelling this property (likely by referencing it as a supply under a usb-connector node), let's just make it always on. We don't target any power constrained usecases and this regulator is required for USB to function correctly.
--- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +6 -0
@@ -194,8 +194,14 @@ pcie0_3p3v_dual: vldo-3v3-regulator { regulator-max-microvolt = <3300000>; gpio = <&tlmm 90 GPIO_ACTIVE_HIGH>; enable-active-high; + /* + * FIXME: this regulator is responsible for VBUS on the left USB + * port. Keep it always on until we can correctly model this + * this relationship. + */ + regulator-always-on; pinctrl-names = "default"; pinctrl-0 = <&pcie0_pwren_state>; };
Signature · 1 line
2.44.0
Quoted 11 lines · Caleb Connolly
This regulator is responsible not just for the PCIe 3.3v rail, but also for 5v VBUS on the left USB port. There is currently no way to correctly model this dependency on the USB controller, as a result when the PCIe driver is not available (for example when in the initramfs) USB is non-functional.
Until support is added for modelling this property (likely by referencing it as a supply under a usb-connector node), let's just make it always on. We don't target any power constrained usecases and this regulator is required for USB to function correctly.
Quoted 4 lines
Fixes 3f72e2d3e682 ("arm64: dts: qcom: Add Dragonboard 845c")Suggested-by Bjorn Andersson <[email protected]>Signed-off-by Caleb Connolly <[email protected]>---
Konrad
Quoted 6 lines · Caleb Connolly
This regulator is responsible not just for the PCIe 3.3v rail, but also for 5v VBUS on the left USB port. There is currently no way to correctly model this dependency on the USB controller, as a result when the PCIe driver is not available (for example when in the initramfs) USB is non-functional.
Quoted 6 lines
Until support is added for modelling this property (likely by referencing it as a supply under a usb-connector node), let's just make it always on. We don't target any power constrained usecases and this regulator is required for USB to function correctly.
[...]
Applied, thanks!
[1/1] arm64: dts: qcom: sdm845-db845c: make pcie0_3p3v_dual always-on
commit: d73ed58d7f2793df161d0afb66afab3d1b862945
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>