Skip to content
Snippets Groups Projects
Commit 0b374c8d authored by huang lin's avatar huang lin Committed by Simon Glass
Browse files

rockchip: rk3036: Add a simple syscon driver


Add a driver that provides access to system controllers

Signed-off-by: default avatarLin Huang <hl@rock-chips.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 2bc00e01
No related branches found
No related tags found
No related merge requests found
......@@ -6,5 +6,5 @@
ifndef CONFIG_SPL_BUILD
obj-y += reset_rk3036.o
obj-y += syscon_rk3036.o
endif
/*
* (C) Copyright 2015 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 rk3036_syscon_ids[] = {
{ .compatible = "rockchip,rk3036-grf", .data = ROCKCHIP_SYSCON_GRF },
{ }
};
U_BOOT_DRIVER(syscon_rk3036) = {
.name = "rk3036_syscon",
.id = UCLASS_SYSCON,
.of_match = rk3036_syscon_ids,
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment