1# SPDX-License-Identifier: GPL-2.0-only
2menu "Ingenic SoCs drivers"
3	depends on MIPS || COMPILE_TEST
4
5config INGENIC_CGU_COMMON
6	bool
7
8config INGENIC_CGU_JZ4740
9	bool "Ingenic JZ4740 CGU driver"
10	default MACH_JZ4740
11	select INGENIC_CGU_COMMON
12	help
13	  Support the clocks provided by the CGU hardware on Ingenic JZ4740
14	  and compatible SoCs.
15
16	  If building for a JZ4740 SoC, you want to say Y here.
17
18config INGENIC_CGU_JZ4755
19	bool "Ingenic JZ4755 CGU driver"
20	default MACH_JZ4755
21	select INGENIC_CGU_COMMON
22	help
23	  Support the clocks provided by the CGU hardware on Ingenic JZ4755
24	  and compatible SoCs.
25
26	  If building for a JZ4755 SoC, you want to say Y here.
27
28config INGENIC_CGU_JZ4725B
29	bool "Ingenic JZ4725B CGU driver"
30	default MACH_JZ4725B
31	select INGENIC_CGU_COMMON
32	help
33	  Support the clocks provided by the CGU hardware on Ingenic JZ4725B
34	  and compatible SoCs.
35
36	  If building for a JZ4725B SoC, you want to say Y here.
37
38config INGENIC_CGU_JZ4760
39	bool "Ingenic JZ4760 CGU driver"
40	default MACH_JZ4760
41	select INGENIC_CGU_COMMON
42	help
43	  Support the clocks provided by the CGU hardware on Ingenic JZ4760
44	  and compatible SoCs.
45
46	  If building for a JZ4760 SoC, you want to say Y here.
47
48config INGENIC_CGU_JZ4770
49	bool "Ingenic JZ4770 CGU driver"
50	default MACH_JZ4770
51	select INGENIC_CGU_COMMON
52	help
53	  Support the clocks provided by the CGU hardware on Ingenic JZ4770
54	  and compatible SoCs.
55
56	  If building for a JZ4770 SoC, you want to say Y here.
57
58config INGENIC_CGU_JZ4780
59	bool "Ingenic JZ4780 CGU driver"
60	default MACH_JZ4780
61	select INGENIC_CGU_COMMON
62	help
63	  Support the clocks provided by the CGU hardware on Ingenic JZ4780
64	  and compatible SoCs.
65
66	  If building for a JZ4780 SoC, you want to say Y here.
67
68config INGENIC_CGU_X1000
69	bool "Ingenic X1000 CGU driver"
70	default MACH_X1000
71	select INGENIC_CGU_COMMON
72	help
73	  Support the clocks provided by the CGU hardware on Ingenic X1000
74	  and compatible SoCs.
75
76	  If building for a X1000 SoC, you want to say Y here.
77
78config INGENIC_CGU_X1830
79	bool "Ingenic X1830 CGU driver"
80	default MACH_X1830
81	select INGENIC_CGU_COMMON
82	help
83	  Support the clocks provided by the CGU hardware on Ingenic X1830
84	  and compatible SoCs.
85
86	  If building for a X1830 SoC, you want to say Y here.
87
88config INGENIC_TCU_CLK
89	bool "Ingenic JZ47xx TCU clocks driver"
90	default MACH_INGENIC
91	select MFD_SYSCON
92	help
93	  Support the clocks of the Timer/Counter Unit (TCU) of the Ingenic
94	  JZ47xx SoCs.
95
96endmenu
97