Re: [PATCH 2/2] ARM: DTS: omap54xx-clocks: Correct abe_iclk clock node

2014-05-19 Thread Tero Kristo

On 04/30/2014 03:31 PM, Tero Kristo wrote:

On 04/30/2014 02:41 PM, Peter Ujfalusi wrote:

abe_iclk's parent is aess_fclk and not abe_clk.
Also correct the parameters for clock rate calculation as used for OMAP4
since in PRCM level there's no difference between the two platform
regarding to AESS/ABE clocking.

Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com


Acked-by: Tero Kristo t-kri...@ti.com


Queued also for 3.15-rc/clk-dt.

-Tero




---
  arch/arm/boot/dts/omap54xx-clocks.dtsi | 9 +
  1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/omap54xx-clocks.dtsi
b/arch/arm/boot/dts/omap54xx-clocks.dtsi
index d784ff5d3904..86fc507a0567 100644
--- a/arch/arm/boot/dts/omap54xx-clocks.dtsi
+++ b/arch/arm/boot/dts/omap54xx-clocks.dtsi
@@ -143,10 +143,11 @@

  abe_iclk: abe_iclk {
  #clock-cells = 0;
-compatible = fixed-factor-clock;
-clocks = abe_clk;
-clock-mult = 1;
-clock-div = 2;
+compatible = ti,divider-clock;
+clocks = aess_fclk;
+ti,bit-shift = 24;
+reg = 0x0528;
+ti,dividers = 2, 1;
  };

  abe_lp_clk_div: abe_lp_clk_div {





--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 2/2] ARM: DTS: omap54xx-clocks: Correct abe_iclk clock node

2014-04-30 Thread Peter Ujfalusi
abe_iclk's parent is aess_fclk and not abe_clk.
Also correct the parameters for clock rate calculation as used for OMAP4
since in PRCM level there's no difference between the two platform
regarding to AESS/ABE clocking.

Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com
---
 arch/arm/boot/dts/omap54xx-clocks.dtsi | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/omap54xx-clocks.dtsi 
b/arch/arm/boot/dts/omap54xx-clocks.dtsi
index d784ff5d3904..86fc507a0567 100644
--- a/arch/arm/boot/dts/omap54xx-clocks.dtsi
+++ b/arch/arm/boot/dts/omap54xx-clocks.dtsi
@@ -143,10 +143,11 @@
 
abe_iclk: abe_iclk {
#clock-cells = 0;
-   compatible = fixed-factor-clock;
-   clocks = abe_clk;
-   clock-mult = 1;
-   clock-div = 2;
+   compatible = ti,divider-clock;
+   clocks = aess_fclk;
+   ti,bit-shift = 24;
+   reg = 0x0528;
+   ti,dividers = 2, 1;
};
 
abe_lp_clk_div: abe_lp_clk_div {
-- 
1.9.2

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/2] ARM: DTS: omap54xx-clocks: Correct abe_iclk clock node

2014-04-30 Thread Tero Kristo

On 04/30/2014 02:41 PM, Peter Ujfalusi wrote:

abe_iclk's parent is aess_fclk and not abe_clk.
Also correct the parameters for clock rate calculation as used for OMAP4
since in PRCM level there's no difference between the two platform
regarding to AESS/ABE clocking.

Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com


Acked-by: Tero Kristo t-kri...@ti.com


---
  arch/arm/boot/dts/omap54xx-clocks.dtsi | 9 +
  1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/omap54xx-clocks.dtsi 
b/arch/arm/boot/dts/omap54xx-clocks.dtsi
index d784ff5d3904..86fc507a0567 100644
--- a/arch/arm/boot/dts/omap54xx-clocks.dtsi
+++ b/arch/arm/boot/dts/omap54xx-clocks.dtsi
@@ -143,10 +143,11 @@

abe_iclk: abe_iclk {
#clock-cells = 0;
-   compatible = fixed-factor-clock;
-   clocks = abe_clk;
-   clock-mult = 1;
-   clock-div = 2;
+   compatible = ti,divider-clock;
+   clocks = aess_fclk;
+   ti,bit-shift = 24;
+   reg = 0x0528;
+   ti,dividers = 2, 1;
};

abe_lp_clk_div: abe_lp_clk_div {



--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html