mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
Add the clock and reset controller driver for the Rockchip RV1106, based on the vendor kernel from the Luckfox Pico SDK [1] at commit 824b817f8 (a Linux 5.10.160 kernel tree), adapted to the upstream clock framework. The MMC drive and sample phase clocks have their control registers in the GRF region. The CRU provides these clocks itself, using the syscon referenced by the rockchip,grf property as an auxiliary regmap, in the same way as the RK3528. The RV1103 is a package variant of the RV1106 and uses the same CRU. [1] https://github.com/LuckfoxTECH/luckfox-pico Signed-off-by: Simon Glass <sjg@chromium.org> Link: https://patch.msgid.link/20260729133609.3465563-3-sjg@chromium.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
160 lines
3.7 KiB
Plaintext
160 lines
3.7 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
# common clock support for ROCKCHIP SoC family.
|
|
|
|
config COMMON_CLK_ROCKCHIP
|
|
bool "Rockchip clock controller common support"
|
|
depends on ARCH_ROCKCHIP || COMPILE_TEST
|
|
default ARCH_ROCKCHIP
|
|
help
|
|
Say y here to enable common clock controller for Rockchip platforms.
|
|
|
|
if COMMON_CLK_ROCKCHIP
|
|
config CLK_PX30
|
|
bool "Rockchip PX30 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for PX30 Clock Driver.
|
|
|
|
config CLK_RV1103B
|
|
bool "Rockchip RV1103B clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RV1103B Clock Driver.
|
|
|
|
config CLK_RV1106
|
|
bool "Rockchip RV1106 clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RV1106 Clock Driver.
|
|
|
|
config CLK_RV110X
|
|
bool "Rockchip RV110x clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RV110x Clock Driver.
|
|
|
|
config CLK_RV1126
|
|
bool "Rockchip RV1126 clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RV1126 Clock Driver.
|
|
|
|
config CLK_RV1126B
|
|
bool "Rockchip RV1126B clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RV1126B Clock Driver.
|
|
|
|
config CLK_RK3036
|
|
bool "Rockchip RK3036 clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3036 Clock Driver.
|
|
|
|
config CLK_RK312X
|
|
bool "Rockchip RK312x clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK312x Clock Driver.
|
|
|
|
config CLK_RK3188
|
|
bool "Rockchip RK3188 clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3188 Clock Driver.
|
|
|
|
config CLK_RK322X
|
|
bool "Rockchip RK322x clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK322x Clock Driver.
|
|
|
|
config CLK_RK3288
|
|
bool "Rockchip RK3288 clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3288 Clock Driver.
|
|
|
|
config CLK_RK3308
|
|
bool "Rockchip RK3308 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3308 Clock Driver.
|
|
|
|
config CLK_RK3328
|
|
bool "Rockchip RK3328 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3328 Clock Driver.
|
|
|
|
config CLK_RK3368
|
|
bool "Rockchip RK3368 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3368 Clock Driver.
|
|
|
|
config CLK_RK3399
|
|
bool "Rockchip RK3399 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3399 Clock Driver.
|
|
|
|
config CLK_RK3506
|
|
bool "Rockchip RK3506 clock controller support"
|
|
depends on ARM || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3506 Clock Driver.
|
|
|
|
config CLK_RK3528
|
|
bool "Rockchip RK3528 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3528 Clock Controller.
|
|
|
|
config CLK_RK3562
|
|
bool "Rockchip RK3562 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3562 Clock Controller.
|
|
|
|
config CLK_RK3568
|
|
bool "Rockchip RK3568 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3568 Clock Driver.
|
|
|
|
config CLK_RK3576
|
|
bool "Rockchip RK3576 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3576 Clock Driver.
|
|
|
|
config CLK_RK3588
|
|
bool "Rockchip RK3588 clock controller support"
|
|
depends on ARM64 || COMPILE_TEST
|
|
default y
|
|
help
|
|
Build the driver for RK3588 Clock Driver.
|
|
|
|
endif
|