Skip to contentSkip to conversation

ARM: dts: da850: Add power-domains to CPPI 4.1 node

PATCH New Sekhar Nori 3 participants 4 messages Jul 4, 2018 – Jul 10, 2018 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: da850: Add power-domains to CPPI 4.1 node

This adds the power-domains property to CPPI 4.1 node.

The CPPI 4.1 DMA driver uses pm_runtime to manage the clocks, so it needs this property in order to find and enable the clock properly.

---
Applies for v4.19/dt branch of my tree.

 arch/arm/boot/dts/da850.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/da850.dtsi +1 -0
index 9e05a5a709c0..07f215e7e5b8 100644
@@ -637,6 +637,7 @@
 				interrupts = <58>;
 				#dma-cells = <2>;
 				#dma-channels = <4>;
+				power-domains = <&psc1 1>;
 				status = "okay";
 			};
 		};
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/1 ARM: dts: da850: Add power-domains to CPPI 4.1 node

Quoted 19 lines · Sekhar Nori

This adds the power-domains property to CPPI 4.1 node.

The CPPI 4.1 DMA driver uses pm_runtime to manage the clocks, so it needs this property in order to find and enable the clock properly.

---
Applies for v4.19/dt branch of my tree.

  arch/arm/boot/dts/da850.dtsi | 1 +
  1 file changed, 1 insertion(+)
arch/arm/boot/dts/da850.dtsi +0 -0
index 9e05a5a709c0..07f215e7e5b8 100644

arch/arm/boot/dts/da850.dtsi line 643

Quoted 7 lines
arch/arm/boot/dts/da850.dtsi +1 -0
@@ -637,6 +637,7 @@
  				interrupts = <58>;
  				#dma-cells = <2>;
  				#dma-channels = <4>;
+				power-domains = <&psc1 1>;
  				status = "okay";
  			};
  		};

Although this has me wondering if we can now remove the clock-ranges property in the parent node.

#3 lore raw

PATCH 1/1 ARM: dts: da850: Add power-domains to CPPI 4.1 node

In reply to Sekhar Nori

2018-07-04 11:44 GMT+02:00 Sekhar Nori <[email protected]>:

Quoted 26 lines

This adds the power-domains property to CPPI 4.1 node.

The CPPI 4.1 DMA driver uses pm_runtime to manage the clocks, so it needs this property in order to find and enable the clock properly.

---
Applies for v4.19/dt branch of my tree.

 arch/arm/boot/dts/da850.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/da850.dtsi +1 -1
index 9e05a5a709c0..07f215e7e5b8 100644
@@ -637,6 +637,7 @@
                                interrupts = <58>;
                                #dma-cells = <2>;
                                #dma-channels = <4>;
+                               power-domains = <&psc1 1>;
                                status = "okay";
                        };
                };
--
Quoted 2 lines

2.16.2

#2 lore raw

PATCH 1/1 ARM: dts: da850: Add power-domains to CPPI 4.1 node

In reply to David Lechner
Quoted 14 lines · David Lechner
Quoted 13 lines · Sekhar Nori

This adds the power-domains property to CPPI 4.1 node.

The CPPI 4.1 DMA driver uses pm_runtime to manage the clocks, so it needs this property in order to find and enable the clock properly.

---
Applies for v4.19/dt branch of my tree.

? arch/arm/boot/dts/da850.dtsi | 1 +
? 1 file changed, 1 insertion(+)

Quoted 15 lines

arch/arm/boot/dts/da850.dtsi line 643

Quoted 13 lines
arch/arm/boot/dts/da850.dtsi +1 -0
index 9e05a5a709c0..07f215e7e5b8 100644
@@ -637,6 +637,7 @@
 ????????????????? interrupts = <58>;
 ????????????????? #dma-cells = <2>;
 ????????????????? #dma-channels = <4>;
+??????????????? power-domains = <&psc1 1>;
 ????????????????? status = "okay";
 ????????????? };
 ????????? };

Thanks, applied with this and Bartosz's Tested-by.

Quoted 2 lines

Although this has me wondering if we can now remove the clock-ranges property in the parent node.

Agree its not really used. But probably leave it there since its correct anyway and we don't want to add it back if the DMA driver needs access to clock at some point.

Thanks,
Sekhar