2016-12-08 21:12:12

by Grygorii Strashko

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Murali Karicheri <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
---
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(-)

diff --git a/arch/arm/boot/dts/keystone-k2e-netcp.dtsi b/arch/arm/boot/dts/keystone-k2e-netcp.dtsi
index ac990f6..ba828cb 100644
--- a/arch/arm/boot/dts/keystone-k2e-netcp.dtsi
+++ b/arch/arm/boot/dts/keystone-k2e-netcp.dtsi
@@ -138,7 +138,8 @@ netcp: netcp@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>,
diff --git a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
index f86d6dd..a5ac845 100644
--- a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
+++ b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
@@ -155,7 +155,8 @@ netcp: netcp@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>,
diff --git a/arch/arm/boot/dts/keystone-k2l-netcp.dtsi b/arch/arm/boot/dts/keystone-k2l-netcp.dtsi
index 5acbd0d..b6f2682 100644
--- a/arch/arm/boot/dts/keystone-k2l-netcp.dtsi
+++ b/arch/arm/boot/dts/keystone-k2l-netcp.dtsi
@@ -137,7 +137,8 @@ netcp: netcp@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>,
--
2.10.1


2016-12-08 22:13:47

by Santosh Shilimkar

[permalink] [raw]
Subject: Re: [PATCH] ARM: keystone: dts: fix netcp clocks and add names

On 12/8/2016 1:11 PM, Grygorii Strashko wrote:
> 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.
>
> Signed-off-by: Murali Karicheri <[email protected]>
> Signed-off-by: Grygorii Strashko <[email protected]>
> ---
Acked-by: Santosh Shilimkar <[email protected]>

Hi Arnd,

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

Regards,
Santosh

2016-12-23 18:07:36

by Grygorii Strashko

[permalink] [raw]
Subject: Re: [PATCH] ARM: keystone: dts: fix netcp clocks and add names



On 12/08/2016 04:13 PM, Santosh Shilimkar wrote:
> On 12/8/2016 1:11 PM, Grygorii Strashko wrote:
>> 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.
>>
>> Signed-off-by: Murali Karicheri <[email protected]>
>> Signed-off-by: Grygorii Strashko <[email protected]>
>> ---
> Acked-by: Santosh Shilimkar <[email protected]>
>
> 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?

--
regards,
-grygorii