summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rockchip
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-17 21:23:16 (GMT)
committerSimon Glass <sjg@chromium.org>2016-07-26 02:46:45 (GMT)
commita617c5d3e2c22355ee9abc455bbb0b36e124a00a (patch)
treea9eb407a044c2b5c4f06e0812a33dfb5a9889cfd /arch/arm/include/asm/arch-rockchip
parentc57f806bf2e745c4273dc33c9827781cff46427c (diff)
downloadu-boot-fsl-qoriq-a617c5d3e2c22355ee9abc455bbb0b36e124a00a.tar.xz
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>
Diffstat (limited to 'arch/arm/include/asm/arch-rockchip')
-rw-r--r--arch/arm/include/asm/arch-rockchip/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/clock.h b/arch/arm/include/asm/arch-rockchip/clock.h
index 4bebd62..21edbc2 100644
--- a/arch/arm/include/asm/arch-rockchip/clock.h
+++ b/arch/arm/include/asm/arch-rockchip/clock.h
@@ -67,4 +67,6 @@ struct rk3288_grf;
void rk3288_clk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf);
+int rockchip_get_clk(struct udevice **devp);
+
#endif