genirq/debugfs: No need to check return value of debugfs_create functions
[linux/fpc-iii.git] / include / dt-bindings / clock / tegra210-car.h
blob6b77e721f6b1f1ebb9406e3294f704f4195a57dd
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * This header provides constants for binding nvidia,tegra210-car.
5 * The first 224 clocks are numbered to match the bits in the CAR's CLK_OUT_ENB
6 * registers. These IDs often match those in the CAR's RST_DEVICES registers,
7 * but not in all cases. Some bits in CLK_OUT_ENB affect multiple clocks. In
8 * this case, those clocks are assigned IDs above 224 in order to highlight
9 * this issue. Implementations that interpret these clock IDs as bit values
10 * within the CLK_OUT_ENB or RST_DEVICES registers should be careful to
11 * explicitly handle these special cases.
13 * The balance of the clocks controlled by the CAR are assigned IDs of 224 and
14 * above.
17 #ifndef _DT_BINDINGS_CLOCK_TEGRA210_CAR_H
18 #define _DT_BINDINGS_CLOCK_TEGRA210_CAR_H
20 /* 0 */
21 /* 1 */
22 /* 2 */
23 #define TEGRA210_CLK_ISPB 3
24 #define TEGRA210_CLK_RTC 4
25 #define TEGRA210_CLK_TIMER 5
26 #define TEGRA210_CLK_UARTA 6
27 /* 7 (register bit affects uartb and vfir) */
28 #define TEGRA210_CLK_GPIO 8
29 #define TEGRA210_CLK_SDMMC2 9
30 /* 10 (register bit affects spdif_in and spdif_out) */
31 #define TEGRA210_CLK_I2S1 11
32 #define TEGRA210_CLK_I2C1 12
33 /* 13 */
34 #define TEGRA210_CLK_SDMMC1 14
35 #define TEGRA210_CLK_SDMMC4 15
36 /* 16 */
37 #define TEGRA210_CLK_PWM 17
38 #define TEGRA210_CLK_I2S2 18
39 /* 19 */
40 /* 20 (register bit affects vi and vi_sensor) */
41 /* 21 */
42 #define TEGRA210_CLK_USBD 22
43 #define TEGRA210_CLK_ISPA 23
44 /* 24 */
45 /* 25 */
46 #define TEGRA210_CLK_DISP2 26
47 #define TEGRA210_CLK_DISP1 27
48 #define TEGRA210_CLK_HOST1X 28
49 /* 29 */
50 #define TEGRA210_CLK_I2S0 30
51 /* 31 */
53 #define TEGRA210_CLK_MC 32
54 #define TEGRA210_CLK_AHBDMA 33
55 #define TEGRA210_CLK_APBDMA 34
56 /* 35 */
57 /* 36 */
58 /* 37 */
59 #define TEGRA210_CLK_PMC 38
60 /* 39 (register bit affects fuse and fuse_burn) */
61 #define TEGRA210_CLK_KFUSE 40
62 #define TEGRA210_CLK_SBC1 41
63 /* 42 */
64 /* 43 */
65 #define TEGRA210_CLK_SBC2 44
66 /* 45 */
67 #define TEGRA210_CLK_SBC3 46
68 #define TEGRA210_CLK_I2C5 47
69 #define TEGRA210_CLK_DSIA 48
70 /* 49 */
71 /* 50 */
72 /* 51 */
73 #define TEGRA210_CLK_CSI 52
74 /* 53 */
75 #define TEGRA210_CLK_I2C2 54
76 #define TEGRA210_CLK_UARTC 55
77 #define TEGRA210_CLK_MIPI_CAL 56
78 #define TEGRA210_CLK_EMC 57
79 #define TEGRA210_CLK_USB2 58
80 /* 59 */
81 /* 60 */
82 /* 61 */
83 /* 62 */
84 #define TEGRA210_CLK_BSEV 63
86 /* 64 */
87 #define TEGRA210_CLK_UARTD 65
88 /* 66 */
89 #define TEGRA210_CLK_I2C3 67
90 #define TEGRA210_CLK_SBC4 68
91 #define TEGRA210_CLK_SDMMC3 69
92 #define TEGRA210_CLK_PCIE 70
93 #define TEGRA210_CLK_OWR 71
94 #define TEGRA210_CLK_AFI 72
95 #define TEGRA210_CLK_CSITE 73
96 /* 74 */
97 /* 75 */
98 #define TEGRA210_CLK_LA 76
99 /* 77 */
100 #define TEGRA210_CLK_SOC_THERM 78
101 #define TEGRA210_CLK_DTV 79
102 /* 80 */
103 #define TEGRA210_CLK_I2CSLOW 81
104 #define TEGRA210_CLK_DSIB 82
105 #define TEGRA210_CLK_TSEC 83
106 /* 84 */
107 /* 85 */
108 /* 86 */
109 /* 87 */
110 /* 88 */
111 #define TEGRA210_CLK_XUSB_HOST 89
112 /* 90 */
113 /* 91 */
114 #define TEGRA210_CLK_CSUS 92
115 /* 93 */
116 /* 94 */
117 /* 95 (bit affects xusb_dev and xusb_dev_src) */
119 /* 96 */
120 /* 97 */
121 /* 98 */
122 #define TEGRA210_CLK_MSELECT 99
123 #define TEGRA210_CLK_TSENSOR 100
124 #define TEGRA210_CLK_I2S3 101
125 #define TEGRA210_CLK_I2S4 102
126 #define TEGRA210_CLK_I2C4 103
127 /* 104 */
128 /* 105 */
129 #define TEGRA210_CLK_D_AUDIO 106
130 #define TEGRA210_CLK_APB2APE 107
131 /* 108 */
132 /* 109 */
133 /* 110 */
134 #define TEGRA210_CLK_HDA2CODEC_2X 111
135 /* 112 */
136 /* 113 */
137 /* 114 */
138 /* 115 */
139 /* 116 */
140 /* 117 */
141 #define TEGRA210_CLK_SPDIF_2X 118
142 #define TEGRA210_CLK_ACTMON 119
143 #define TEGRA210_CLK_EXTERN1 120
144 #define TEGRA210_CLK_EXTERN2 121
145 #define TEGRA210_CLK_EXTERN3 122
146 #define TEGRA210_CLK_SATA_OOB 123
147 #define TEGRA210_CLK_SATA 124
148 #define TEGRA210_CLK_HDA 125
149 /* 126 */
150 /* 127 */
152 #define TEGRA210_CLK_HDA2HDMI 128
153 /* 129 */
154 /* 130 */
155 /* 131 */
156 /* 132 */
157 /* 133 */
158 /* 134 */
159 /* 135 */
160 #define TEGRA210_CLK_CEC 136
161 /* 137 */
162 /* 138 */
163 /* 139 */
164 /* 140 */
165 /* 141 */
166 /* 142 */
167 /* (bit affects xusb_falcon_src, xusb_fs_src, xusb_host_src and xusb_ss_src) */
168 #define TEGRA210_CLK_XUSB_GATE 143
169 #define TEGRA210_CLK_CILAB 144
170 #define TEGRA210_CLK_CILCD 145
171 #define TEGRA210_CLK_CILE 146
172 #define TEGRA210_CLK_DSIALP 147
173 #define TEGRA210_CLK_DSIBLP 148
174 #define TEGRA210_CLK_ENTROPY 149
175 /* 150 */
176 /* 151 */
177 #define TEGRA210_CLK_DP2 152
178 /* 153 */
179 /* 154 */
180 /* 155 (bit affects dfll_ref and dfll_soc) */
181 #define TEGRA210_CLK_XUSB_SS 156
182 /* 157 */
183 /* 158 */
184 /* 159 */
186 /* 160 */
187 #define TEGRA210_CLK_DMIC1 161
188 #define TEGRA210_CLK_DMIC2 162
189 /* 163 */
190 /* 164 */
191 /* 165 */
192 #define TEGRA210_CLK_I2C6 166
193 /* 167 */
194 /* 168 */
195 /* 169 */
196 /* 170 */
197 #define TEGRA210_CLK_VIM2_CLK 171
198 /* 172 */
199 #define TEGRA210_CLK_MIPIBIF 173
200 /* 174 */
201 /* 175 */
202 /* 176 */
203 #define TEGRA210_CLK_CLK72MHZ 177
204 #define TEGRA210_CLK_VIC03 178
205 /* 179 */
206 /* 180 */
207 #define TEGRA210_CLK_DPAUX 181
208 #define TEGRA210_CLK_SOR0 182
209 #define TEGRA210_CLK_SOR1 183
210 #define TEGRA210_CLK_GPU 184
211 #define TEGRA210_CLK_DBGAPB 185
212 /* 186 */
213 #define TEGRA210_CLK_PLL_P_OUT_ADSP 187
214 /* 188 ((bit affects pll_a_out_adsp and pll_a_out0_out_adsp)*/
215 #define TEGRA210_CLK_PLL_G_REF 189
216 /* 190 */
217 /* 191 */
219 /* 192 */
220 #define TEGRA210_CLK_SDMMC_LEGACY 193
221 #define TEGRA210_CLK_NVDEC 194
222 #define TEGRA210_CLK_NVJPG 195
223 /* 196 */
224 #define TEGRA210_CLK_DMIC3 197
225 #define TEGRA210_CLK_APE 198
226 #define TEGRA210_CLK_ADSP 199
227 /* 200 */
228 /* 201 */
229 #define TEGRA210_CLK_MAUD 202
230 /* 203 */
231 /* 204 */
232 /* 205 */
233 #define TEGRA210_CLK_TSECB 206
234 #define TEGRA210_CLK_DPAUX1 207
235 #define TEGRA210_CLK_VI_I2C 208
236 #define TEGRA210_CLK_HSIC_TRK 209
237 #define TEGRA210_CLK_USB2_TRK 210
238 #define TEGRA210_CLK_QSPI 211
239 #define TEGRA210_CLK_UARTAPE 212
240 /* 213 */
241 /* 214 */
242 /* 215 */
243 /* 216 */
244 /* 217 */
245 #define TEGRA210_CLK_ADSP_NEON 218
246 #define TEGRA210_CLK_NVENC 219
247 #define TEGRA210_CLK_IQC2 220
248 #define TEGRA210_CLK_IQC1 221
249 #define TEGRA210_CLK_SOR_SAFE 222
250 #define TEGRA210_CLK_PLL_P_OUT_CPU 223
253 #define TEGRA210_CLK_UARTB 224
254 #define TEGRA210_CLK_VFIR 225
255 #define TEGRA210_CLK_SPDIF_IN 226
256 #define TEGRA210_CLK_SPDIF_OUT 227
257 #define TEGRA210_CLK_VI 228
258 #define TEGRA210_CLK_VI_SENSOR 229
259 #define TEGRA210_CLK_FUSE 230
260 #define TEGRA210_CLK_FUSE_BURN 231
261 #define TEGRA210_CLK_CLK_32K 232
262 #define TEGRA210_CLK_CLK_M 233
263 #define TEGRA210_CLK_CLK_M_DIV2 234
264 #define TEGRA210_CLK_CLK_M_DIV4 235
265 #define TEGRA210_CLK_PLL_REF 236
266 #define TEGRA210_CLK_PLL_C 237
267 #define TEGRA210_CLK_PLL_C_OUT1 238
268 #define TEGRA210_CLK_PLL_C2 239
269 #define TEGRA210_CLK_PLL_C3 240
270 #define TEGRA210_CLK_PLL_M 241
271 #define TEGRA210_CLK_PLL_M_OUT1 242
272 #define TEGRA210_CLK_PLL_P 243
273 #define TEGRA210_CLK_PLL_P_OUT1 244
274 #define TEGRA210_CLK_PLL_P_OUT2 245
275 #define TEGRA210_CLK_PLL_P_OUT3 246
276 #define TEGRA210_CLK_PLL_P_OUT4 247
277 #define TEGRA210_CLK_PLL_A 248
278 #define TEGRA210_CLK_PLL_A_OUT0 249
279 #define TEGRA210_CLK_PLL_D 250
280 #define TEGRA210_CLK_PLL_D_OUT0 251
281 #define TEGRA210_CLK_PLL_D2 252
282 #define TEGRA210_CLK_PLL_D2_OUT0 253
283 #define TEGRA210_CLK_PLL_U 254
284 #define TEGRA210_CLK_PLL_U_480M 255
286 #define TEGRA210_CLK_PLL_U_60M 256
287 #define TEGRA210_CLK_PLL_U_48M 257
288 /* 258 */
289 #define TEGRA210_CLK_PLL_X 259
290 #define TEGRA210_CLK_PLL_X_OUT0 260
291 #define TEGRA210_CLK_PLL_RE_VCO 261
292 #define TEGRA210_CLK_PLL_RE_OUT 262
293 #define TEGRA210_CLK_PLL_E 263
294 #define TEGRA210_CLK_SPDIF_IN_SYNC 264
295 #define TEGRA210_CLK_I2S0_SYNC 265
296 #define TEGRA210_CLK_I2S1_SYNC 266
297 #define TEGRA210_CLK_I2S2_SYNC 267
298 #define TEGRA210_CLK_I2S3_SYNC 268
299 #define TEGRA210_CLK_I2S4_SYNC 269
300 #define TEGRA210_CLK_VIMCLK_SYNC 270
301 #define TEGRA210_CLK_AUDIO0 271
302 #define TEGRA210_CLK_AUDIO1 272
303 #define TEGRA210_CLK_AUDIO2 273
304 #define TEGRA210_CLK_AUDIO3 274
305 #define TEGRA210_CLK_AUDIO4 275
306 #define TEGRA210_CLK_SPDIF 276
307 #define TEGRA210_CLK_CLK_OUT_1 277
308 #define TEGRA210_CLK_CLK_OUT_2 278
309 #define TEGRA210_CLK_CLK_OUT_3 279
310 #define TEGRA210_CLK_BLINK 280
311 /* 281 */
312 #define TEGRA210_CLK_SOR1_SRC 282
313 #define TEGRA210_CLK_SOR1_OUT 282
314 /* 283 */
315 #define TEGRA210_CLK_XUSB_HOST_SRC 284
316 #define TEGRA210_CLK_XUSB_FALCON_SRC 285
317 #define TEGRA210_CLK_XUSB_FS_SRC 286
318 #define TEGRA210_CLK_XUSB_SS_SRC 287
320 #define TEGRA210_CLK_XUSB_DEV_SRC 288
321 #define TEGRA210_CLK_XUSB_DEV 289
322 #define TEGRA210_CLK_XUSB_HS_SRC 290
323 #define TEGRA210_CLK_SCLK 291
324 #define TEGRA210_CLK_HCLK 292
325 #define TEGRA210_CLK_PCLK 293
326 #define TEGRA210_CLK_CCLK_G 294
327 #define TEGRA210_CLK_CCLK_LP 295
328 #define TEGRA210_CLK_DFLL_REF 296
329 #define TEGRA210_CLK_DFLL_SOC 297
330 #define TEGRA210_CLK_VI_SENSOR2 298
331 #define TEGRA210_CLK_PLL_P_OUT5 299
332 #define TEGRA210_CLK_CML0 300
333 #define TEGRA210_CLK_CML1 301
334 #define TEGRA210_CLK_PLL_C4 302
335 #define TEGRA210_CLK_PLL_DP 303
336 #define TEGRA210_CLK_PLL_E_MUX 304
337 #define TEGRA210_CLK_PLL_MB 305
338 #define TEGRA210_CLK_PLL_A1 306
339 #define TEGRA210_CLK_PLL_D_DSI_OUT 307
340 #define TEGRA210_CLK_PLL_C4_OUT0 308
341 #define TEGRA210_CLK_PLL_C4_OUT1 309
342 #define TEGRA210_CLK_PLL_C4_OUT2 310
343 #define TEGRA210_CLK_PLL_C4_OUT3 311
344 #define TEGRA210_CLK_PLL_U_OUT 312
345 #define TEGRA210_CLK_PLL_U_OUT1 313
346 #define TEGRA210_CLK_PLL_U_OUT2 314
347 #define TEGRA210_CLK_USB2_HSIC_TRK 315
348 #define TEGRA210_CLK_PLL_P_OUT_HSIO 316
349 #define TEGRA210_CLK_PLL_P_OUT_XUSB 317
350 #define TEGRA210_CLK_XUSB_SSP_SRC 318
351 #define TEGRA210_CLK_PLL_RE_OUT1 319
352 /* 320 */
353 /* 321 */
354 #define TEGRA210_CLK_ISP 322
355 #define TEGRA210_CLK_PLL_A_OUT_ADSP 323
356 #define TEGRA210_CLK_PLL_A_OUT0_OUT_ADSP 324
357 /* 325 */
358 /* 326 */
359 /* 327 */
360 /* 328 */
361 /* 329 */
362 /* 330 */
363 /* 331 */
364 /* 332 */
365 /* 333 */
366 /* 334 */
367 /* 335 */
368 /* 336 */
369 /* 337 */
370 /* 338 */
371 /* 339 */
372 /* 340 */
373 /* 341 */
374 /* 342 */
375 /* 343 */
376 /* 344 */
377 /* 345 */
378 /* 346 */
379 /* 347 */
380 /* 348 */
381 /* 349 */
383 #define TEGRA210_CLK_AUDIO0_MUX 350
384 #define TEGRA210_CLK_AUDIO1_MUX 351
385 #define TEGRA210_CLK_AUDIO2_MUX 352
386 #define TEGRA210_CLK_AUDIO3_MUX 353
387 #define TEGRA210_CLK_AUDIO4_MUX 354
388 #define TEGRA210_CLK_SPDIF_MUX 355
389 #define TEGRA210_CLK_CLK_OUT_1_MUX 356
390 #define TEGRA210_CLK_CLK_OUT_2_MUX 357
391 #define TEGRA210_CLK_CLK_OUT_3_MUX 358
392 #define TEGRA210_CLK_DSIA_MUX 359
393 #define TEGRA210_CLK_DSIB_MUX 360
394 #define TEGRA210_CLK_SOR0_LVDS 361
395 #define TEGRA210_CLK_XUSB_SS_DIV2 362
397 #define TEGRA210_CLK_PLL_M_UD 363
398 #define TEGRA210_CLK_PLL_C_UD 364
399 #define TEGRA210_CLK_SCLK_MUX 365
401 #define TEGRA210_CLK_ACLK 370
403 #define TEGRA210_CLK_DMIC1_SYNC_CLK 388
404 #define TEGRA210_CLK_DMIC1_SYNC_CLK_MUX 389
405 #define TEGRA210_CLK_DMIC2_SYNC_CLK 390
406 #define TEGRA210_CLK_DMIC2_SYNC_CLK_MUX 391
407 #define TEGRA210_CLK_DMIC3_SYNC_CLK 392
408 #define TEGRA210_CLK_DMIC3_SYNC_CLK_MUX 393
410 #define TEGRA210_CLK_CLK_MAX 394
412 #endif /* _DT_BINDINGS_CLOCK_TEGRA210_CAR_H */