Skip to content

Commit 524353e

Browse files
Icenowymripard
authored andcommitted
clk: sunxi-ng: add support for the Allwinner H6 CCU
The Allwinner H6 SoC has a CCU which has been largely rearranged. Add support for it in the sunxi-ng CCU framework. Signed-off-by: Icenowy Zheng <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
1 parent 2e08e4d commit 524353e

File tree

6 files changed

+1466
-0
lines changed

6 files changed

+1466
-0
lines changed

drivers/clk/sunxi-ng/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ config SUN50I_A64_CCU
1111
default ARM64 && ARCH_SUNXI
1212
depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
1313

14+
config SUN50I_H6_CCU
15+
bool "Support for the Allwinner H6 CCU"
16+
default ARM64 && ARCH_SUNXI
17+
depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
18+
1419
config SUN4I_A10_CCU
1520
bool "Support for the Allwinner A10/A20 CCU"
1621
default MACH_SUN4I

drivers/clk/sunxi-ng/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ lib-$(CONFIG_SUNXI_CCU) += ccu_mp.o
2222

2323
# SoC support
2424
obj-$(CONFIG_SUN50I_A64_CCU) += ccu-sun50i-a64.o
25+
obj-$(CONFIG_SUN50I_H6_CCU) += ccu-sun50i-h6.o
2526
obj-$(CONFIG_SUN4I_A10_CCU) += ccu-sun4i-a10.o
2627
obj-$(CONFIG_SUN5I_CCU) += ccu-sun5i.o
2728
obj-$(CONFIG_SUN6I_A31_CCU) += ccu-sun6i-a31.o

0 commit comments

Comments
 (0)