]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ARM: dts: stm32: populate all timer counter nodes on stm32mp15
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Mon, 16 Dec 2024 15:39:05 +0000 (16:39 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 20 Dec 2024 07:20:25 +0000 (08:20 +0100)
Counter driver originally had support limited to quadrature interface
and simple counter. It has been improved[1], so add the remaining
stm32 timer counter nodes.

[1] https://lore.kernel.org/linux-arm-kernel/20240307133306.383045-1-fabrice.gasnier@foss.st.com/

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

index e7e3ce8066ece3aae0914c04b10bed100b370fa4..b9a87fbe971d6466fd9200588d1ae23dbf078a6d 100644 (file)
                                access-controllers = <&etzpc 20>;
                                status = "disabled";
 
+                               counter {
+                                       compatible = "st,stm32-timer-counter";
+                                       status = "disabled";
+                               };
+
                                timer@5 {
                                        compatible = "st,stm32h7-timer-trigger";
                                        reg = <5>;
                                access-controllers = <&etzpc 21>;
                                status = "disabled";
 
+                               counter {
+                                       compatible = "st,stm32-timer-counter";
+                                       status = "disabled";
+                               };
+
                                timer@6 {
                                        compatible = "st,stm32h7-timer-trigger";
                                        reg = <6>;
                                access-controllers = <&etzpc 22>;
                                status = "disabled";
 
+                               counter {
+                                       compatible = "st,stm32-timer-counter";
+                                       status = "disabled";
+                               };
+
                                pwm {
                                        compatible = "st,stm32-pwm";
                                        #pwm-cells = <3>;
                                access-controllers = <&etzpc 23>;
                                status = "disabled";
 
+                               counter {
+                                       compatible = "st,stm32-timer-counter";
+                                       status = "disabled";
+                               };
+
                                pwm {
                                        compatible = "st,stm32-pwm";
                                        #pwm-cells = <3>;
                                access-controllers = <&etzpc 24>;
                                status = "disabled";
 
+                               counter {
+                                       compatible = "st,stm32-timer-counter";
+                                       status = "disabled";
+                               };
+
                                pwm {
                                        compatible = "st,stm32-pwm";
                                        #pwm-cells = <3>;
                                access-controllers = <&etzpc 54>;
                                status = "disabled";
 
+                               counter {
+                                       compatible = "st,stm32-timer-counter";
+                                       status = "disabled";
+                               };
+
                                pwm {
                                        compatible = "st,stm32-pwm";
                                        #pwm-cells = <3>;
                                access-controllers = <&etzpc 55>;
                                status = "disabled";
 
+                               counter {
+                                       compatible = "st,stm32-timer-counter";
+                                       status = "disabled";
+                               };
+
                                pwm {
                                        compatible = "st,stm32-pwm";
                                        #pwm-cells = <3>;
                                        status = "disabled";
                                };
+
                                timer@15 {
                                        compatible = "st,stm32h7-timer-trigger";
                                        reg = <15>;
                                access-controllers = <&etzpc 56>;
                                status = "disabled";
 
+                               counter {
+                                       compatible = "st,stm32-timer-counter";
+                                       status = "disabled";
+                               };
+
                                pwm {
                                        compatible = "st,stm32-pwm";
                                        #pwm-cells = <3>;