Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ Allwinner Clock Control Unit Binding
Required properties :
- compatible: must contain one of the following compatibles:
		- "allwinner,sun6i-a31-ccu"
		- "allwinner,sun8i-a23-ccu"
		- "allwinner,sun8i-a33-ccu"
		- "allwinner,sun8i-h3-ccu"

+12 −0
Original line number Diff line number Diff line
@@ -65,6 +65,18 @@ config SUN6I_A31_CCU
	select SUNXI_CCU_PHASE
	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
	bool "Support for the Allwinner A33 CCU"
	select SUNXI_CCU_DIV
+1 −0
Original line number Diff line number Diff line
@@ -19,5 +19,6 @@ obj-$(CONFIG_SUNXI_CCU_MP) += ccu_mp.o

# SoC support
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_H3_CCU)	+= ccu-sun8i-h3.o
+737 −0

File added.

Preview size limit exceeded, changes collapsed.