Skip to content

Commit 88dde5e

Browse files
Andre-ARMmripard
authored andcommitted
clk: sunxi-ng: Add support for the Allwinner H616 CCU
While the clocks are fairly similar to the H6, many differ in tiny details, so a separate clock driver seems indicated. Derived from the H6 clock driver, and adjusted according to the manual. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210127172500.13356-4-andre.przywara@arm.com
1 parent 394a36d commit 88dde5e

6 files changed

Lines changed: 1397 additions & 0 deletions

File tree

drivers/clk/sunxi-ng/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ config SUN50I_H6_CCU
3232
default ARM64 && ARCH_SUNXI
3333
depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
3434

35+
config SUN50I_H616_CCU
36+
bool "Support for the Allwinner H616 CCU"
37+
default ARM64 && ARCH_SUNXI
38+
depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
39+
3540
config SUN50I_H6_R_CCU
3641
bool "Support for the Allwinner H6 and H616 PRCM CCU"
3742
default ARM64 && ARCH_SUNXI

drivers/clk/sunxi-ng/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ obj-$(CONFIG_SUN50I_A64_CCU) += ccu-sun50i-a64.o
2626
obj-$(CONFIG_SUN50I_A100_CCU) += ccu-sun50i-a100.o
2727
obj-$(CONFIG_SUN50I_A100_R_CCU) += ccu-sun50i-a100-r.o
2828
obj-$(CONFIG_SUN50I_H6_CCU) += ccu-sun50i-h6.o
29+
obj-$(CONFIG_SUN50I_H616_CCU) += ccu-sun50i-h616.o
2930
obj-$(CONFIG_SUN50I_H6_R_CCU) += ccu-sun50i-h6-r.o
3031
obj-$(CONFIG_SUN4I_A10_CCU) += ccu-sun4i-a10.o
3132
obj-$(CONFIG_SUN5I_CCU) += ccu-sun5i.o

0 commit comments

Comments
 (0)