Skip to content

Commit

Permalink
clk: sunxi-ng: Add support for newer sun50i RTCs
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Holland <samuel@sholland.org>
  • Loading branch information
smaeul committed Jun 1, 2021
1 parent 5859dcb commit 6f8f761
Show file tree
Hide file tree
Showing 5 changed files with 419 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/clk/sunxi-ng/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ config SUN50I_H6_R_CCU
default ARM64 && ARCH_SUNXI
depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST

config SUN50I_RTC_CCU
bool "Support for the Allwinner H6/H616/R329/D1 RTC"
default ARCH_SUNXI || SOC_SUNXI
depends on ARCH_SUNXI || SOC_SUNXI || COMPILE_TEST

config SUN4I_A10_CCU
bool "Support for the Allwinner A10/A20 CCU"
default MACH_SUN4I
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/sunxi-ng/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ obj-$(CONFIG_SUN50I_A100_R_CCU) += ccu-sun50i-a100-r.o
obj-$(CONFIG_SUN50I_H6_CCU) += ccu-sun50i-h6.o
obj-$(CONFIG_SUN50I_H616_CCU) += ccu-sun50i-h616.o
obj-$(CONFIG_SUN50I_H6_R_CCU) += ccu-sun50i-h6-r.o
obj-$(CONFIG_SUN50I_RTC_CCU) += ccu-sun50i-rtc.o
obj-$(CONFIG_SUN4I_A10_CCU) += ccu-sun4i-a10.o
obj-$(CONFIG_SUN5I_CCU) += ccu-sun5i.o
obj-$(CONFIG_SUN6I_A31_CCU) += ccu-sun6i-a31.o
Expand Down
Loading

0 comments on commit 6f8f761

Please sign in to comment.