diff options
author | Samuel Holland <samuel@sholland.org> | 2021-11-18 22:35:44 -0600 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-11-23 10:29:05 +0100 |
commit | 35b97bb941110a20fea1f3125837a98fdf8de054 (patch) | |
tree | 43c24846d0dd9d69b71424490199c70ce8958216 /drivers/clk/sunxi-ng/Kconfig | |
parent | clk: sunxi-ng: gate: Add macros for gates with fixed dividers (diff) | |
download | linux-dev-35b97bb941110a20fea1f3125837a98fdf8de054.tar.xz linux-dev-35b97bb941110a20fea1f3125837a98fdf8de054.zip |
clk: sunxi-ng: Add support for the D1 SoC clocks
The D1 SoC contains a CCU and a R_CCU (PRCM CCU). Add support for them.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211119043545.4010-7-samuel@sholland.org
Diffstat (limited to 'drivers/clk/sunxi-ng/Kconfig')
-rw-r--r-- | drivers/clk/sunxi-ng/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 727ff755eca4..68a94e5af8ed 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -12,6 +12,16 @@ config SUNIV_F1C100S_CCU default MACH_SUNIV depends on MACH_SUNIV || COMPILE_TEST +config SUN20I_D1_CCU + tristate "Support for the Allwinner D1 CCU" + default RISCV && ARCH_SUNXI + depends on (RISCV && ARCH_SUNXI) || COMPILE_TEST + +config SUN20I_D1_R_CCU + tristate "Support for the Allwinner D1 PRCM CCU" + default RISCV && ARCH_SUNXI + depends on (RISCV && ARCH_SUNXI) || COMPILE_TEST + config SUN50I_A64_CCU tristate "Support for the Allwinner A64 CCU" default ARM64 && ARCH_SUNXI |