All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: da850: Add power-domains to PWM nodes
@ 2018-06-26 15:28 ` David Lechner
  0 siblings, 0 replies; 4+ messages in thread
From: David Lechner @ 2018-06-26 15:28 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm/boot/dts/da850.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index de9a8bea100e..d60198e2ae4e 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -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 {
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: dts: da850: Add power-domains to PWM nodes
@ 2018-06-26 15:28 ` David Lechner
  0 siblings, 0 replies; 4+ messages in thread
From: David Lechner @ 2018-06-26 15:28 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: David Lechner, Sekhar Nori, Kevin Hilman, linux-kernel

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>
---
 arch/arm/boot/dts/da850.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index de9a8bea100e..d60198e2ae4e 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -532,6 +532,7 @@
 			reg = <0x300000 0x2000>;
 			clocks = <&psc1 17>, <&ehrpwm_tbclk>;
 			clock-names = "fck", "tbclk";
+			power-domains = <&psc1 17>;
 			status = "disabled";
 		};
 		ehrpwm1: pwm@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@306000 {
@@ -550,6 +552,7 @@
 			reg = <0x306000 0x80>;
 			clocks = <&psc1 20>;
 			clock-names = "fck";
+			power-domains = <&psc1 20>;
 			status = "disabled";
 		};
 		ecap1: ecap@307000 {
@@ -559,6 +562,7 @@
 			reg = <0x307000 0x80>;
 			clocks = <&psc1 20>;
 			clock-names = "fck";
+			power-domains = <&psc1 20>;
 			status = "disabled";
 		};
 		ecap2: ecap@308000 {
@@ -568,6 +572,7 @@
 			reg = <0x308000 0x80>;
 			clocks = <&psc1 20>;
 			clock-names = "fck";
+			power-domains = <&psc1 20>;
 			status = "disabled";
 		};
 		spi0: spi@41000 {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: dts: da850: Add power-domains to PWM nodes
  2018-06-26 15:28 ` David Lechner
@ 2018-06-27 10:53   ` Sekhar Nori
  -1 siblings, 0 replies; 4+ messages in thread
From: Sekhar Nori @ 2018-06-27 10:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Tuesday 26 June 2018 08:58 PM, David Lechner wrote:
> 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>

Applied for v4.19

Thanks,
Sekhar

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: da850: Add power-domains to PWM nodes
@ 2018-06-27 10:53   ` Sekhar Nori
  0 siblings, 0 replies; 4+ messages in thread
From: Sekhar Nori @ 2018-06-27 10:53 UTC (permalink / raw)
  To: David Lechner, linux-arm-kernel; +Cc: Kevin Hilman, linux-kernel

On Tuesday 26 June 2018 08:58 PM, David Lechner wrote:
> 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>

Applied for v4.19

Thanks,
Sekhar

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-27 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-26 15:28 [PATCH] ARM: dts: da850: Add power-domains to PWM nodes David Lechner
2018-06-26 15:28 ` David Lechner
2018-06-27 10:53 ` Sekhar Nori
2018-06-27 10:53   ` Sekhar Nori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.