mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
b0b3c86521
This patch add driver for: - clock driver including set_rate for cpu, mmc, vop, I2C. - sysreset driver - grf syscon driver Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
20 lines
431 B
C
20 lines
431 B
C
/*
|
|
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <dm.h>
|
|
#include <syscon.h>
|
|
#include <asm/arch/clock.h>
|
|
|
|
static const struct udevice_id rk3399_syscon_ids[] = {
|
|
{ .compatible = "rockchip,rk3399-grf", .data = ROCKCHIP_SYSCON_GRF },
|
|
};
|
|
|
|
U_BOOT_DRIVER(syscon_rk3399) = {
|
|
.name = "rk3399_syscon",
|
|
.id = UCLASS_SYSCON,
|
|
.of_match = rk3399_syscon_ids,
|
|
};
|