xref: /linux/include/dt-bindings/clock/axg-audio-clkc.h (revision 02672e609fa93dd5835783830bf18387916a077a)
1372401efSJerome Brunet /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2372401efSJerome Brunet /*
3372401efSJerome Brunet  * Copyright (c) 2018 Baylibre SAS.
4372401efSJerome Brunet  * Author: Jerome Brunet <jbrunet@baylibre.com>
5372401efSJerome Brunet  */
6372401efSJerome Brunet 
7372401efSJerome Brunet #ifndef __AXG_AUDIO_CLKC_BINDINGS_H
8372401efSJerome Brunet #define __AXG_AUDIO_CLKC_BINDINGS_H
9372401efSJerome Brunet 
10372401efSJerome Brunet #define AUD_CLKID_DDR_ARB		29
11372401efSJerome Brunet #define AUD_CLKID_PDM			30
12372401efSJerome Brunet #define AUD_CLKID_TDMIN_A		31
13372401efSJerome Brunet #define AUD_CLKID_TDMIN_B		32
14372401efSJerome Brunet #define AUD_CLKID_TDMIN_C		33
15372401efSJerome Brunet #define AUD_CLKID_TDMIN_LB		34
16372401efSJerome Brunet #define AUD_CLKID_TDMOUT_A		35
17372401efSJerome Brunet #define AUD_CLKID_TDMOUT_B		36
18372401efSJerome Brunet #define AUD_CLKID_TDMOUT_C		37
19372401efSJerome Brunet #define AUD_CLKID_FRDDR_A		38
20372401efSJerome Brunet #define AUD_CLKID_FRDDR_B		39
21372401efSJerome Brunet #define AUD_CLKID_FRDDR_C		40
22372401efSJerome Brunet #define AUD_CLKID_TODDR_A		41
23372401efSJerome Brunet #define AUD_CLKID_TODDR_B		42
24372401efSJerome Brunet #define AUD_CLKID_TODDR_C		43
25372401efSJerome Brunet #define AUD_CLKID_LOOPBACK		44
26372401efSJerome Brunet #define AUD_CLKID_SPDIFIN		45
27372401efSJerome Brunet #define AUD_CLKID_SPDIFOUT		46
28372401efSJerome Brunet #define AUD_CLKID_RESAMPLE		47
29372401efSJerome Brunet #define AUD_CLKID_POWER_DETECT		48
30372401efSJerome Brunet #define AUD_CLKID_MST_A_MCLK		49
31372401efSJerome Brunet #define AUD_CLKID_MST_B_MCLK		50
32372401efSJerome Brunet #define AUD_CLKID_MST_C_MCLK		51
33372401efSJerome Brunet #define AUD_CLKID_MST_D_MCLK		52
34372401efSJerome Brunet #define AUD_CLKID_MST_E_MCLK		53
35372401efSJerome Brunet #define AUD_CLKID_MST_F_MCLK		54
36372401efSJerome Brunet #define AUD_CLKID_SPDIFOUT_CLK		55
37372401efSJerome Brunet #define AUD_CLKID_SPDIFIN_CLK		56
38372401efSJerome Brunet #define AUD_CLKID_PDM_DCLK		57
39372401efSJerome Brunet #define AUD_CLKID_PDM_SYSCLK		58
4040fb6772SNeil Armstrong #define AUD_CLKID_MST_A_MCLK_SEL	59
4140fb6772SNeil Armstrong #define AUD_CLKID_MST_B_MCLK_SEL	60
4240fb6772SNeil Armstrong #define AUD_CLKID_MST_C_MCLK_SEL	61
4340fb6772SNeil Armstrong #define AUD_CLKID_MST_D_MCLK_SEL	62
4440fb6772SNeil Armstrong #define AUD_CLKID_MST_E_MCLK_SEL	63
4540fb6772SNeil Armstrong #define AUD_CLKID_MST_F_MCLK_SEL	64
4640fb6772SNeil Armstrong #define AUD_CLKID_MST_A_MCLK_DIV	65
4740fb6772SNeil Armstrong #define AUD_CLKID_MST_B_MCLK_DIV	66
4840fb6772SNeil Armstrong #define AUD_CLKID_MST_C_MCLK_DIV	67
4940fb6772SNeil Armstrong #define AUD_CLKID_MST_D_MCLK_DIV	68
5040fb6772SNeil Armstrong #define AUD_CLKID_MST_E_MCLK_DIV	69
5140fb6772SNeil Armstrong #define AUD_CLKID_MST_F_MCLK_DIV	70
5240fb6772SNeil Armstrong #define AUD_CLKID_SPDIFOUT_CLK_SEL	71
5340fb6772SNeil Armstrong #define AUD_CLKID_SPDIFOUT_CLK_DIV	72
5440fb6772SNeil Armstrong #define AUD_CLKID_SPDIFIN_CLK_SEL	73
5540fb6772SNeil Armstrong #define AUD_CLKID_SPDIFIN_CLK_DIV	74
5640fb6772SNeil Armstrong #define AUD_CLKID_PDM_DCLK_SEL		75
5740fb6772SNeil Armstrong #define AUD_CLKID_PDM_DCLK_DIV		76
5840fb6772SNeil Armstrong #define AUD_CLKID_PDM_SYSCLK_SEL	77
5940fb6772SNeil Armstrong #define AUD_CLKID_PDM_SYSCLK_DIV	78
60372401efSJerome Brunet #define AUD_CLKID_MST_A_SCLK		79
61372401efSJerome Brunet #define AUD_CLKID_MST_B_SCLK		80
62372401efSJerome Brunet #define AUD_CLKID_MST_C_SCLK		81
63372401efSJerome Brunet #define AUD_CLKID_MST_D_SCLK		82
64372401efSJerome Brunet #define AUD_CLKID_MST_E_SCLK		83
65372401efSJerome Brunet #define AUD_CLKID_MST_F_SCLK		84
66372401efSJerome Brunet #define AUD_CLKID_MST_A_LRCLK		86
67372401efSJerome Brunet #define AUD_CLKID_MST_B_LRCLK		87
68372401efSJerome Brunet #define AUD_CLKID_MST_C_LRCLK		88
69372401efSJerome Brunet #define AUD_CLKID_MST_D_LRCLK		89
70372401efSJerome Brunet #define AUD_CLKID_MST_E_LRCLK		90
71372401efSJerome Brunet #define AUD_CLKID_MST_F_LRCLK		91
7240fb6772SNeil Armstrong #define AUD_CLKID_MST_A_SCLK_PRE_EN	92
7340fb6772SNeil Armstrong #define AUD_CLKID_MST_B_SCLK_PRE_EN	93
7440fb6772SNeil Armstrong #define AUD_CLKID_MST_C_SCLK_PRE_EN	94
7540fb6772SNeil Armstrong #define AUD_CLKID_MST_D_SCLK_PRE_EN	95
7640fb6772SNeil Armstrong #define AUD_CLKID_MST_E_SCLK_PRE_EN	96
7740fb6772SNeil Armstrong #define AUD_CLKID_MST_F_SCLK_PRE_EN	97
7840fb6772SNeil Armstrong #define AUD_CLKID_MST_A_SCLK_DIV	98
7940fb6772SNeil Armstrong #define AUD_CLKID_MST_B_SCLK_DIV	99
8040fb6772SNeil Armstrong #define AUD_CLKID_MST_C_SCLK_DIV	100
8140fb6772SNeil Armstrong #define AUD_CLKID_MST_D_SCLK_DIV	101
8240fb6772SNeil Armstrong #define AUD_CLKID_MST_E_SCLK_DIV	102
8340fb6772SNeil Armstrong #define AUD_CLKID_MST_F_SCLK_DIV	103
8440fb6772SNeil Armstrong #define AUD_CLKID_MST_A_SCLK_POST_EN	104
8540fb6772SNeil Armstrong #define AUD_CLKID_MST_B_SCLK_POST_EN	105
8640fb6772SNeil Armstrong #define AUD_CLKID_MST_C_SCLK_POST_EN	106
8740fb6772SNeil Armstrong #define AUD_CLKID_MST_D_SCLK_POST_EN	107
8840fb6772SNeil Armstrong #define AUD_CLKID_MST_E_SCLK_POST_EN	108
8940fb6772SNeil Armstrong #define AUD_CLKID_MST_F_SCLK_POST_EN	109
9040fb6772SNeil Armstrong #define AUD_CLKID_MST_A_LRCLK_DIV	110
9140fb6772SNeil Armstrong #define AUD_CLKID_MST_B_LRCLK_DIV	111
9240fb6772SNeil Armstrong #define AUD_CLKID_MST_C_LRCLK_DIV	112
9340fb6772SNeil Armstrong #define AUD_CLKID_MST_D_LRCLK_DIV	113
9440fb6772SNeil Armstrong #define AUD_CLKID_MST_E_LRCLK_DIV	114
9540fb6772SNeil Armstrong #define AUD_CLKID_MST_F_LRCLK_DIV	115
96372401efSJerome Brunet #define AUD_CLKID_TDMIN_A_SCLK_SEL	116
97372401efSJerome Brunet #define AUD_CLKID_TDMIN_B_SCLK_SEL	117
98372401efSJerome Brunet #define AUD_CLKID_TDMIN_C_SCLK_SEL	118
99372401efSJerome Brunet #define AUD_CLKID_TDMIN_LB_SCLK_SEL	119
100372401efSJerome Brunet #define AUD_CLKID_TDMOUT_A_SCLK_SEL	120
101372401efSJerome Brunet #define AUD_CLKID_TDMOUT_B_SCLK_SEL	121
102372401efSJerome Brunet #define AUD_CLKID_TDMOUT_C_SCLK_SEL	122
103372401efSJerome Brunet #define AUD_CLKID_TDMIN_A_SCLK		123
104372401efSJerome Brunet #define AUD_CLKID_TDMIN_B_SCLK		124
105372401efSJerome Brunet #define AUD_CLKID_TDMIN_C_SCLK		125
106372401efSJerome Brunet #define AUD_CLKID_TDMIN_LB_SCLK		126
107372401efSJerome Brunet #define AUD_CLKID_TDMOUT_A_SCLK		127
108372401efSJerome Brunet #define AUD_CLKID_TDMOUT_B_SCLK		128
109372401efSJerome Brunet #define AUD_CLKID_TDMOUT_C_SCLK		129
110372401efSJerome Brunet #define AUD_CLKID_TDMIN_A_LRCLK		130
111372401efSJerome Brunet #define AUD_CLKID_TDMIN_B_LRCLK		131
112372401efSJerome Brunet #define AUD_CLKID_TDMIN_C_LRCLK		132
113372401efSJerome Brunet #define AUD_CLKID_TDMIN_LB_LRCLK	133
114372401efSJerome Brunet #define AUD_CLKID_TDMOUT_A_LRCLK	134
115372401efSJerome Brunet #define AUD_CLKID_TDMOUT_B_LRCLK	135
116372401efSJerome Brunet #define AUD_CLKID_TDMOUT_C_LRCLK	136
11740fb6772SNeil Armstrong #define AUD_CLKID_TDMIN_A_SCLK_PRE_EN	137
11840fb6772SNeil Armstrong #define AUD_CLKID_TDMIN_B_SCLK_PRE_EN	138
11940fb6772SNeil Armstrong #define AUD_CLKID_TDMIN_C_SCLK_PRE_EN	139
12040fb6772SNeil Armstrong #define AUD_CLKID_TDMIN_LB_SCLK_PRE_EN	140
12140fb6772SNeil Armstrong #define AUD_CLKID_TDMOUT_A_SCLK_PRE_EN	141
12240fb6772SNeil Armstrong #define AUD_CLKID_TDMOUT_B_SCLK_PRE_EN	142
12340fb6772SNeil Armstrong #define AUD_CLKID_TDMOUT_C_SCLK_PRE_EN	143
12440fb6772SNeil Armstrong #define AUD_CLKID_TDMIN_A_SCLK_POST_EN	144
12540fb6772SNeil Armstrong #define AUD_CLKID_TDMIN_B_SCLK_POST_EN	145
12640fb6772SNeil Armstrong #define AUD_CLKID_TDMIN_C_SCLK_POST_EN	146
12740fb6772SNeil Armstrong #define AUD_CLKID_TDMIN_LB_SCLK_POST_EN	147
12840fb6772SNeil Armstrong #define AUD_CLKID_TDMOUT_A_SCLK_POST_EN	148
12940fb6772SNeil Armstrong #define AUD_CLKID_TDMOUT_B_SCLK_POST_EN	149
13040fb6772SNeil Armstrong #define AUD_CLKID_TDMOUT_C_SCLK_POST_EN	150
1318554926bSJerome Brunet #define AUD_CLKID_SPDIFOUT_B		151
1328554926bSJerome Brunet #define AUD_CLKID_SPDIFOUT_B_CLK	152
13340fb6772SNeil Armstrong #define AUD_CLKID_SPDIFOUT_B_CLK_SEL	153
13440fb6772SNeil Armstrong #define AUD_CLKID_SPDIFOUT_B_CLK_DIV	154
1358554926bSJerome Brunet #define AUD_CLKID_TDM_MCLK_PAD0		155
1368554926bSJerome Brunet #define AUD_CLKID_TDM_MCLK_PAD1		156
1378554926bSJerome Brunet #define AUD_CLKID_TDM_LRCLK_PAD0	157
1388554926bSJerome Brunet #define AUD_CLKID_TDM_LRCLK_PAD1	158
1398554926bSJerome Brunet #define AUD_CLKID_TDM_LRCLK_PAD2	159
1408554926bSJerome Brunet #define AUD_CLKID_TDM_SCLK_PAD0		160
1418554926bSJerome Brunet #define AUD_CLKID_TDM_SCLK_PAD1		161
1428554926bSJerome Brunet #define AUD_CLKID_TDM_SCLK_PAD2		162
1430ea0a188SJerome Brunet #define AUD_CLKID_TOP			163
1440ea0a188SJerome Brunet #define AUD_CLKID_TORAM			164
1450ea0a188SJerome Brunet #define AUD_CLKID_EQDRC			165
1460ea0a188SJerome Brunet #define AUD_CLKID_RESAMPLE_B		166
1470ea0a188SJerome Brunet #define AUD_CLKID_TOVAD			167
1480ea0a188SJerome Brunet #define AUD_CLKID_LOCKER		168
1490ea0a188SJerome Brunet #define AUD_CLKID_SPDIFIN_LB		169
1500ea0a188SJerome Brunet #define AUD_CLKID_FRDDR_D		170
1510ea0a188SJerome Brunet #define AUD_CLKID_TODDR_D		171
1520ea0a188SJerome Brunet #define AUD_CLKID_LOOPBACK_B		172
15340fb6772SNeil Armstrong #define AUD_CLKID_CLK81_EN		173
15440fb6772SNeil Armstrong #define AUD_CLKID_SYSCLK_A_DIV		174
15540fb6772SNeil Armstrong #define AUD_CLKID_SYSCLK_B_DIV		175
15640fb6772SNeil Armstrong #define AUD_CLKID_SYSCLK_A_EN		176
15740fb6772SNeil Armstrong #define AUD_CLKID_SYSCLK_B_EN		177
158*02672e60SJerome Brunet #define AUD_CLKID_EARCRX		178
159*02672e60SJerome Brunet #define AUD_CLKID_EARCRX_CMDC_SEL	179
160*02672e60SJerome Brunet #define AUD_CLKID_EARCRX_CMDC_DIV	180
161*02672e60SJerome Brunet #define AUD_CLKID_EARCRX_CMDC		181
162*02672e60SJerome Brunet #define AUD_CLKID_EARCRX_DMAC_SEL	182
163*02672e60SJerome Brunet #define AUD_CLKID_EARCRX_DMAC_DIV	183
164*02672e60SJerome Brunet #define AUD_CLKID_EARCRX_DMAC		184
165372401efSJerome Brunet 
166372401efSJerome Brunet #endif /* __AXG_AUDIO_CLKC_BINDINGS_H */
167