luckfox-pico-sdk/sysdrv/source/kernel/drivers/clk/rockchip/Kconfig
luckfox-eng29 8f34c2760d project:build.sh: Added fastboot support; custom modifications to U-Boot and kernel implemented using patches.
project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between
the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door
for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more
usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp:
Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for
compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem.
sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device
tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately.
sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick
boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades.
sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for
fastboot.

Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
2024-10-14 09:47:04 +08:00

213 lines
5.1 KiB
Plaintext

# SPDX-License-Identifier: GPL-2.0
# common clock support for ROCKCHIP SoC family.
config COMMON_CLK_ROCKCHIP
tristate "Rockchip clock controller common support"
depends on ARCH_ROCKCHIP
default ARCH_ROCKCHIP
help
Say y here to enable common clock controller for Rockchip platforms.
if COMMON_CLK_ROCKCHIP
config CLK_PX30
tristate "Rockchip PX30 clock controller support"
depends on CPU_PX30 || COMPILE_TEST
default y
help
Build the driver for PX30 Clock Driver.
config CLK_RV1106
tristate "Rockchip RV1106 clock controller support"
depends on CPU_RV1106 || COMPILE_TEST
default y
help
Build the driver for RV1106 Clock Driver.
config CLK_RV1108
tristate "Rockchip RV1108 clock controller support"
depends on CPU_RV1108 || COMPILE_TEST
default y
help
Build the driver for RV1108 Clock Driver.
config CLK_RV1126
tristate "Rockchip RV1126 clock controller support"
depends on CPU_RV1126 || COMPILE_TEST
default y
help
Build the driver for RV1126 Clock Driver.
config CLK_RK1808
tristate "Rockchip RK1808 clock controller support"
depends on CPU_RK1808 || COMPILE_TEST
default y
help
Build the driver for RK1808 Clock Driver.
config CLK_RK3036
tristate "Rockchip RK3036 clock controller support"
depends on CPU_RK3036 || COMPILE_TEST
default y
help
Build the driver for RK3036 Clock Driver.
config CLK_RK312X
tristate "Rockchip RK312x clock controller support"
depends on CPU_RK312X || COMPILE_TEST
default y
help
Build the driver for RK312x Clock Driver.
config CLK_RK3188
tristate "Rockchip RK3188 clock controller support"
depends on CPU_RK3188 || COMPILE_TEST
default y
help
Build the driver for RK3188 Clock Driver.
config CLK_RK322X
tristate "Rockchip RK322x clock controller support"
depends on CPU_RK322X || COMPILE_TEST
default y
help
Build the driver for RK322x Clock Driver.
config CLK_RK3288
tristate "Rockchip RK3288 clock controller support"
depends on CPU_RK3288 || COMPILE_TEST
default y
help
Build the driver for RK3288 Clock Driver.
config CLK_RK3308
tristate "Rockchip RK3308 clock controller support"
depends on CPU_RK3308 || COMPILE_TEST
default y
help
Build the driver for RK3308 Clock Driver.
config CLK_RK3328
tristate "Rockchip RK3328 clock controller support"
depends on CPU_RK3328 || COMPILE_TEST
default y
help
Build the driver for RK3328 Clock Driver.
config CLK_RK3368
tristate "Rockchip RK3368 clock controller support"
depends on CPU_RK3368 || COMPILE_TEST
default y
help
Build the driver for RK3368 Clock Driver.
config CLK_RK3399
tristate "Rockchip RK3399 clock controller support"
depends on CPU_RK3399 || COMPILE_TEST
default y
help
Build the driver for RK3399 Clock Driver.
config CLK_RK3528
tristate "Rockchip RK3528 clock controller support"
depends on CPU_RK3528 || COMPILE_TEST
default y
help
Build the driver for RK3528 Clock Driver.
config CLK_RK3562
tristate "Rockchip RK3562 clock controller support"
depends on CPU_RK3562 || COMPILE_TEST
default y
help
Build the driver for RK3562 Clock Driver.
config CLK_RK3568
tristate "Rockchip RK3568 clock controller support"
depends on CPU_RK3568 || COMPILE_TEST
default y
help
Build the driver for RK3568 Clock Driver.
config CLK_RK3588
tristate "Rockchip RK3588 clock controller support"
depends on CPU_RK3588 || COMPILE_TEST
default y
help
Build the driver for RK3588 Clock Driver.
config ROCKCHIP_CLK_COMPENSATION
bool "Rockchip Clk Compensation"
help
Say y here to enable clk compensation(+/- 1000 ppm).
config ROCKCHIP_CLK_LINK
tristate "Rockchip clock link support"
default CLK_RK3562 || CLK_RK3588
help
Say y here to enable clock link for Rockchip.
config ROCKCHIP_CLK_BOOST
bool "Rockchip Clk Boost"
default y if CPU_PX30
help
Say y here to enable clk boost.
config ROCKCHIP_CLK_INV
bool "Rockchip Clk Inverter"
default y if !CPU_RV1126 && !CPU_RV1106
help
Say y here to enable clk Inverter.
config ROCKCHIP_CLK_OUT
tristate "Rockchip Clk Out / Input Switch"
default y if !ROCKCHIP_MINI_KERNEL
help
Say y here to enable clk out / input switch.
config ROCKCHIP_CLK_PVTM
bool "Rockchip Clk Pvtm"
default y if !CPU_RV1126 && !CPU_RV1106
help
Say y here to enable clk pvtm.
config ROCKCHIP_DDRCLK
bool
config ROCKCHIP_DDRCLK_SIP
bool "Rockchip DDR Clk SIP"
default y if CPU_RK3399
select ROCKCHIP_DDRCLK
help
Say y here to enable ddr clk sip.
config ROCKCHIP_DDRCLK_SIP_V2
bool "Rockchip DDR Clk SIP V2"
default y if CPU_PX30 || CPU_RK1808 || CPU_RK312X || CPU_RK322X || \
CPU_RK3288 || CPU_RK3308 || CPU_RK3328 || CPU_RV1126
select ROCKCHIP_DDRCLK
help
Say y here to enable ddr clk sip v2.
config ROCKCHIP_PLL_RK3066
bool "Rockchip PLL Type RK3066"
default y if CPU_RK30XX || CPU_RK3188 || \
CPU_RK3288 || CPU_RK3368
help
Say y here to enable pll type is rk3066.
config ROCKCHIP_PLL_RK3399
bool "Rockchip PLL Type RK3399"
default y if CPU_RK3399 || CPU_RV1108
help
Say y here to enable pll type is rk3399.
config ROCKCHIP_PLL_RK3588
bool "Rockchip PLL Type RK3588"
default y if CPU_RK3588
help
Say y here to enable pll type is rk3588.
source "drivers/clk/rockchip/regmap/Kconfig"
endif