diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-04-03 17:50:09 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-09 13:46:31 +0200 |
commit | 2bb4b70b1dbb45f0c1a3ba98066e6635d8aa3fe0 (patch) | |
tree | 46a5a30942800d75aa72ccfb4890568d6f610359 /arch/arm/boot/dts/imx6qdl.dtsi | |
parent | ARM: imx35 Bugfix admux clock (diff) | |
download | linux-2bb4b70b1dbb45f0c1a3ba98066e6635d8aa3fe0.tar.xz linux-2bb4b70b1dbb45f0c1a3ba98066e6635d8aa3fe0.zip |
ARM: imx: provide twd clock lookup from device tree
While booting from device tree, imx6q used to provide twd clock lookup
by calling clk_register_clkdev() in clock driver. However, the commit
bd60345 (ARM: use device tree to get smp_twd clock) forces DT boot to
look up the clock from device tree. It causes the failure below when
twd driver tries to get the clock, and hence kernel has to calibrate the
local timer frequency.
smp_twd: clock not found -2
...
Calibrating local timer... 396.13MHz.
Fix the regression by providing twd clock lookup from device tree, and
remove the unused twd clk_register_clkdev() call from clock driver.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 06ec460b4581..281a223591ff 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -91,6 +91,7 @@ compatible = "arm,cortex-a9-twd-timer"; reg = <0x00a00600 0x20>; interrupts = <1 13 0xf01>; + clocks = <&clks 15>; }; L2: l2-cache@00a02000 { |