Skip to contentSkip to conversation

ARM: keystone: dts: fix netcp clocks and add names

PATCH In review Grygorii Strashko 2 participants 3 messages Dec 8, 2016 – Dec 23, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: keystone: dts: fix netcp clocks and add names

From: Murali Karicheri <[email protected]>

Fix the pa clock to point to the clkpa which has clock rate of 1/3 of PA PLL clock and add clock names.

---
 arch/arm/boot/dts/keystone-k2e-netcp.dtsi  | 3 ++-
 arch/arm/boot/dts/keystone-k2hk-netcp.dtsi | 3 ++-
 arch/arm/boot/dts/keystone-k2l-netcp.dtsi  | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
arch/arm/boot/dts/keystone-k2e-netcp.dtsi +2 -1
index ac990f6..ba828cb 100644
@@ -138,7 +138,8 @@ netcp: netcp at 24000000 {
 	/* NetCP address range */
 	ranges = <0 0x24000000 0x1000000>;
 
-	clocks = <&papllclk>, <&clkcpgmac>, <&chipclk12>;
+	clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>;
+	clock-names = "pa_clk", "ethss_clk", "cpts";
 	dma-coherent;
 
 	ti,navigator-dmas = <&dma_gbe 0>,
arch/arm/boot/dts/keystone-k2hk-netcp.dtsi +2 -1
index f86d6dd..a5ac845 100644
@@ -155,7 +155,8 @@ netcp: netcp at 2000000 {
 	/* NetCP address range */
 	ranges  = <0 0x2000000 0x100000>;
 
-	clocks = <&papllclk>, <&clkcpgmac>, <&chipclk12>;
+	clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>;
+	clock-names = "pa_clk", "ethss_clk", "cpts";
 	dma-coherent;
 
 	ti,navigator-dmas = <&dma_gbe 22>,
arch/arm/boot/dts/keystone-k2l-netcp.dtsi +2 -1
index 5acbd0d..b6f2682 100644
@@ -137,7 +137,8 @@ netcp: netcp at 26000000 {
 	/* NetCP address range */
 	ranges = <0 0x26000000 0x1000000>;
 
-	clocks = <&clkosr>, <&papllclk>, <&clkcpgmac>, <&chipclk12>;
+	clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>, <&clkosr>;
+	clock-names = "pa_clk", "ethss_clk", "cpts", "osr_clk";
 	dma-coherent;
 
 	ti,navigator-dmas = <&dma_gbe 0>,
Signature · 1 line
2.10.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Grygorii Strashko

From: Murali Karicheri <[email protected]>

Fix the pa clock to point to the clkpa which has clock rate of 1/3 of PA PLL clock and add clock names.

---

Hi Arnd,

Can you please pick this fix as well if possible in your non critical fixes branch ?

Regards,
Santosh

#2 lore raw
Quoted 9 lines · Santosh Shilimkar
Quoted 8 lines · Grygorii Strashko

From: Murali Karicheri <[email protected]>

Fix the pa clock to point to the clkpa which has clock rate of 1/3 of PA PLL clock and add clock names.

---

Quoted 6 lines

Hi Arnd,

Can you please pick this fix as well if possible in your non critical fixes branch ?

Sry, that I'm disturbing you, but was this patch applied somewhere?

Signature · 2 lines
regards,
-grygorii