summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/Kconfig
diff options
context:
space:
mode:
authorIcenowy Zheng2017-01-19 18:54:45 +0100
committerMaxime Ripard2017-01-20 21:39:03 +0100
commitd0f11d14b0bc673db36e64814ac9cd1a17de09c9 (patch)
tree04947f3856ae9c2eec12237df00afd8f72b9c4a3 /drivers/clk/sunxi-ng/Kconfig
parentdt-bindings: add device binding for the CCU of Allwinner V3s (diff)
downloadkernel-qcow2-linux-d0f11d14b0bc673db36e64814ac9cd1a17de09c9.tar.gz
kernel-qcow2-linux-d0f11d14b0bc673db36e64814ac9cd1a17de09c9.tar.xz
kernel-qcow2-linux-d0f11d14b0bc673db36e64814ac9cd1a17de09c9.zip
clk: sunxi-ng: add support for V3s CCU
V3s has a similar but cut-down CCU to H3. Some muxes, especially clocks about CSI, are different, which makes it to need a new CCU driver. Add such a new driver for it. 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/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig
index 8454c6e3dd65..1ca48255802f 100644
--- a/drivers/clk/sunxi-ng/Kconfig
+++ b/drivers/clk/sunxi-ng/Kconfig
@@ -109,4 +109,15 @@ config SUN8I_H3_CCU
select SUNXI_CCU_PHASE
default MACH_SUN8I
+config SUN8I_V3S_CCU
+ bool "Support for the Allwinner V3s CCU"
+ select SUNXI_CCU_DIV
+ select SUNXI_CCU_NK
+ select SUNXI_CCU_NKM
+ select SUNXI_CCU_NKMP
+ select SUNXI_CCU_NM
+ select SUNXI_CCU_MP
+ select SUNXI_CCU_PHASE
+ default MACH_SUN8I
+
endif