]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: omap3: fix DPLL4 M4 divider max value
authorTero Kristo <t-kristo@ti.com>
Wed, 2 Oct 2019 12:06:11 +0000 (15:06 +0300)
committerTero Kristo <t-kristo@ti.com>
Thu, 31 Oct 2019 13:33:26 +0000 (15:33 +0200)
commitcdac7667fe763bfe2afbf3a123bec2159e89dc04
treed9e823e109aefad2c220ce96caa666213efe9c6d
parent781b4a107bd206eb5e4cb91a1d5d32c92ae72be4
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>
arch/arm/boot/dts/omap36xx-clocks.dtsi
arch/arm/boot/dts/omap3xxx-clocks.dtsi