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

From: Satya Priya
Date: Fri Nov 26 2021 - 04:14:47 EST


Add pwm support for PM8350C pmic.

Signed-off-by: Satya Priya <quic_c_skakit@xxxxxxxxxxx>
Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
---
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