Skip to content

Commit

Permalink
clk: ingenic: Add support for the JZ4760
Browse files Browse the repository at this point in the history
Add the CGU code and the compatible string to the TCU driver to support
the JZ4760 SoC.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20210530164923.18134-7-paul@crapouillou.net
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
pcercuei authored and bebarino committed Jun 28, 2021
1 parent b60b0b5 commit bdbfc02
Show file tree
Hide file tree
Showing 5 changed files with 495 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/clk/ingenic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ config INGENIC_CGU_JZ4725B

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

config INGENIC_CGU_JZ4760
bool "Ingenic JZ4760 CGU driver"
default MACH_JZ4760
select INGENIC_CGU_COMMON
help
Support the clocks provided by the CGU hardware on Ingenic JZ4760
and compatible SoCs.

If building for a JZ4760 SoC, you want to say Y here.

config INGENIC_CGU_JZ4770
bool "Ingenic JZ4770 CGU driver"
default MACH_JZ4770
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/ingenic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
obj-$(CONFIG_INGENIC_CGU_COMMON) += cgu.o pm.o
obj-$(CONFIG_INGENIC_CGU_JZ4740) += jz4740-cgu.o
obj-$(CONFIG_INGENIC_CGU_JZ4725B) += jz4725b-cgu.o
obj-$(CONFIG_INGENIC_CGU_JZ4760) += jz4760-cgu.o
obj-$(CONFIG_INGENIC_CGU_JZ4770) += jz4770-cgu.o
obj-$(CONFIG_INGENIC_CGU_JZ4780) += jz4780-cgu.o
obj-$(CONFIG_INGENIC_CGU_X1000) += x1000-cgu.o
Expand Down

0 comments on commit bdbfc02

Please sign in to comment.