* [PATCH] ARM: dts: omap54xx-clocks: Fix the l3 and l4 clock rates
@ 2014-08-26 8:51 Tero Kristo
2014-08-26 9:47 ` Tomi Valkeinen
0 siblings, 1 reply; 3+ messages in thread
From: Tero Kristo @ 2014-08-26 8:51 UTC (permalink / raw)
To: linux-arm-kernel
Similarly to DRA7, OMAP5 has l3 and l4 clock rates incorrectly calculated.
Fixed by using proper divider clock types for the clock nodes.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
arch/arm/boot/dts/omap54xx-clocks.dtsi | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/omap54xx-clocks.dtsi b/arch/arm/boot/dts/omap54xx-clocks.dtsi
index e67a23b..58c2746 100644
--- a/arch/arm/boot/dts/omap54xx-clocks.dtsi
+++ b/arch/arm/boot/dts/omap54xx-clocks.dtsi
@@ -367,10 +367,12 @@
l3_iclk_div: l3_iclk_div {
#clock-cells = <0>;
- compatible = "fixed-factor-clock";
+ compatible = "ti,divider-clock";
+ ti,max-div = <2>;
+ ti,bit-shift = <4>;
+ reg = <0x100>;
clocks = <&dpll_core_h12x2_ck>;
- clock-mult = <1>;
- clock-div = <1>;
+ ti,index-power-of-two;
};
gpu_l3_iclk: gpu_l3_iclk {
@@ -383,10 +385,12 @@
l4_root_clk_div: l4_root_clk_div {
#clock-cells = <0>;
- compatible = "fixed-factor-clock";
+ compatible = "ti,divider-clock";
+ ti,max-div = <2>;
+ ti,bit-shift = <8>;
+ reg = <0x100>;
clocks = <&l3_iclk_div>;
- clock-mult = <1>;
- clock-div = <1>;
+ ti,index-power-of-two;
};
slimbus1_slimbus_clk: slimbus1_slimbus_clk {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: omap54xx-clocks: Fix the l3 and l4 clock rates
2014-08-26 8:51 [PATCH] ARM: dts: omap54xx-clocks: Fix the l3 and l4 clock rates Tero Kristo
@ 2014-08-26 9:47 ` Tomi Valkeinen
2014-08-26 20:54 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: Tomi Valkeinen @ 2014-08-26 9:47 UTC (permalink / raw)
To: linux-arm-kernel
On 26/08/14 11:51, Tero Kristo wrote:
> Similarly to DRA7, OMAP5 has l3 and l4 clock rates incorrectly calculated.
> Fixed by using proper divider clock types for the clock nodes.
>
> Signed-off-by: Tero Kristo <t-kristo@ti.com>
> Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
> ---
> arch/arm/boot/dts/omap54xx-clocks.dtsi | 16 ++++++++++------
> 1 file changed, 10 insertions(+), 6 deletions(-)
Tested-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140826/a0294f6b/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: omap54xx-clocks: Fix the l3 and l4 clock rates
2014-08-26 9:47 ` Tomi Valkeinen
@ 2014-08-26 20:54 ` Tony Lindgren
0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2014-08-26 20:54 UTC (permalink / raw)
To: linux-arm-kernel
* Tomi Valkeinen <tomi.valkeinen@ti.com> [140826 02:48]:
> On 26/08/14 11:51, Tero Kristo wrote:
> > Similarly to DRA7, OMAP5 has l3 and l4 clock rates incorrectly calculated.
> > Fixed by using proper divider clock types for the clock nodes.
> >
> > Signed-off-by: Tero Kristo <t-kristo@ti.com>
> > Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
> > ---
> > arch/arm/boot/dts/omap54xx-clocks.dtsi | 16 ++++++++++------
> > 1 file changed, 10 insertions(+), 6 deletions(-)
>
> Tested-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Thanks applying into omap-for-v3.17/fixes-v2.
Tony
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-26 20:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-26 8:51 [PATCH] ARM: dts: omap54xx-clocks: Fix the l3 and l4 clock rates Tero Kristo
2014-08-26 9:47 ` Tomi Valkeinen
2014-08-26 20:54 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).