Skip to content

Commit d9c3f98

Browse files
committed
arm64: dts: rockchip: px30: xin32k use the fixed clk
If xin32k use the rk808_clkout1, rk808 init is too late, xin32k enable count and prepare count is not match with it's child clk. Change-Id: Iec5d1f91b2289b18f41b4d915e6859154a5b7635 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
1 parent 0813f9a commit d9c3f98

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

arch/arm64/boot/dts/rockchip/px30-evb-ddr3-v10.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
rockchip,system-power-controller;
292292
wakeup-source;
293293
#clock-cells = <1>;
294-
clock-output-names = "xin32k", "rk808-clkout2";
294+
clock-output-names = "rk808-clkout1", "rk808-clkout2";
295295

296296
vcc1-supply = <&vcc5v0_sys>;
297297
vcc2-supply = <&vcc5v0_sys>;

arch/arm64/boot/dts/rockchip/px30-evb-ddr4-v10.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
rockchip,system-power-controller;
292292
wakeup-source;
293293
#clock-cells = <1>;
294-
clock-output-names = "xin32k", "rk808-clkout2";
294+
clock-output-names = "rk808-clkout1", "rk808-clkout2";
295295

296296
vcc1-supply = <&vcc5v0_sys>;
297297
vcc2-supply = <&vcc5v0_sys>;

arch/arm64/boot/dts/rockchip/px30.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@
153153
clock-output-names = "xin24m";
154154
};
155155

156+
xin32k: xin32k {
157+
compatible = "fixed-clock";
158+
#clock-cells = <0>;
159+
clock-frequency = <32768>;
160+
clock-output-names = "xin32k";
161+
};
162+
156163
pmu: power-management@ff000000 {
157164
compatible = "rockchip,px30-pmu", "syscon", "simple-mfd";
158165
reg = <0x0 0xff000000 0x0 0x1000>;

arch/arm64/boot/dts/rockchip/rk3326-863-lp3-v10.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
rockchip,system-power-controller;
257257
wakeup-source;
258258
#clock-cells = <1>;
259-
clock-output-names = "xin32k", "rk808-clkout2";
259+
clock-output-names = "rk808-clkout1", "rk808-clkout2";
260260

261261
vcc1-supply = <&vccsys>;
262262
vcc2-supply = <&vccsys>;

arch/arm64/boot/dts/rockchip/rk3326-evb-lp3-v10.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
rockchip,system-power-controller;
351351
wakeup-source;
352352
#clock-cells = <1>;
353-
clock-output-names = "xin32k", "rk808-clkout2";
353+
clock-output-names = "rk808-clkout1", "rk808-clkout2";
354354

355355
vcc1-supply = <&vccsys>;
356356
vcc2-supply = <&vccsys>;

0 commit comments

Comments
 (0)