[U-Boot] [PATCH v2 0/2] rk3399: add soc basic driver support
Kever Yang
kever.yang at rock-chips.com
Fri Jul 29 04:35:24 CEST 2016
This patchset add basic driver like clock, grf, sysreset for rk3399,
and enable clock init in emmc driver.
This patchset has tested on rk3399 evb.
Changes in v2:
- include '_SHIFT_' in '_MASK' MACRO
- fix comment style
- use DIV_ROUND_UP instead of div_round_up
- use uclass_get_device_by_driver in rockchip_get_cru
- implement ofdata_to_platdata for priv->cru init
- update base on comments from Jaehoon Chung
Kever Yang (2):
rk3399: add basic soc driver
mmc: rockchip: add clock init
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 93 +++
arch/arm/mach-rockchip/rk3399/Makefile | 2 +
arch/arm/mach-rockchip/rk3399/reset_rk3399.c | 45 ++
arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 20 +
drivers/clk/Makefile | 1 +
drivers/clk/clk_rk3399.c | 819 ++++++++++++++++++++++++
drivers/mmc/rockchip_sdhci.c | 11 +-
7 files changed, 990 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rk3399.h
create mode 100644 arch/arm/mach-rockchip/rk3399/reset_rk3399.c
create mode 100644 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
create mode 100644 drivers/clk/clk_rk3399.c
--
1.9.1
More information about the U-Boot
mailing list