Skip to content

Commit

Permalink
clk: ingenic: Add driver for the TCU clocks
Browse files Browse the repository at this point in the history
Add driver to support the clocks provided by the Timer/Counter Unit
(TCU) of the JZ47xx SoCs from Ingenic.

Signed-off-by: Paul Cercueil <[email protected]>
Tested-by: Mathieu Malaterre <[email protected]>
Tested-by: Artur Rojek <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Michael Turquette <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
  • Loading branch information
pcercuei authored and paulburton committed Aug 8, 2019
1 parent 39233b7 commit 4f89e4b
Show file tree
Hide file tree
Showing 3 changed files with 484 additions and 1 deletion.
10 changes: 9 additions & 1 deletion drivers/clk/ingenic/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
menu "Ingenic JZ47xx CGU drivers"
menu "Ingenic SoCs drivers"
depends on MIPS

config INGENIC_CGU_COMMON
Expand Down Expand Up @@ -45,4 +45,12 @@ config INGENIC_CGU_JZ4780

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

config INGENIC_TCU_CLK
bool "Ingenic JZ47xx TCU clocks driver"
default MACH_INGENIC
select MFD_SYSCON
help
Support the clocks of the Timer/Counter Unit (TCU) of the Ingenic
JZ47xx SoCs.

endmenu
1 change: 1 addition & 0 deletions drivers/clk/ingenic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ obj-$(CONFIG_INGENIC_CGU_JZ4740) += jz4740-cgu.o
obj-$(CONFIG_INGENIC_CGU_JZ4725B) += jz4725b-cgu.o
obj-$(CONFIG_INGENIC_CGU_JZ4770) += jz4770-cgu.o
obj-$(CONFIG_INGENIC_CGU_JZ4780) += jz4780-cgu.o
obj-$(CONFIG_INGENIC_TCU_CLK) += tcu.o
Loading

0 comments on commit 4f89e4b

Please sign in to comment.