mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
730a402450
Add the clock driver for the rk3066 platform. Derived from the rk3288 and rk3188 driver it supports only a bare minimum to bring up the system to reduce the TPL size for: SDRAM clock configuration. The boot devices NAND, EMMC, SDMMC, SPI. A UART for the debug messages (fixed) at 115200n8. A SARADC for the recovery button. A TIMER for the delays (fixed). There's support for two possible frequencies, the safe 600MHz which will work with default pmic settings and will be set to get away from the 24MHz default and the maximum of 1.416Ghz, which boards can set if they were able to get pmic support for it. After the clock tree is set during the TPL probe there's no parent update support. In OF_REAL mode the drivers ns16550.c and dw-apb-timer.c obtain the (fixed) clk_get_rate from the clock driver instead of platdata. The rk3066 cru node has a number of assigned-clocks properties that call the .set_rate() function. Add them to the list so that they return a 0 instead of -ENOENT. Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com> Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
19 lines
705 B
Makefile
19 lines
705 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2017 Rockchip Electronics Co., Ltd
|
|
#
|
|
|
|
obj-y += clk_pll.o
|
|
obj-$(CONFIG_ROCKCHIP_PX30) += clk_px30.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += clk_rk3036.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3066) += clk_rk3066.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3128) += clk_rk3128.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3188) += clk_rk3188.o
|
|
obj-$(CONFIG_ROCKCHIP_RK322X) += clk_rk322x.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += clk_rk3288.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3308) += clk_rk3308.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3328) += clk_rk3328.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3368) += clk_rk3368.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3399) += clk_rk3399.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3568) += clk_rk3568.o
|
|
obj-$(CONFIG_ROCKCHIP_RV1108) += clk_rv1108.o
|