]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: rockchip: Fix DWMMC clocks
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Feb 2018 14:05:53 +0000 (14:05 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 16 Feb 2018 09:30:25 +0000 (10:30 +0100)
commit13948a15908267646b200188184d7db1d9fbfce9
treee3ad7456fc42a07a7045c6f40c9e9943626ca0c7
parent50ea58635b41faf005d777b9bb8a37d2f2fb2e2a
arm64: 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.

Fix up all instances of the incorrect clock names across the 64-bit DTs.

Fixes: 73cf587192bb ("arm64: dts: rockchip: add sdmmc/sdio/emmc nodes for RK3328 SoCs")
Fixes: 9aa08797a22e ("arm64: dts: add Rockchip rk3368 core dtsi and board dts for the r88 board")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328.dtsi
arch/arm64/boot/dts/rockchip/rk3368.dtsi