rockchip: Use rockchip_get_clk() to obtain the SoC clock
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jul 2016 21:23:17 +0000 (15:23 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 02:46:45 +0000 (20:46 -0600)
commitc3aad6f65b3fb574e1a73c686d8793dee00c5819
tree9436bf465e9a3efb1464e7449db9effe2d217874
parenta617c5d3e2c22355ee9abc455bbb0b36e124a00a
rockchip: Use rockchip_get_clk() to obtain the SoC clock

The current code picks the first available clock. In U-Boot proper this is
the oscillator device, not the SoC clock device. As a result the HDMI display
does not work.

Fix this by calling rockchip_get_clk() instead.

Fixes: 135aa950 (clk: convert API to match reset/mailbox style)
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
arch/arm/mach-rockchip/board.c
arch/arm/mach-rockchip/rk3288-board-spl.c
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
drivers/clk/clk_rk3288.c
drivers/video/rockchip/rk_vop.c