[PATCH V3 3/4] arm64: dts: qcom: pm8350c: Add pwm support

From: Satya Priya
Date: Fri Oct 29 2021 - 07:45:35 EST


From: satya priya <skakit@xxxxxxxxxxxxxx>

Add pwm support for PM8350C pmic.

Signed-off-by: satya priya <skakit@xxxxxxxxxxxxxx>
---
Changes in V2:
- Dropped suffix '4' from pwm phandle and removed "status=ok".

Changes in V3:
- Add reg property.

arch/arm64/boot/dts/qcom/pm8350c.dtsi | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
index e1b75ae..1ba6318 100644
--- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
@@ -29,6 +29,13 @@
interrupt-controller;
#interrupt-cells = <2>;
};
+
+ pm8350c_pwm: pwm@e800 {
+ compatible = "qcom,pm8350c-pwm";
+ reg = <0xe800>;
+ #pwm-cells = <2>;
+ status = "disabled";
+ };
};
};

--
2.7.4