summaryrefslogtreecommitdiff
path: root/drivers/clk/sunxi-ng/Kconfig
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2017-04-04 17:50:57 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-04 17:43:52 +0200
commitcdb8b80b60935515b86cfe534f69934b13937052 (patch)
tree8f4a29e2ac0ae9bf3809f06226a4017acb062115 /drivers/clk/sunxi-ng/Kconfig
parentd4879bda912107b137e743b67cf063814191cca7 (diff)
clk: sunxi-ng: add support for PRCM CCUs
SoCs after A31 has a clock controller module in the PRCM part. Support the clock controller module on H3/5 and A64 now. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi-ng/Kconfig')
-rw-r--r--drivers/clk/sunxi-ng/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig
index 213cf64e4fab..056752317aee 100644
--- a/drivers/clk/sunxi-ng/Kconfig
+++ b/drivers/clk/sunxi-ng/Kconfig
@@ -150,4 +150,10 @@ config SUN9I_A80_CCU
default MACH_SUN9I
depends on MACH_SUN9I || COMPILE_TEST
+config SUN8I_R_CCU
+ bool "Support for Allwinner SoCs' PRCM CCUs"
+ select SUNXI_CCU_DIV
+ select SUNXI_CCU_GATE
+ default MACH_SUN8I || (ARCH_SUNXI && ARM64)
+
endif