Skip to contentSkip to conversation

ARM: dts: da850: Add power-domains to PWM nodes

PATCH In review David Lechner 2 participants 2 messages Jun 26, 2018 – Jun 27, 2018 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: da850: Add power-domains to PWM nodes

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.

---
 arch/arm/boot/dts/da850.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/da850.dtsi +5 -0
index de9a8bea100e..d60198e2ae4e 100644
@@ -532,6 +532,7 @@
 			reg = <0x300000 0x2000>;
 			clocks = <&psc1 17>, <&ehrpwm_tbclk>;
 			clock-names = "fck", "tbclk";
+			power-domains = <&psc1 17>;
 			status = "disabled";
 		};
 		ehrpwm1: pwm at 302000 {
@@ -541,6 +542,7 @@
 			reg = <0x302000 0x2000>;
 			clocks = <&psc1 17>, <&ehrpwm_tbclk>;
 			clock-names = "fck", "tbclk";
+			power-domains = <&psc1 17>;
 			status = "disabled";
 		};
 		ecap0: ecap at 306000 {
@@ -550,6 +552,7 @@
 			reg = <0x306000 0x80>;
 			clocks = <&psc1 20>;
 			clock-names = "fck";
+			power-domains = <&psc1 20>;
 			status = "disabled";
 		};
 		ecap1: ecap at 307000 {
@@ -559,6 +562,7 @@
 			reg = <0x307000 0x80>;
 			clocks = <&psc1 20>;
 			clock-names = "fck";
+			power-domains = <&psc1 20>;
 			status = "disabled";
 		};
 		ecap2: ecap at 308000 {
@@ -568,6 +572,7 @@
 			reg = <0x308000 0x80>;
 			clocks = <&psc1 20>;
 			clock-names = "fck";
+			power-domains = <&psc1 20>;
 			status = "disabled";
 		};
 		spi0: spi at 41000 {
Signature · 1 line
2.17.1
#1 lore raw
Quoted 5 lines · David Lechner

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.

Applied for v4.19

Thanks,
Sekhar