Thread (20 messages) 20 messages, 5 authors, 2021-09-09

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

From: <hidden>
Date: 2021-09-08 09:15:23
Also in: linux-arm-msm, linux-leds, lkml

On 2021-09-08 09:04, Stephen Boyd wrote:
Quoting satya priya (2021-09-06 03:41:07)
quoted
Add pwm support for PM8350C pmic.

Signed-off-by: satya priya <redacted>
---
 arch/arm64/boot/dts/qcom/pm8350c.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi 
b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
index e1b75ae..ecdae55 100644
--- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
@@ -29,6 +29,12 @@
                        interrupt-controller;
                        #interrupt-cells = <2>;
                };
+
+               pm8350c_pwm4: pwm {
+                       compatible = "qcom,pm8350c-pwm";
Shouldn't there be a reg property?
The bindings do not specify reg property. I think it is because we are 
adding the base address in struct "pm8350c_pwm_data".
quoted
+                       #pwm-cells = <2>;
+                       status = "okay";
+               };
        };
 };

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a 
member
of Code Aurora Forum, hosted by The Linux Foundation
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help