mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-10-22 14:04:42 +00:00
18 lines
354 B
C
18 lines
354 B
C
|
/*
|
||
|
* Copyright (C) 2015 Google, Inc
|
||
|
* Written by Simon Glass <sjg@chromium.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0+
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <dm.h>
|
||
|
#include <syscon.h>
|
||
|
#include <asm/arch/clock.h>
|
||
|
|
||
|
int rockchip_get_clk(struct udevice **devp)
|
||
|
{
|
||
|
return uclass_get_device_by_driver(UCLASS_CLK,
|
||
|
DM_GET_DRIVER(rockchip_rk3288_cru), devp);
|
||
|
}
|