Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f89e4b

Browse files
pcercueipaulburton
authored andcommitted
clk: ingenic: Add driver for the TCU clocks
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]
1 parent 39233b7 commit 4f89e4b

File tree

3 files changed

+484
-1
lines changed

3 files changed

+484
-1
lines changed

drivers/clk/ingenic/Kconfig

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
menu "Ingenic JZ47xx CGU drivers"
2+
menu "Ingenic SoCs drivers"
33
depends on MIPS
44

55
config INGENIC_CGU_COMMON
@@ -45,4 +45,12 @@ config INGENIC_CGU_JZ4780
4545

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

48+
config INGENIC_TCU_CLK
49+
bool "Ingenic JZ47xx TCU clocks driver"
50+
default MACH_INGENIC
51+
select MFD_SYSCON
52+
help
53+
Support the clocks of the Timer/Counter Unit (TCU) of the Ingenic
54+
JZ47xx SoCs.
55+
4856
endmenu

drivers/clk/ingenic/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ obj-$(CONFIG_INGENIC_CGU_JZ4740) += jz4740-cgu.o
44
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
7+
obj-$(CONFIG_INGENIC_TCU_CLK) += tcu.o

0 commit comments

Comments
 (0)