]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: rockchip: Fix DWMMC clocks
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Feb 2018 14:05:54 +0000 (14:05 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 16 Feb 2018 09:45:16 +0000 (10:45 +0100)
commit510ed01d4f4dbd8789c14de643368e3fe1c422c6
tree620f9a7cce8cf1735f4739cb0427d357579636f2
parentff9c0c29f821f310e2cc89d30a1d4771827d90a2
ARM: dts: rockchip: Fix DWMMC clocks

Trying to boot an RK3328 box with an HS200-capable eMMC, I see said eMMC
fail to initialise as it can't run its tuning procedure, because the
sample clock is missing. Upon closer inspection, whilst the clock is
present in the DT, its name is subtly incorrect per the binding, so
__of_clk_get_by_name() never finds it. By inspection, the drive clock
suffers from a similar problem, so has never worked properly either.

This error has propagated across the 32-bit DTs too, so fix those up.

Fixes: 45aeae90608c ("ARM: dts: rockchip: add the sdio/sdmmc node for rk3036")
Fixes: fb78fa6ffb71 ("ARM: dts: rockchip: add core rk3036 dtsi")
Fixes: 8a2ea2158449 ("ARM: dts: rockchip: add core rk3228 dtsi")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3036.dtsi
arch/arm/boot/dts/rk322x.dtsi