summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap36xx-clocks.dtsi
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2019-10-02 14:06:11 +0200
committerTero Kristo <t-kristo@ti.com>2019-10-31 14:33:26 +0100
commitf5869190667951720f8c1ec4638bff4c682a3a4e (patch)
treed9e823e109aefad2c220ce96caa666213efe9c6d /arch/arm/boot/dts/omap36xx-clocks.dtsi
parentclk: ti: divider: convert to use min,max,mask instead of width (diff)
downloadlinux-f5869190667951720f8c1ec4638bff4c682a3a4e.tar.xz
linux-f5869190667951720f8c1ec4638bff4c682a3a4e.zip
ARM: dts: omap3: fix DPLL4 M4 divider max value
The maximum divider value for DPLL4 M4 divider appears wrong. For most OMAP3 family SoCs this is 16, but it is defined as 32, which is maybe only valid for omap36xx. To avoid any overflows in trying to write this register, set the max to 16 for all omap3 family, except omap36xx. For omap36xx the maximum is set to 31, as it appears value 32 is not working properly. Signed-off-by: Tero Kristo <t-kristo@ti.com> Tested-by: Adam Ford <aford173@gmail.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap36xx-clocks.dtsi')
-rw-r--r--arch/arm/boot/dts/omap36xx-clocks.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap36xx-clocks.dtsi b/arch/arm/boot/dts/omap36xx-clocks.dtsi
index e66fc57ec35d..4e9cc9003594 100644
--- a/arch/arm/boot/dts/omap36xx-clocks.dtsi
+++ b/arch/arm/boot/dts/omap36xx-clocks.dtsi
@@ -105,3 +105,7 @@
<&mcbsp4_ick>, <&uart4_fck>;
};
};
+
+&dpll4_m4_ck {
+ ti,max-div = <31>;
+};