Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: keystone: fix dt bindings to use post div register for mainpll

All of the keystone devices have a separate register to hold post
divider value for main pll clock. Currently the fixed-postdiv
value used for k2hk/l/e SoCs works by sheer luck as u-boot happens to
use a value of 2 for this. Now that we have fixed this in the pll
clock driver change the dt bindings for the same.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Olof Johansson <olof@lixom.net>

authored by

Murali Karicheri and committed by
Olof Johansson
c1bfa985 a7dae155

+6 -9
+2 -3
arch/arm/boot/dts/k2e-clocks.dtsi
··· 13 13 #clock-cells = <0>; 14 14 compatible = "ti,keystone,main-pll-clock"; 15 15 clocks = <&refclksys>; 16 - reg = <0x02620350 4>, <0x02310110 4>; 17 - reg-names = "control", "multiplier"; 18 - fixed-postdiv = <2>; 16 + reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>; 17 + reg-names = "control", "multiplier", "post-divider"; 19 18 }; 20 19 21 20 papllclk: papllclk@2620358 {
+2 -3
arch/arm/boot/dts/k2hk-clocks.dtsi
··· 22 22 #clock-cells = <0>; 23 23 compatible = "ti,keystone,main-pll-clock"; 24 24 clocks = <&refclksys>; 25 - reg = <0x02620350 4>, <0x02310110 4>; 26 - reg-names = "control", "multiplier"; 27 - fixed-postdiv = <2>; 25 + reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>; 26 + reg-names = "control", "multiplier", "post-divider"; 28 27 }; 29 28 30 29 papllclk: papllclk@2620358 {
+2 -3
arch/arm/boot/dts/k2l-clocks.dtsi
··· 22 22 #clock-cells = <0>; 23 23 compatible = "ti,keystone,main-pll-clock"; 24 24 clocks = <&refclksys>; 25 - reg = <0x02620350 4>, <0x02310110 4>; 26 - reg-names = "control", "multiplier"; 27 - fixed-postdiv = <2>; 25 + reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>; 26 + reg-names = "control", "multiplier", "post-divider"; 28 27 }; 29 28 30 29 papllclk: papllclk@2620358 {