xref: /openbmc/linux/drivers/clk/ingenic/Kconfig (revision bdbfc029)
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
18226dfa47SPaul Cercueilconfig INGENIC_CGU_JZ4725B
19226dfa47SPaul Cercueil	bool "Ingenic JZ4725B CGU driver"
20226dfa47SPaul Cercueil	default MACH_JZ4725B
21226dfa47SPaul Cercueil	select INGENIC_CGU_COMMON
22226dfa47SPaul Cercueil	help
23226dfa47SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4725B
24226dfa47SPaul Cercueil	  and compatible SoCs.
25226dfa47SPaul Cercueil
26226dfa47SPaul Cercueil	  If building for a JZ4725B SoC, you want to say Y here.
27226dfa47SPaul Cercueil
28*bdbfc029SPaul Cercueilconfig INGENIC_CGU_JZ4760
29*bdbfc029SPaul Cercueil	bool "Ingenic JZ4760 CGU driver"
30*bdbfc029SPaul Cercueil	default MACH_JZ4760
31*bdbfc029SPaul Cercueil	select INGENIC_CGU_COMMON
32*bdbfc029SPaul Cercueil	help
33*bdbfc029SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4760
34*bdbfc029SPaul Cercueil	  and compatible SoCs.
35*bdbfc029SPaul Cercueil
36*bdbfc029SPaul Cercueil	  If building for a JZ4760 SoC, you want to say Y here.
37*bdbfc029SPaul Cercueil
380880fb86SPaul Cercueilconfig INGENIC_CGU_JZ4770
390880fb86SPaul Cercueil	bool "Ingenic JZ4770 CGU driver"
400880fb86SPaul Cercueil	default MACH_JZ4770
410880fb86SPaul Cercueil	select INGENIC_CGU_COMMON
420880fb86SPaul Cercueil	help
430880fb86SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4770
440880fb86SPaul Cercueil	  and compatible SoCs.
450880fb86SPaul Cercueil
460880fb86SPaul Cercueil	  If building for a JZ4770 SoC, you want to say Y here.
470880fb86SPaul Cercueil
480880fb86SPaul Cercueilconfig INGENIC_CGU_JZ4780
490880fb86SPaul Cercueil	bool "Ingenic JZ4780 CGU driver"
500880fb86SPaul Cercueil	default MACH_JZ4780
510880fb86SPaul Cercueil	select INGENIC_CGU_COMMON
520880fb86SPaul Cercueil	help
530880fb86SPaul Cercueil	  Support the clocks provided by the CGU hardware on Ingenic JZ4780
540880fb86SPaul Cercueil	  and compatible SoCs.
550880fb86SPaul Cercueil
560880fb86SPaul Cercueil	  If building for a JZ4780 SoC, you want to say Y here.
570880fb86SPaul Cercueil
58b9df3997SZhou Yanjieconfig INGENIC_CGU_X1000
59b9df3997SZhou Yanjie	bool "Ingenic X1000 CGU driver"
60b9df3997SZhou Yanjie	default MACH_X1000
61b9df3997SZhou Yanjie	select INGENIC_CGU_COMMON
62b9df3997SZhou Yanjie	help
63b9df3997SZhou Yanjie	  Support the clocks provided by the CGU hardware on Ingenic X1000
64b9df3997SZhou Yanjie	  and compatible SoCs.
65b9df3997SZhou Yanjie
66b9df3997SZhou Yanjie	  If building for a X1000 SoC, you want to say Y here.
67b9df3997SZhou Yanjie
68ce1d86dcS周琰杰 (Zhou Yanjie)config INGENIC_CGU_X1830
69ce1d86dcS周琰杰 (Zhou Yanjie)	bool "Ingenic X1830 CGU driver"
70ce1d86dcS周琰杰 (Zhou Yanjie)	default MACH_X1830
71ce1d86dcS周琰杰 (Zhou Yanjie)	select INGENIC_CGU_COMMON
72ce1d86dcS周琰杰 (Zhou Yanjie)	help
73ce1d86dcS周琰杰 (Zhou Yanjie)	  Support the clocks provided by the CGU hardware on Ingenic X1830
74ce1d86dcS周琰杰 (Zhou Yanjie)	  and compatible SoCs.
75ce1d86dcS周琰杰 (Zhou Yanjie)
76ce1d86dcS周琰杰 (Zhou Yanjie)	  If building for a X1830 SoC, you want to say Y here.
77ce1d86dcS周琰杰 (Zhou Yanjie)
784f89e4b8SPaul Cercueilconfig INGENIC_TCU_CLK
794f89e4b8SPaul Cercueil	bool "Ingenic JZ47xx TCU clocks driver"
804f89e4b8SPaul Cercueil	default MACH_INGENIC
814f89e4b8SPaul Cercueil	select MFD_SYSCON
824f89e4b8SPaul Cercueil	help
834f89e4b8SPaul Cercueil	  Support the clocks of the Timer/Counter Unit (TCU) of the Ingenic
844f89e4b8SPaul Cercueil	  JZ47xx SoCs.
854f89e4b8SPaul Cercueil
860880fb86SPaul Cercueilendmenu
87