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	select AUXILIARY_BUS if RESET_CONTROLLER
85	help
86	    Build the driver for i.MX8MP CCM Clock Driver
87
88config CLK_IMX8MQ
89	tristate "IMX8MQ CCM Clock Driver"
90	depends on ARCH_MXC || COMPILE_TEST
91	select MXC_CLK
92	help
93	    Build the driver for i.MX8MQ CCM Clock Driver
94
95config CLK_IMX8QXP
96	tristate "IMX8QXP SCU Clock"
97	depends on (ARCH_MXC && ARM64) || COMPILE_TEST
98	depends on IMX_SCU && HAVE_ARM_SMCCC
99	select MXC_CLK_SCU
100	select MXC_CLK
101	help
102	  Build the driver for IMX8QXP SCU based clocks.
103
104config CLK_IMX8ULP
105	tristate "IMX8ULP CCM Clock Driver"
106	depends on ARCH_MXC || COMPILE_TEST
107	select MXC_CLK
108	help
109	    Build the driver for i.MX8ULP CCM Clock Driver
110
111config CLK_IMX93
112	tristate "IMX93 CCM Clock Driver"
113	depends on ARCH_MXC || COMPILE_TEST
114	select MXC_CLK
115	help
116	    Build the driver for i.MX93 CCM Clock Driver
117
118config CLK_IMX95_BLK_CTL
119	tristate "IMX95 Clock Driver for BLK CTL"
120	depends on ARCH_MXC || COMPILE_TEST
121	select MXC_CLK
122	help
123	    Build the clock driver for i.MX95 BLK CTL
124
125config CLK_IMXRT1050
126	tristate "IMXRT1050 CCM Clock Driver"
127	depends on SOC_IMXRT || COMPILE_TEST
128	select MXC_CLK
129	help
130	    Build the driver for i.MXRT1050 CCM Clock Driver
131