ARM: dts: stm32: update pwm-cells for LPTimer on stm32h743
authorFabrice Gasnier <fabrice.gasnier@st.com>
Fri, 23 Feb 2018 13:36:00 +0000 (14:36 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 4 May 2018 07:45:54 +0000 (09:45 +0200)
LPTimer pwm cells should be updated to 3, to allow initialization of
channel, period and polarity.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32h743.dtsi

index 7b64af0..637beff 100644 (file)
@@ -86,6 +86,7 @@
 
                        pwm {
                                compatible = "st,stm32-pwm-lp";
+                               #pwm-cells = <3>;
                                status = "disabled";
                        };
 
 
                        pwm {
                                compatible = "st,stm32-pwm-lp";
+                               #pwm-cells = <3>;
                                status = "disabled";
                        };
 
 
                        pwm {
                                compatible = "st,stm32-pwm-lp";
+                               #pwm-cells = <3>;
                                status = "disabled";
                        };
 
 
                        pwm {
                                compatible = "st,stm32-pwm-lp";
+                               #pwm-cells = <3>;
                                status = "disabled";
                        };
                };
 
                        pwm {
                                compatible = "st,stm32-pwm-lp";
+                               #pwm-cells = <3>;
                                status = "disabled";
                        };
                };