[PATCH 4/6] arm64: dts: qcom: pmi8998: add USB Type-C and VBUS regulator nodes

From: taygoth

Date: Mon May 18 2026 - 16:23:50 EST


The PMI8998 PMIC includes a USB Type-C detection block at SPMI offset
0x1300 and a USB OTG VBUS boost converter at offset 0x1100. Both are
left disabled here so that only boards which wire up the connector and
USB role-switch enable them.

The VBUS regulator falls back to the qcom,pm8150b-vbus-reg compatible
because the OTG register layout (CMD_OTG, OTG_CFG, OTG_CURRENT_LIMIT)
is identical to the PM8150B SMB5 block.

Signed-off-by: taygoth <taygoth@xxxxxxxxx>
---
arch/arm64/boot/dts/qcom/pmi8998.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

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

+ pmi8998_vbus: vbus-reg@1100 {
+ compatible = "qcom,pmi8998-vbus-reg",
+ "qcom,pm8150b-vbus-reg";
+ reg = <0x1100>;
+ status = "disabled";
+ };
+
+ pmi8998_typec: typec@1300 {
+ compatible = "qcom,pmi8998-typec";
+ reg = <0x1300>;
+
+ interrupts = <0x2 0x13 0x7 IRQ_TYPE_EDGE_BOTH>;
+ interrupt-names = "type-c-change";
+
+ vdd-vbus-supply = <&pmi8998_vbus>;
+
+ status = "disabled";
+ };
+
pmi8998_gpios: gpio@c000 {
compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
--
2.47.3