blob: 2099e349c16f723996d528894bd4662b6240932e [file] [log] [blame]
Simon Glass156b9602016-07-17 15:23:16 -06001/*
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
13int 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}