rockchip: Add a way to obtain the main clock device
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jul 2016 21:23:16 +0000 (15:23 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 02:46:45 +0000 (20:46 -0600)
commita617c5d3e2c22355ee9abc455bbb0b36e124a00a
treea9eb407a044c2b5c4f06e0812a33dfb5a9889cfd
parentc57f806bf2e745c4273dc33c9827781cff46427c
rockchip: Add a way to obtain the main clock device

On Rockchip SoCs we typically have a main clock device that uses the Soc
clock driver. There is also a fixed clock for the oscillator. Add a function
to obtain the core clock.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/clock.h
arch/arm/mach-rockchip/rk3288/Makefile
arch/arm/mach-rockchip/rk3288/clk_rk3288.c [new file with mode: 0644]