1 /*
2  * Copyright (C) 2015 Google, Inc
3  * Written by Simon Glass <sjg@chromium.org>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #include <common.h>
9 #include <dm.h>
10 #include <syscon.h>
11 #include <asm/arch/clock.h>
12 
13 int rockchip_get_clk(struct udevice **devp)
14 {
15 	return uclass_get_device_by_driver(UCLASS_CLK,
16 			DM_GET_DRIVER(rockchip_rk3288_cru), devp);
17 }
18