Skip to content

Commit ce1d86d

Browse files
XBurstbebarino
authored andcommitted
clk: Ingenic: Add CGU driver for X1830.
Add support for the clocks provided by the CGU in the Ingenic X1830 SoC, making use of the cgu code to do the heavy lifting. Signed-off-by: 周琰杰 (Zhou Yanjie) <[email protected]> Reviewed-by: Paul Cercueil <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 9a618e6 commit ce1d86d

File tree

3 files changed

+459
-0
lines changed

3 files changed

+459
-0
lines changed

drivers/clk/ingenic/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ config INGENIC_CGU_X1000
5555

5656
If building for a X1000 SoC, you want to say Y here.
5757

58+
config INGENIC_CGU_X1830
59+
bool "Ingenic X1830 CGU driver"
60+
default MACH_X1830
61+
select INGENIC_CGU_COMMON
62+
help
63+
Support the clocks provided by the CGU hardware on Ingenic X1830
64+
and compatible SoCs.
65+
66+
If building for a X1830 SoC, you want to say Y here.
67+
5868
config INGENIC_TCU_CLK
5969
bool "Ingenic JZ47xx TCU clocks driver"
6070
default MACH_INGENIC

drivers/clk/ingenic/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ obj-$(CONFIG_INGENIC_CGU_JZ4725B) += jz4725b-cgu.o
55
obj-$(CONFIG_INGENIC_CGU_JZ4770) += jz4770-cgu.o
66
obj-$(CONFIG_INGENIC_CGU_JZ4780) += jz4780-cgu.o
77
obj-$(CONFIG_INGENIC_CGU_X1000) += x1000-cgu.o
8+
obj-$(CONFIG_INGENIC_CGU_X1830) += x1830-cgu.o
89
obj-$(CONFIG_INGENIC_TCU_CLK) += tcu.o

0 commit comments

Comments
 (0)