Skip to content

Commit bdbfc02

Browse files
pcercueibebarino
authored andcommitted
clk: ingenic: Add support for the JZ4760
Add the CGU code and the compatible string to the TCU driver to support the JZ4760 SoC. Signed-off-by: Paul Cercueil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent b60b0b5 commit bdbfc02

File tree

5 files changed

+495
-0
lines changed

5 files changed

+495
-0
lines changed

drivers/clk/ingenic/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ config INGENIC_CGU_JZ4725B
2525

2626
If building for a JZ4725B SoC, you want to say Y here.
2727

28+
config INGENIC_CGU_JZ4760
29+
bool "Ingenic JZ4760 CGU driver"
30+
default MACH_JZ4760
31+
select INGENIC_CGU_COMMON
32+
help
33+
Support the clocks provided by the CGU hardware on Ingenic JZ4760
34+
and compatible SoCs.
35+
36+
If building for a JZ4760 SoC, you want to say Y here.
37+
2838
config INGENIC_CGU_JZ4770
2939
bool "Ingenic JZ4770 CGU driver"
3040
default MACH_JZ4770

drivers/clk/ingenic/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
obj-$(CONFIG_INGENIC_CGU_COMMON) += cgu.o pm.o
33
obj-$(CONFIG_INGENIC_CGU_JZ4740) += jz4740-cgu.o
44
obj-$(CONFIG_INGENIC_CGU_JZ4725B) += jz4725b-cgu.o
5+
obj-$(CONFIG_INGENIC_CGU_JZ4760) += jz4760-cgu.o
56
obj-$(CONFIG_INGENIC_CGU_JZ4770) += jz4770-cgu.o
67
obj-$(CONFIG_INGENIC_CGU_JZ4780) += jz4780-cgu.o
78
obj-$(CONFIG_INGENIC_CGU_X1000) += x1000-cgu.o

0 commit comments

Comments
 (0)