xref: /openbmc/linux/drivers/clk/ingenic/Kconfig (revision ff0d3ae0)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
24f89e4b8SPaul Cercueilmenu "Ingenic SoCs drivers"
3cd94eadeSStephen Boyd	depends on MIPS || COMPILE_TEST
40880fb86SPaul Cercueil
50880fb86SPaul Cercueilconfig INGENIC_CGU_COMMON
60880fb86SPaul Cercueil	bool
70880fb86SPaul Cercueil
80880fb86SPaul Cercueilconfig INGENIC_CGU_JZ4740
90880fb86SPaul Cercueil	bool "Ingenic JZ4740 CGU driver"
100880fb86SPaul Cercueil	default MACH_JZ4740
110880fb86SPaul Cercueil	select INGENIC_CGU_COMMON
120880fb86SPaul Cercueil	help
130880fb86SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4740
140880fb86SPaul Cercueil	  and compatible SoCs.
150880fb86SPaul Cercueil
160880fb86SPaul Cercueil	  If building for a JZ4740 SoC, you want to say Y here.
170880fb86SPaul Cercueil
18*ff0d3ae0SSiarhei Volkauconfig INGENIC_CGU_JZ4755
19*ff0d3ae0SSiarhei Volkau	bool "Ingenic JZ4755 CGU driver"
20*ff0d3ae0SSiarhei Volkau	default MACH_JZ4755
21*ff0d3ae0SSiarhei Volkau	select INGENIC_CGU_COMMON
22*ff0d3ae0SSiarhei Volkau	help
23*ff0d3ae0SSiarhei Volkau	  Support the clocks provided by the CGU hardware on Ingenic JZ4755
24*ff0d3ae0SSiarhei Volkau	  and compatible SoCs.
25*ff0d3ae0SSiarhei Volkau
26*ff0d3ae0SSiarhei Volkau	  If building for a JZ4755 SoC, you want to say Y here.
27*ff0d3ae0SSiarhei Volkau
28226dfa47SPaul Cercueilconfig INGENIC_CGU_JZ4725B
29226dfa47SPaul Cercueil	bool "Ingenic JZ4725B CGU driver"
30226dfa47SPaul Cercueil	default MACH_JZ4725B
31226dfa47SPaul Cercueil	select INGENIC_CGU_COMMON
32226dfa47SPaul Cercueil	help
33226dfa47SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4725B
34226dfa47SPaul Cercueil	  and compatible SoCs.
35226dfa47SPaul Cercueil
36226dfa47SPaul Cercueil	  If building for a JZ4725B SoC, you want to say Y here.
37226dfa47SPaul Cercueil
38bdbfc029SPaul Cercueilconfig INGENIC_CGU_JZ4760
39bdbfc029SPaul Cercueil	bool "Ingenic JZ4760 CGU driver"
40bdbfc029SPaul Cercueil	default MACH_JZ4760
41bdbfc029SPaul Cercueil	select INGENIC_CGU_COMMON
42bdbfc029SPaul Cercueil	help
43bdbfc029SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4760
44bdbfc029SPaul Cercueil	  and compatible SoCs.
45bdbfc029SPaul Cercueil
46bdbfc029SPaul Cercueil	  If building for a JZ4760 SoC, you want to say Y here.
47bdbfc029SPaul Cercueil
480880fb86SPaul Cercueilconfig INGENIC_CGU_JZ4770
490880fb86SPaul Cercueil	bool "Ingenic JZ4770 CGU driver"
500880fb86SPaul Cercueil	default MACH_JZ4770
510880fb86SPaul Cercueil	select INGENIC_CGU_COMMON
520880fb86SPaul Cercueil	help
530880fb86SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4770
540880fb86SPaul Cercueil	  and compatible SoCs.
550880fb86SPaul Cercueil
560880fb86SPaul Cercueil	  If building for a JZ4770 SoC, you want to say Y here.
570880fb86SPaul Cercueil
580880fb86SPaul Cercueilconfig INGENIC_CGU_JZ4780
590880fb86SPaul Cercueil	bool "Ingenic JZ4780 CGU driver"
600880fb86SPaul Cercueil	default MACH_JZ4780
610880fb86SPaul Cercueil	select INGENIC_CGU_COMMON
620880fb86SPaul Cercueil	help
630880fb86SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4780
640880fb86SPaul Cercueil	  and compatible SoCs.
650880fb86SPaul Cercueil
660880fb86SPaul Cercueil	  If building for a JZ4780 SoC, you want to say Y here.
670880fb86SPaul Cercueil
68b9df3997SZhou Yanjieconfig INGENIC_CGU_X1000
69b9df3997SZhou Yanjie	bool "Ingenic X1000 CGU driver"
70b9df3997SZhou Yanjie	default MACH_X1000
71b9df3997SZhou Yanjie	select INGENIC_CGU_COMMON
72b9df3997SZhou Yanjie	help
73b9df3997SZhou Yanjie	  Support the clocks provided by the CGU hardware on Ingenic X1000
74b9df3997SZhou Yanjie	  and compatible SoCs.
75b9df3997SZhou Yanjie
76b9df3997SZhou Yanjie	  If building for a X1000 SoC, you want to say Y here.
77b9df3997SZhou Yanjie
78ce1d86dcS周琰杰 (Zhou Yanjie)config INGENIC_CGU_X1830
79ce1d86dcS周琰杰 (Zhou Yanjie)	bool "Ingenic X1830 CGU driver"
80ce1d86dcS周琰杰 (Zhou Yanjie)	default MACH_X1830
81ce1d86dcS周琰杰 (Zhou Yanjie)	select INGENIC_CGU_COMMON
82ce1d86dcS周琰杰 (Zhou Yanjie)	help
83ce1d86dcS周琰杰 (Zhou Yanjie)	  Support the clocks provided by the CGU hardware on Ingenic X1830
84ce1d86dcS周琰杰 (Zhou Yanjie)	  and compatible SoCs.
85ce1d86dcS周琰杰 (Zhou Yanjie)
86ce1d86dcS周琰杰 (Zhou Yanjie)	  If building for a X1830 SoC, you want to say Y here.
87ce1d86dcS周琰杰 (Zhou Yanjie)
884f89e4b8SPaul Cercueilconfig INGENIC_TCU_CLK
894f89e4b8SPaul Cercueil	bool "Ingenic JZ47xx TCU clocks driver"
904f89e4b8SPaul Cercueil	default MACH_INGENIC
914f89e4b8SPaul Cercueil	select MFD_SYSCON
924f89e4b8SPaul Cercueil	help
934f89e4b8SPaul Cercueil	  Support the clocks of the Timer/Counter Unit (TCU) of the Ingenic
944f89e4b8SPaul Cercueil	  JZ47xx SoCs.
954f89e4b8SPaul Cercueil
960880fb86SPaul Cercueilendmenu
97