ARM: dts: da850: Add power-domains to PWM nodes
authorDavid Lechner <david@lechnology.com>
Tue, 26 Jun 2018 15:28:17 +0000 (10:28 -0500)
committerSekhar Nori <nsekhar@ti.com>
Wed, 27 Jun 2018 10:52:33 +0000 (16:22 +0530)
This adds the power-domains property to both the ECAP and EHRPWM PWM
nodes. Both have drivers that use pm_runtime to enable the clocks, so
they need this property in order to find and enable the clock properly.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850.dtsi

index de9a8be..d60198e 100644 (file)
                        reg = <0x300000 0x2000>;
                        clocks = <&psc1 17>, <&ehrpwm_tbclk>;
                        clock-names = "fck", "tbclk";
+                       power-domains = <&psc1 17>;
                        status = "disabled";
                };
                ehrpwm1: pwm@302000 {
                        reg = <0x302000 0x2000>;
                        clocks = <&psc1 17>, <&ehrpwm_tbclk>;
                        clock-names = "fck", "tbclk";
+                       power-domains = <&psc1 17>;
                        status = "disabled";
                };
                ecap0: ecap@306000 {
                        reg = <0x306000 0x80>;
                        clocks = <&psc1 20>;
                        clock-names = "fck";
+                       power-domains = <&psc1 20>;
                        status = "disabled";
                };
                ecap1: ecap@307000 {
                        reg = <0x307000 0x80>;
                        clocks = <&psc1 20>;
                        clock-names = "fck";
+                       power-domains = <&psc1 20>;
                        status = "disabled";
                };
                ecap2: ecap@308000 {
                        reg = <0x308000 0x80>;
                        clocks = <&psc1 20>;
                        clock-names = "fck";
+                       power-domains = <&psc1 20>;
                        status = "disabled";
                };
                spi0: spi@41000 {