1# SPDX-License-Identifier: GPL-2.0
2# common clock support for NXP i.MX SoC family.
3config MXC_CLK
4	tristate "IMX clock"
5	depends on ARCH_MXC || COMPILE_TEST
6
7config MXC_CLK_SCU
8	tristate
9
10config CLK_IMX1
11	def_bool SOC_IMX1
12	select MXC_CLK
13
14config CLK_IMX25
15	def_bool SOC_IMX25
16	select MXC_CLK
17
18config CLK_IMX27
19	def_bool SOC_IMX27
20	select MXC_CLK
21
22config CLK_IMX31
23	def_bool SOC_IMX31
24	select MXC_CLK
25
26config CLK_IMX35
27	def_bool SOC_IMX35
28	select MXC_CLK
29
30config CLK_IMX5
31	def_bool SOC_IMX5
32	select MXC_CLK
33
34config CLK_IMX6Q
35	def_bool SOC_IMX6Q
36	select MXC_CLK
37
38config CLK_IMX6SL
39	def_bool SOC_IMX6SL
40	select MXC_CLK
41
42config CLK_IMX6SLL
43	def_bool SOC_IMX6SLL
44	select MXC_CLK
45
46config CLK_IMX6SX
47	def_bool SOC_IMX6SX
48	select MXC_CLK
49
50config CLK_IMX6UL
51	def_bool SOC_IMX6UL
52	select MXC_CLK
53
54config CLK_IMX7D
55	def_bool SOC_IMX7D
56	select MXC_CLK
57
58config CLK_IMX7ULP
59	def_bool SOC_IMX7ULP
60	select MXC_CLK
61
62config CLK_VF610
63	def_bool SOC_VF610
64	select MXC_CLK
65
66config CLK_IMX8MM
67	tristate "IMX8MM CCM Clock Driver"
68	depends on ARCH_MXC || COMPILE_TEST
69	select MXC_CLK
70	help
71	    Build the driver for i.MX8MM CCM Clock Driver
72
73config CLK_IMX8MN
74	tristate "IMX8MN CCM Clock Driver"
75	depends on ARCH_MXC || COMPILE_TEST
76	select MXC_CLK
77	help
78	    Build the driver for i.MX8MN CCM Clock Driver
79
80config CLK_IMX8MP
81	tristate "IMX8MP CCM Clock Driver"
82	depends on ARCH_MXC || COMPILE_TEST
83	select MXC_CLK
84	help
85	    Build the driver for i.MX8MP CCM Clock Driver
86
87config CLK_IMX8MQ
88	tristate "IMX8MQ CCM Clock Driver"
89	depends on ARCH_MXC || COMPILE_TEST
90	select MXC_CLK
91	help
92	    Build the driver for i.MX8MQ CCM Clock Driver
93
94config CLK_IMX8QXP
95	tristate "IMX8QXP SCU Clock"
96	depends on (ARCH_MXC && ARM64) || COMPILE_TEST
97	depends on IMX_SCU && HAVE_ARM_SMCCC
98	select MXC_CLK_SCU
99	select MXC_CLK
100	help
101	  Build the driver for IMX8QXP SCU based clocks.
102
103config CLK_IMX8ULP
104	tristate "IMX8ULP CCM Clock Driver"
105	depends on ARCH_MXC || COMPILE_TEST
106	select MXC_CLK
107	help
108	    Build the driver for i.MX8ULP CCM Clock Driver
109
110config CLK_IMX93
111	tristate "IMX93 CCM Clock Driver"
112	depends on ARCH_MXC || COMPILE_TEST
113	select MXC_CLK
114	help
115	    Build the driver for i.MX93 CCM Clock Driver
116
117config CLK_IMXRT1050
118	tristate "IMXRT1050 CCM Clock Driver"
119	depends on SOC_IMXRT || COMPILE_TEST
120	select MXC_CLK
121	help
122	    Build the driver for i.MXRT1050 CCM Clock Driver
123