summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk3288/clk_rk3288.c
Commit message (Collapse)AuthorAgeLines
* rockchip: rk3288: Move rockchip_get_cru() out of the driverSimon Glass2016-10-30-0/+16
| | | | | | | | This function is called from outside the driver. It should be placed into common SoC code. Move it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
* rockchip: Add a way to obtain the main clock deviceSimon Glass2016-07-25-0/+17
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>