[PATCH 3/3] arm64: boot: dts: pmi8998.dtsi: Add VBUS regulator

James A. MacInnes
2025-02-11T19:49:57Z

This patch adds support for the USB Type-C VBUS regulator to the
PMI8998 PMIC device tree.

Key changes:
- Defined the `usb-vbus-regulator` node for VBUS handling, enabling
control over USB power delivery.

This addition enable USB Type-C VBUS support on sdm845 platforms.

Signed-off-by: James A. MacInnes <james.a.macinnes@gmail.com>
---
arch/arm64/boot/dts/qcom/pmi8998.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi
index cd3f0790fd42..8cb1d851b5a3 100644
--- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi
@@ -29,6 +29,12 @@ pmi8998_charger: charger@1000 {
status = "disabled";
};

+ pmi8998_vbus: usb-vbus-regulator@1100 {
+ compatible = "qcom,pmi8998-vbus-reg";
+ status = "disabled";
+ reg = <0x1100>;
+ };
+
pmi8998_gpios: gpio@c000 {
compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
--
2.43.0