Commit 5690879d authored by Maxime Ripard's avatar Maxime Ripard

clk: sunxi-ng: Add A23 CCU

Add support for the clock unit found in the A23. Due to the similarities
with the A33, it also shares its clock IDs to allow sharing the DTSI.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
parent d05c748b
...@@ -4,6 +4,7 @@ Allwinner Clock Control Unit Binding ...@@ -4,6 +4,7 @@ Allwinner Clock Control Unit Binding
Required properties : Required properties :
- compatible: must contain one of the following compatibles: - compatible: must contain one of the following compatibles:
- "allwinner,sun6i-a31-ccu" - "allwinner,sun6i-a31-ccu"
- "allwinner,sun8i-a23-ccu"
- "allwinner,sun8i-a33-ccu" - "allwinner,sun8i-a33-ccu"
- "allwinner,sun8i-h3-ccu" - "allwinner,sun8i-h3-ccu"
......
...@@ -65,6 +65,18 @@ config SUN6I_A31_CCU ...@@ -65,6 +65,18 @@ config SUN6I_A31_CCU
select SUNXI_CCU_PHASE select SUNXI_CCU_PHASE
default MACH_SUN6I default MACH_SUN6I
config SUN8I_A23_CCU
bool "Support for the Allwinner A23 CCU"
select SUNXI_CCU_DIV
select SUNXI_CCU_MULT
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
config SUN8I_A33_CCU config SUN8I_A33_CCU
bool "Support for the Allwinner A33 CCU" bool "Support for the Allwinner A33 CCU"
select SUNXI_CCU_DIV select SUNXI_CCU_DIV
......
...@@ -19,5 +19,6 @@ obj-$(CONFIG_SUNXI_CCU_MP) += ccu_mp.o ...@@ -19,5 +19,6 @@ obj-$(CONFIG_SUNXI_CCU_MP) += ccu_mp.o
# SoC support # SoC support
obj-$(CONFIG_SUN6I_A31_CCU) += ccu-sun6i-a31.o obj-$(CONFIG_SUN6I_A31_CCU) += ccu-sun6i-a31.o
obj-$(CONFIG_SUN8I_A23_CCU) += ccu-sun8i-a23.o
obj-$(CONFIG_SUN8I_A33_CCU) += ccu-sun8i-a33.o obj-$(CONFIG_SUN8I_A33_CCU) += ccu-sun8i-a33.o
obj-$(CONFIG_SUN8I_H3_CCU) += ccu-sun8i-h3.o obj-$(CONFIG_SUN8I_H3_CCU) += ccu-sun8i-h3.o
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment