Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
[linux-2.6-block.git] / drivers / gpu / drm / msm / hdmi / hdmi.xml.h
CommitLineData
0cf6c71d
RC
1#ifndef HDMI_XML
2#define HDMI_XML
3
4/* Autogenerated file, DO NOT EDIT manually!
5
6This file was generated by the rules-ng-ng headergen tool in this git repository:
22ba8b6b
RC
7http://github.com/freedreno/envytools/
8git clone https://github.com/freedreno/envytools.git
0cf6c71d
RC
9
10The rules-ng-ng source files this header was generated from are:
a2272e48
RC
11- /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2015-05-20 20:03:14)
12- /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2016-02-10 17:07:21)
13- /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2015-05-20 20:03:14)
14- /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2015-09-18 12:07:28)
15- /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 37194 bytes, from 2015-09-18 12:07:28)
16- /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 27887 bytes, from 2015-10-22 16:34:52)
17- /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2015-10-22 16:35:02)
18- /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2015-05-20 20:03:14)
19- /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2015-05-20 20:03:07)
20- /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 41472 bytes, from 2016-01-22 18:18:18)
21- /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2015-05-20 20:03:14)
0cf6c71d 22
e9a2ce13 23Copyright (C) 2013-2016 by the following authors:
0cf6c71d 24- Rob Clark <robdclark@gmail.com> (robclark)
a2272e48 25- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
0cf6c71d
RC
26
27Permission is hereby granted, free of charge, to any person obtaining
28a copy of this software and associated documentation files (the
29"Software"), to deal in the Software without restriction, including
30without limitation the rights to use, copy, modify, merge, publish,
31distribute, sublicense, and/or sell copies of the Software, and to
32permit persons to whom the Software is furnished to do so, subject to
33the following conditions:
34
35The above copyright notice and this permission notice (including the
36next paragraph) shall be included in all copies or substantial
37portions of the Software.
38
39THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
42IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
43LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
44OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
45WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46*/
47
48
49enum hdmi_hdcp_key_state {
8a264743
RC
50 HDCP_KEYS_STATE_NO_KEYS = 0,
51 HDCP_KEYS_STATE_NOT_CHECKED = 1,
52 HDCP_KEYS_STATE_CHECKING = 2,
53 HDCP_KEYS_STATE_VALID = 3,
54 HDCP_KEYS_STATE_AKSV_NOT_VALID = 4,
55 HDCP_KEYS_STATE_CHKSUM_MISMATCH = 5,
56 HDCP_KEYS_STATE_PROD_AKSV = 6,
57 HDCP_KEYS_STATE_RESERVED = 7,
0cf6c71d
RC
58};
59
60enum hdmi_ddc_read_write {
61 DDC_WRITE = 0,
62 DDC_READ = 1,
63};
64
65enum hdmi_acr_cts {
66 ACR_NONE = 0,
67 ACR_32 = 1,
68 ACR_44 = 2,
69 ACR_48 = 3,
70};
71
72#define REG_HDMI_CTRL 0x00000000
73#define HDMI_CTRL_ENABLE 0x00000001
74#define HDMI_CTRL_HDMI 0x00000002
75#define HDMI_CTRL_ENCRYPTED 0x00000004
76
77#define REG_HDMI_AUDIO_PKT_CTRL1 0x00000020
78#define HDMI_AUDIO_PKT_CTRL1_AUDIO_SAMPLE_SEND 0x00000001
79
80#define REG_HDMI_ACR_PKT_CTRL 0x00000024
81#define HDMI_ACR_PKT_CTRL_CONT 0x00000001
82#define HDMI_ACR_PKT_CTRL_SEND 0x00000002
83#define HDMI_ACR_PKT_CTRL_SELECT__MASK 0x00000030
84#define HDMI_ACR_PKT_CTRL_SELECT__SHIFT 4
85static inline uint32_t HDMI_ACR_PKT_CTRL_SELECT(enum hdmi_acr_cts val)
86{
87 return ((val) << HDMI_ACR_PKT_CTRL_SELECT__SHIFT) & HDMI_ACR_PKT_CTRL_SELECT__MASK;
88}
89#define HDMI_ACR_PKT_CTRL_SOURCE 0x00000100
90#define HDMI_ACR_PKT_CTRL_N_MULTIPLIER__MASK 0x00070000
91#define HDMI_ACR_PKT_CTRL_N_MULTIPLIER__SHIFT 16
92static inline uint32_t HDMI_ACR_PKT_CTRL_N_MULTIPLIER(uint32_t val)
93{
94 return ((val) << HDMI_ACR_PKT_CTRL_N_MULTIPLIER__SHIFT) & HDMI_ACR_PKT_CTRL_N_MULTIPLIER__MASK;
95}
96#define HDMI_ACR_PKT_CTRL_AUDIO_PRIORITY 0x80000000
97
98#define REG_HDMI_VBI_PKT_CTRL 0x00000028
99#define HDMI_VBI_PKT_CTRL_GC_ENABLE 0x00000010
100#define HDMI_VBI_PKT_CTRL_GC_EVERY_FRAME 0x00000020
101#define HDMI_VBI_PKT_CTRL_ISRC_SEND 0x00000100
102#define HDMI_VBI_PKT_CTRL_ISRC_CONTINUOUS 0x00000200
103#define HDMI_VBI_PKT_CTRL_ACP_SEND 0x00001000
104#define HDMI_VBI_PKT_CTRL_ACP_SRC_SW 0x00002000
105
106#define REG_HDMI_INFOFRAME_CTRL0 0x0000002c
107#define HDMI_INFOFRAME_CTRL0_AVI_SEND 0x00000001
108#define HDMI_INFOFRAME_CTRL0_AVI_CONT 0x00000002
109#define HDMI_INFOFRAME_CTRL0_AUDIO_INFO_SEND 0x00000010
110#define HDMI_INFOFRAME_CTRL0_AUDIO_INFO_CONT 0x00000020
111#define HDMI_INFOFRAME_CTRL0_AUDIO_INFO_SOURCE 0x00000040
112#define HDMI_INFOFRAME_CTRL0_AUDIO_INFO_UPDATE 0x00000080
113
114#define REG_HDMI_GEN_PKT_CTRL 0x00000034
115#define HDMI_GEN_PKT_CTRL_GENERIC0_SEND 0x00000001
116#define HDMI_GEN_PKT_CTRL_GENERIC0_CONT 0x00000002
117#define HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE__MASK 0x0000000c
118#define HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE__SHIFT 2
119static inline uint32_t HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE(uint32_t val)
120{
121 return ((val) << HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE__SHIFT) & HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE__MASK;
122}
123#define HDMI_GEN_PKT_CTRL_GENERIC1_SEND 0x00000010
124#define HDMI_GEN_PKT_CTRL_GENERIC1_CONT 0x00000020
125#define HDMI_GEN_PKT_CTRL_GENERIC0_LINE__MASK 0x003f0000
126#define HDMI_GEN_PKT_CTRL_GENERIC0_LINE__SHIFT 16
127static inline uint32_t HDMI_GEN_PKT_CTRL_GENERIC0_LINE(uint32_t val)
128{
129 return ((val) << HDMI_GEN_PKT_CTRL_GENERIC0_LINE__SHIFT) & HDMI_GEN_PKT_CTRL_GENERIC0_LINE__MASK;
130}
131#define HDMI_GEN_PKT_CTRL_GENERIC1_LINE__MASK 0x3f000000
132#define HDMI_GEN_PKT_CTRL_GENERIC1_LINE__SHIFT 24
133static inline uint32_t HDMI_GEN_PKT_CTRL_GENERIC1_LINE(uint32_t val)
134{
135 return ((val) << HDMI_GEN_PKT_CTRL_GENERIC1_LINE__SHIFT) & HDMI_GEN_PKT_CTRL_GENERIC1_LINE__MASK;
136}
137
138#define REG_HDMI_GC 0x00000040
139#define HDMI_GC_MUTE 0x00000001
140
141#define REG_HDMI_AUDIO_PKT_CTRL2 0x00000044
142#define HDMI_AUDIO_PKT_CTRL2_OVERRIDE 0x00000001
143#define HDMI_AUDIO_PKT_CTRL2_LAYOUT 0x00000002
144
145static inline uint32_t REG_HDMI_AVI_INFO(uint32_t i0) { return 0x0000006c + 0x4*i0; }
146
147#define REG_HDMI_GENERIC0_HDR 0x00000084
148
149static inline uint32_t REG_HDMI_GENERIC0(uint32_t i0) { return 0x00000088 + 0x4*i0; }
150
151#define REG_HDMI_GENERIC1_HDR 0x000000a4
152
153static inline uint32_t REG_HDMI_GENERIC1(uint32_t i0) { return 0x000000a8 + 0x4*i0; }
154
89301471 155static inline uint32_t REG_HDMI_ACR(enum hdmi_acr_cts i0) { return 0x000000c4 + 0x8*i0; }
0cf6c71d 156
89301471 157static inline uint32_t REG_HDMI_ACR_0(enum hdmi_acr_cts i0) { return 0x000000c4 + 0x8*i0; }
0cf6c71d
RC
158#define HDMI_ACR_0_CTS__MASK 0xfffff000
159#define HDMI_ACR_0_CTS__SHIFT 12
160static inline uint32_t HDMI_ACR_0_CTS(uint32_t val)
161{
162 return ((val) << HDMI_ACR_0_CTS__SHIFT) & HDMI_ACR_0_CTS__MASK;
163}
164
89301471 165static inline uint32_t REG_HDMI_ACR_1(enum hdmi_acr_cts i0) { return 0x000000c8 + 0x8*i0; }
0cf6c71d
RC
166#define HDMI_ACR_1_N__MASK 0xffffffff
167#define HDMI_ACR_1_N__SHIFT 0
168static inline uint32_t HDMI_ACR_1_N(uint32_t val)
169{
170 return ((val) << HDMI_ACR_1_N__SHIFT) & HDMI_ACR_1_N__MASK;
171}
172
173#define REG_HDMI_AUDIO_INFO0 0x000000e4
174#define HDMI_AUDIO_INFO0_CHECKSUM__MASK 0x000000ff
175#define HDMI_AUDIO_INFO0_CHECKSUM__SHIFT 0
176static inline uint32_t HDMI_AUDIO_INFO0_CHECKSUM(uint32_t val)
177{
178 return ((val) << HDMI_AUDIO_INFO0_CHECKSUM__SHIFT) & HDMI_AUDIO_INFO0_CHECKSUM__MASK;
179}
180#define HDMI_AUDIO_INFO0_CC__MASK 0x00000700
181#define HDMI_AUDIO_INFO0_CC__SHIFT 8
182static inline uint32_t HDMI_AUDIO_INFO0_CC(uint32_t val)
183{
184 return ((val) << HDMI_AUDIO_INFO0_CC__SHIFT) & HDMI_AUDIO_INFO0_CC__MASK;
185}
186
187#define REG_HDMI_AUDIO_INFO1 0x000000e8
188#define HDMI_AUDIO_INFO1_CA__MASK 0x000000ff
189#define HDMI_AUDIO_INFO1_CA__SHIFT 0
190static inline uint32_t HDMI_AUDIO_INFO1_CA(uint32_t val)
191{
192 return ((val) << HDMI_AUDIO_INFO1_CA__SHIFT) & HDMI_AUDIO_INFO1_CA__MASK;
193}
194#define HDMI_AUDIO_INFO1_LSV__MASK 0x00007800
195#define HDMI_AUDIO_INFO1_LSV__SHIFT 11
196static inline uint32_t HDMI_AUDIO_INFO1_LSV(uint32_t val)
197{
198 return ((val) << HDMI_AUDIO_INFO1_LSV__SHIFT) & HDMI_AUDIO_INFO1_LSV__MASK;
199}
200#define HDMI_AUDIO_INFO1_DM_INH 0x00008000
201
202#define REG_HDMI_HDCP_CTRL 0x00000110
203#define HDMI_HDCP_CTRL_ENABLE 0x00000001
204#define HDMI_HDCP_CTRL_ENCRYPTION_ENABLE 0x00000100
205
8a264743
RC
206#define REG_HDMI_HDCP_DEBUG_CTRL 0x00000114
207#define HDMI_HDCP_DEBUG_CTRL_RNG_CIPHER 0x00000004
208
0cf6c71d 209#define REG_HDMI_HDCP_INT_CTRL 0x00000118
8a264743
RC
210#define HDMI_HDCP_INT_CTRL_AUTH_SUCCESS_INT 0x00000001
211#define HDMI_HDCP_INT_CTRL_AUTH_SUCCESS_ACK 0x00000002
212#define HDMI_HDCP_INT_CTRL_AUTH_SUCCESS_MASK 0x00000004
213#define HDMI_HDCP_INT_CTRL_AUTH_FAIL_INT 0x00000010
214#define HDMI_HDCP_INT_CTRL_AUTH_FAIL_ACK 0x00000020
215#define HDMI_HDCP_INT_CTRL_AUTH_FAIL_MASK 0x00000040
216#define HDMI_HDCP_INT_CTRL_AUTH_FAIL_INFO_ACK 0x00000080
217#define HDMI_HDCP_INT_CTRL_AUTH_XFER_REQ_INT 0x00000100
218#define HDMI_HDCP_INT_CTRL_AUTH_XFER_REQ_ACK 0x00000200
219#define HDMI_HDCP_INT_CTRL_AUTH_XFER_REQ_MASK 0x00000400
220#define HDMI_HDCP_INT_CTRL_AUTH_XFER_DONE_INT 0x00001000
221#define HDMI_HDCP_INT_CTRL_AUTH_XFER_DONE_ACK 0x00002000
222#define HDMI_HDCP_INT_CTRL_AUTH_XFER_DONE_MASK 0x00004000
0cf6c71d
RC
223
224#define REG_HDMI_HDCP_LINK0_STATUS 0x0000011c
225#define HDMI_HDCP_LINK0_STATUS_AN_0_READY 0x00000100
226#define HDMI_HDCP_LINK0_STATUS_AN_1_READY 0x00000200
8a264743
RC
227#define HDMI_HDCP_LINK0_STATUS_RI_MATCHES 0x00001000
228#define HDMI_HDCP_LINK0_STATUS_V_MATCHES 0x00100000
0cf6c71d
RC
229#define HDMI_HDCP_LINK0_STATUS_KEY_STATE__MASK 0x70000000
230#define HDMI_HDCP_LINK0_STATUS_KEY_STATE__SHIFT 28
231static inline uint32_t HDMI_HDCP_LINK0_STATUS_KEY_STATE(enum hdmi_hdcp_key_state val)
232{
233 return ((val) << HDMI_HDCP_LINK0_STATUS_KEY_STATE__SHIFT) & HDMI_HDCP_LINK0_STATUS_KEY_STATE__MASK;
234}
235
8a264743
RC
236#define REG_HDMI_HDCP_DDC_CTRL_0 0x00000120
237#define HDMI_HDCP_DDC_CTRL_0_DISABLE 0x00000001
238
239#define REG_HDMI_HDCP_DDC_CTRL_1 0x00000124
240#define HDMI_HDCP_DDC_CTRL_1_FAILED_ACK 0x00000001
241
242#define REG_HDMI_HDCP_DDC_STATUS 0x00000128
243#define HDMI_HDCP_DDC_STATUS_XFER_REQ 0x00000010
244#define HDMI_HDCP_DDC_STATUS_XFER_DONE 0x00000400
245#define HDMI_HDCP_DDC_STATUS_ABORTED 0x00001000
246#define HDMI_HDCP_DDC_STATUS_TIMEOUT 0x00002000
247#define HDMI_HDCP_DDC_STATUS_NACK0 0x00004000
248#define HDMI_HDCP_DDC_STATUS_NACK1 0x00008000
249#define HDMI_HDCP_DDC_STATUS_FAILED 0x00010000
250
251#define REG_HDMI_HDCP_ENTROPY_CTRL0 0x0000012c
252
253#define REG_HDMI_HDCP_ENTROPY_CTRL1 0x0000025c
254
0cf6c71d
RC
255#define REG_HDMI_HDCP_RESET 0x00000130
256#define HDMI_HDCP_RESET_LINK0_DEAUTHENTICATE 0x00000001
257
8a264743
RC
258#define REG_HDMI_HDCP_RCVPORT_DATA0 0x00000134
259
260#define REG_HDMI_HDCP_RCVPORT_DATA1 0x00000138
261
262#define REG_HDMI_HDCP_RCVPORT_DATA2_0 0x0000013c
263
264#define REG_HDMI_HDCP_RCVPORT_DATA2_1 0x00000140
265
266#define REG_HDMI_HDCP_RCVPORT_DATA3 0x00000144
267
268#define REG_HDMI_HDCP_RCVPORT_DATA4 0x00000148
269
270#define REG_HDMI_HDCP_RCVPORT_DATA5 0x0000014c
271
272#define REG_HDMI_HDCP_RCVPORT_DATA6 0x00000150
273
274#define REG_HDMI_HDCP_RCVPORT_DATA7 0x00000154
275
276#define REG_HDMI_HDCP_RCVPORT_DATA8 0x00000158
277
278#define REG_HDMI_HDCP_RCVPORT_DATA9 0x0000015c
279
280#define REG_HDMI_HDCP_RCVPORT_DATA10 0x00000160
281
282#define REG_HDMI_HDCP_RCVPORT_DATA11 0x00000164
283
284#define REG_HDMI_HDCP_RCVPORT_DATA12 0x00000168
285
facb4f4e
RC
286#define REG_HDMI_VENSPEC_INFO0 0x0000016c
287
288#define REG_HDMI_VENSPEC_INFO1 0x00000170
289
290#define REG_HDMI_VENSPEC_INFO2 0x00000174
291
292#define REG_HDMI_VENSPEC_INFO3 0x00000178
293
294#define REG_HDMI_VENSPEC_INFO4 0x0000017c
295
296#define REG_HDMI_VENSPEC_INFO5 0x00000180
297
298#define REG_HDMI_VENSPEC_INFO6 0x00000184
299
0cf6c71d
RC
300#define REG_HDMI_AUDIO_CFG 0x000001d0
301#define HDMI_AUDIO_CFG_ENGINE_ENABLE 0x00000001
302#define HDMI_AUDIO_CFG_FIFO_WATERMARK__MASK 0x000000f0
303#define HDMI_AUDIO_CFG_FIFO_WATERMARK__SHIFT 4
304static inline uint32_t HDMI_AUDIO_CFG_FIFO_WATERMARK(uint32_t val)
305{
306 return ((val) << HDMI_AUDIO_CFG_FIFO_WATERMARK__SHIFT) & HDMI_AUDIO_CFG_FIFO_WATERMARK__MASK;
307}
308
309#define REG_HDMI_USEC_REFTIMER 0x00000208
310
311#define REG_HDMI_DDC_CTRL 0x0000020c
312#define HDMI_DDC_CTRL_GO 0x00000001
313#define HDMI_DDC_CTRL_SOFT_RESET 0x00000002
314#define HDMI_DDC_CTRL_SEND_RESET 0x00000004
315#define HDMI_DDC_CTRL_SW_STATUS_RESET 0x00000008
316#define HDMI_DDC_CTRL_TRANSACTION_CNT__MASK 0x00300000
317#define HDMI_DDC_CTRL_TRANSACTION_CNT__SHIFT 20
318static inline uint32_t HDMI_DDC_CTRL_TRANSACTION_CNT(uint32_t val)
319{
320 return ((val) << HDMI_DDC_CTRL_TRANSACTION_CNT__SHIFT) & HDMI_DDC_CTRL_TRANSACTION_CNT__MASK;
321}
322
facb4f4e
RC
323#define REG_HDMI_DDC_ARBITRATION 0x00000210
324#define HDMI_DDC_ARBITRATION_HW_ARBITRATION 0x00000010
325
0cf6c71d
RC
326#define REG_HDMI_DDC_INT_CTRL 0x00000214
327#define HDMI_DDC_INT_CTRL_SW_DONE_INT 0x00000001
328#define HDMI_DDC_INT_CTRL_SW_DONE_ACK 0x00000002
329#define HDMI_DDC_INT_CTRL_SW_DONE_MASK 0x00000004
330
331#define REG_HDMI_DDC_SW_STATUS 0x00000218
332#define HDMI_DDC_SW_STATUS_NACK0 0x00001000
333#define HDMI_DDC_SW_STATUS_NACK1 0x00002000
334#define HDMI_DDC_SW_STATUS_NACK2 0x00004000
335#define HDMI_DDC_SW_STATUS_NACK3 0x00008000
336
337#define REG_HDMI_DDC_HW_STATUS 0x0000021c
8a264743 338#define HDMI_DDC_HW_STATUS_DONE 0x00000008
0cf6c71d
RC
339
340#define REG_HDMI_DDC_SPEED 0x00000220
341#define HDMI_DDC_SPEED_THRESHOLD__MASK 0x00000003
342#define HDMI_DDC_SPEED_THRESHOLD__SHIFT 0
343static inline uint32_t HDMI_DDC_SPEED_THRESHOLD(uint32_t val)
344{
345 return ((val) << HDMI_DDC_SPEED_THRESHOLD__SHIFT) & HDMI_DDC_SPEED_THRESHOLD__MASK;
346}
347#define HDMI_DDC_SPEED_PRESCALE__MASK 0xffff0000
348#define HDMI_DDC_SPEED_PRESCALE__SHIFT 16
349static inline uint32_t HDMI_DDC_SPEED_PRESCALE(uint32_t val)
350{
351 return ((val) << HDMI_DDC_SPEED_PRESCALE__SHIFT) & HDMI_DDC_SPEED_PRESCALE__MASK;
352}
353
354#define REG_HDMI_DDC_SETUP 0x00000224
355#define HDMI_DDC_SETUP_TIMEOUT__MASK 0xff000000
356#define HDMI_DDC_SETUP_TIMEOUT__SHIFT 24
357static inline uint32_t HDMI_DDC_SETUP_TIMEOUT(uint32_t val)
358{
359 return ((val) << HDMI_DDC_SETUP_TIMEOUT__SHIFT) & HDMI_DDC_SETUP_TIMEOUT__MASK;
360}
361
362static inline uint32_t REG_HDMI_I2C_TRANSACTION(uint32_t i0) { return 0x00000228 + 0x4*i0; }
363
364static inline uint32_t REG_HDMI_I2C_TRANSACTION_REG(uint32_t i0) { return 0x00000228 + 0x4*i0; }
365#define HDMI_I2C_TRANSACTION_REG_RW__MASK 0x00000001
366#define HDMI_I2C_TRANSACTION_REG_RW__SHIFT 0
367static inline uint32_t HDMI_I2C_TRANSACTION_REG_RW(enum hdmi_ddc_read_write val)
368{
369 return ((val) << HDMI_I2C_TRANSACTION_REG_RW__SHIFT) & HDMI_I2C_TRANSACTION_REG_RW__MASK;
370}
371#define HDMI_I2C_TRANSACTION_REG_STOP_ON_NACK 0x00000100
372#define HDMI_I2C_TRANSACTION_REG_START 0x00001000
373#define HDMI_I2C_TRANSACTION_REG_STOP 0x00002000
374#define HDMI_I2C_TRANSACTION_REG_CNT__MASK 0x00ff0000
375#define HDMI_I2C_TRANSACTION_REG_CNT__SHIFT 16
376static inline uint32_t HDMI_I2C_TRANSACTION_REG_CNT(uint32_t val)
377{
378 return ((val) << HDMI_I2C_TRANSACTION_REG_CNT__SHIFT) & HDMI_I2C_TRANSACTION_REG_CNT__MASK;
379}
380
381#define REG_HDMI_DDC_DATA 0x00000238
382#define HDMI_DDC_DATA_DATA_RW__MASK 0x00000001
383#define HDMI_DDC_DATA_DATA_RW__SHIFT 0
384static inline uint32_t HDMI_DDC_DATA_DATA_RW(enum hdmi_ddc_read_write val)
385{
386 return ((val) << HDMI_DDC_DATA_DATA_RW__SHIFT) & HDMI_DDC_DATA_DATA_RW__MASK;
387}
388#define HDMI_DDC_DATA_DATA__MASK 0x0000ff00
389#define HDMI_DDC_DATA_DATA__SHIFT 8
390static inline uint32_t HDMI_DDC_DATA_DATA(uint32_t val)
391{
392 return ((val) << HDMI_DDC_DATA_DATA__SHIFT) & HDMI_DDC_DATA_DATA__MASK;
393}
394#define HDMI_DDC_DATA_INDEX__MASK 0x00ff0000
395#define HDMI_DDC_DATA_INDEX__SHIFT 16
396static inline uint32_t HDMI_DDC_DATA_INDEX(uint32_t val)
397{
398 return ((val) << HDMI_DDC_DATA_INDEX__SHIFT) & HDMI_DDC_DATA_INDEX__MASK;
399}
400#define HDMI_DDC_DATA_INDEX_WRITE 0x80000000
401
8a264743
RC
402#define REG_HDMI_HDCP_SHA_CTRL 0x0000023c
403
404#define REG_HDMI_HDCP_SHA_STATUS 0x00000240
405#define HDMI_HDCP_SHA_STATUS_BLOCK_DONE 0x00000001
406#define HDMI_HDCP_SHA_STATUS_COMP_DONE 0x00000010
407
408#define REG_HDMI_HDCP_SHA_DATA 0x00000244
409#define HDMI_HDCP_SHA_DATA_DONE 0x00000001
410
0cf6c71d
RC
411#define REG_HDMI_HPD_INT_STATUS 0x00000250
412#define HDMI_HPD_INT_STATUS_INT 0x00000001
413#define HDMI_HPD_INT_STATUS_CABLE_DETECTED 0x00000002
414
415#define REG_HDMI_HPD_INT_CTRL 0x00000254
416#define HDMI_HPD_INT_CTRL_INT_ACK 0x00000001
417#define HDMI_HPD_INT_CTRL_INT_CONNECT 0x00000002
418#define HDMI_HPD_INT_CTRL_INT_EN 0x00000004
419#define HDMI_HPD_INT_CTRL_RX_INT_ACK 0x00000010
420#define HDMI_HPD_INT_CTRL_RX_INT_EN 0x00000020
421#define HDMI_HPD_INT_CTRL_RCV_PLUGIN_DET_MASK 0x00000200
422
423#define REG_HDMI_HPD_CTRL 0x00000258
424#define HDMI_HPD_CTRL_TIMEOUT__MASK 0x00001fff
425#define HDMI_HPD_CTRL_TIMEOUT__SHIFT 0
426static inline uint32_t HDMI_HPD_CTRL_TIMEOUT(uint32_t val)
427{
428 return ((val) << HDMI_HPD_CTRL_TIMEOUT__SHIFT) & HDMI_HPD_CTRL_TIMEOUT__MASK;
429}
430#define HDMI_HPD_CTRL_ENABLE 0x10000000
431
432#define REG_HDMI_DDC_REF 0x0000027c
433#define HDMI_DDC_REF_REFTIMER_ENABLE 0x00010000
434#define HDMI_DDC_REF_REFTIMER__MASK 0x0000ffff
435#define HDMI_DDC_REF_REFTIMER__SHIFT 0
436static inline uint32_t HDMI_DDC_REF_REFTIMER(uint32_t val)
437{
438 return ((val) << HDMI_DDC_REF_REFTIMER__SHIFT) & HDMI_DDC_REF_REFTIMER__MASK;
439}
440
8a264743
RC
441#define REG_HDMI_HDCP_SW_UPPER_AKSV 0x00000284
442
443#define REG_HDMI_HDCP_SW_LOWER_AKSV 0x00000288
444
2d3584eb
RC
445#define REG_HDMI_CEC_CTRL 0x0000028c
446
447#define REG_HDMI_CEC_WR_DATA 0x00000290
448
449#define REG_HDMI_CEC_CEC_RETRANSMIT 0x00000294
450
facb4f4e
RC
451#define REG_HDMI_CEC_STATUS 0x00000298
452
453#define REG_HDMI_CEC_INT 0x0000029c
454
455#define REG_HDMI_CEC_ADDR 0x000002a0
456
457#define REG_HDMI_CEC_TIME 0x000002a4
458
459#define REG_HDMI_CEC_REFTIMER 0x000002a8
460
461#define REG_HDMI_CEC_RD_DATA 0x000002ac
462
463#define REG_HDMI_CEC_RD_FILTER 0x000002b0
464
0cf6c71d
RC
465#define REG_HDMI_ACTIVE_HSYNC 0x000002b4
466#define HDMI_ACTIVE_HSYNC_START__MASK 0x00000fff
467#define HDMI_ACTIVE_HSYNC_START__SHIFT 0
468static inline uint32_t HDMI_ACTIVE_HSYNC_START(uint32_t val)
469{
470 return ((val) << HDMI_ACTIVE_HSYNC_START__SHIFT) & HDMI_ACTIVE_HSYNC_START__MASK;
471}
472#define HDMI_ACTIVE_HSYNC_END__MASK 0x0fff0000
473#define HDMI_ACTIVE_HSYNC_END__SHIFT 16
474static inline uint32_t HDMI_ACTIVE_HSYNC_END(uint32_t val)
475{
476 return ((val) << HDMI_ACTIVE_HSYNC_END__SHIFT) & HDMI_ACTIVE_HSYNC_END__MASK;
477}
478
479#define REG_HDMI_ACTIVE_VSYNC 0x000002b8
480#define HDMI_ACTIVE_VSYNC_START__MASK 0x00000fff
481#define HDMI_ACTIVE_VSYNC_START__SHIFT 0
482static inline uint32_t HDMI_ACTIVE_VSYNC_START(uint32_t val)
483{
484 return ((val) << HDMI_ACTIVE_VSYNC_START__SHIFT) & HDMI_ACTIVE_VSYNC_START__MASK;
485}
486#define HDMI_ACTIVE_VSYNC_END__MASK 0x0fff0000
487#define HDMI_ACTIVE_VSYNC_END__SHIFT 16
488static inline uint32_t HDMI_ACTIVE_VSYNC_END(uint32_t val)
489{
490 return ((val) << HDMI_ACTIVE_VSYNC_END__SHIFT) & HDMI_ACTIVE_VSYNC_END__MASK;
491}
492
493#define REG_HDMI_VSYNC_ACTIVE_F2 0x000002bc
494#define HDMI_VSYNC_ACTIVE_F2_START__MASK 0x00000fff
495#define HDMI_VSYNC_ACTIVE_F2_START__SHIFT 0
496static inline uint32_t HDMI_VSYNC_ACTIVE_F2_START(uint32_t val)
497{
498 return ((val) << HDMI_VSYNC_ACTIVE_F2_START__SHIFT) & HDMI_VSYNC_ACTIVE_F2_START__MASK;
499}
500#define HDMI_VSYNC_ACTIVE_F2_END__MASK 0x0fff0000
501#define HDMI_VSYNC_ACTIVE_F2_END__SHIFT 16
502static inline uint32_t HDMI_VSYNC_ACTIVE_F2_END(uint32_t val)
503{
504 return ((val) << HDMI_VSYNC_ACTIVE_F2_END__SHIFT) & HDMI_VSYNC_ACTIVE_F2_END__MASK;
505}
506
507#define REG_HDMI_TOTAL 0x000002c0
508#define HDMI_TOTAL_H_TOTAL__MASK 0x00000fff
509#define HDMI_TOTAL_H_TOTAL__SHIFT 0
510static inline uint32_t HDMI_TOTAL_H_TOTAL(uint32_t val)
511{
512 return ((val) << HDMI_TOTAL_H_TOTAL__SHIFT) & HDMI_TOTAL_H_TOTAL__MASK;
513}
514#define HDMI_TOTAL_V_TOTAL__MASK 0x0fff0000
515#define HDMI_TOTAL_V_TOTAL__SHIFT 16
516static inline uint32_t HDMI_TOTAL_V_TOTAL(uint32_t val)
517{
518 return ((val) << HDMI_TOTAL_V_TOTAL__SHIFT) & HDMI_TOTAL_V_TOTAL__MASK;
519}
520
521#define REG_HDMI_VSYNC_TOTAL_F2 0x000002c4
522#define HDMI_VSYNC_TOTAL_F2_V_TOTAL__MASK 0x00000fff
523#define HDMI_VSYNC_TOTAL_F2_V_TOTAL__SHIFT 0
524static inline uint32_t HDMI_VSYNC_TOTAL_F2_V_TOTAL(uint32_t val)
525{
526 return ((val) << HDMI_VSYNC_TOTAL_F2_V_TOTAL__SHIFT) & HDMI_VSYNC_TOTAL_F2_V_TOTAL__MASK;
527}
528
529#define REG_HDMI_FRAME_CTRL 0x000002c8
530#define HDMI_FRAME_CTRL_RGB_MUX_SEL_BGR 0x00001000
531#define HDMI_FRAME_CTRL_VSYNC_LOW 0x10000000
532#define HDMI_FRAME_CTRL_HSYNC_LOW 0x20000000
533#define HDMI_FRAME_CTRL_INTERLACED_EN 0x80000000
534
facb4f4e
RC
535#define REG_HDMI_AUD_INT 0x000002cc
536#define HDMI_AUD_INT_AUD_FIFO_URUN_INT 0x00000001
537#define HDMI_AUD_INT_AUD_FIFO_URAN_MASK 0x00000002
538#define HDMI_AUD_INT_AUD_SAM_DROP_INT 0x00000004
539#define HDMI_AUD_INT_AUD_SAM_DROP_MASK 0x00000008
540
0cf6c71d
RC
541#define REG_HDMI_PHY_CTRL 0x000002d4
542#define HDMI_PHY_CTRL_SW_RESET_PLL 0x00000001
543#define HDMI_PHY_CTRL_SW_RESET_PLL_LOW 0x00000002
544#define HDMI_PHY_CTRL_SW_RESET 0x00000004
545#define HDMI_PHY_CTRL_SW_RESET_LOW 0x00000008
546
facb4f4e
RC
547#define REG_HDMI_CEC_WR_RANGE 0x000002dc
548
549#define REG_HDMI_CEC_RD_RANGE 0x000002e0
550
551#define REG_HDMI_VERSION 0x000002e4
552
553#define REG_HDMI_CEC_COMPL_CTL 0x00000360
554
555#define REG_HDMI_CEC_RD_START_RANGE 0x00000364
556
557#define REG_HDMI_CEC_RD_TOTAL_RANGE 0x00000368
558
559#define REG_HDMI_CEC_RD_ERR_RESP_LO 0x0000036c
560
561#define REG_HDMI_CEC_WR_CHECK_CONFIG 0x00000370
0cf6c71d 562
568be320 563#define REG_HDMI_8x60_PHY_REG0 0x00000000
0cf6c71d
RC
564#define HDMI_8x60_PHY_REG0_DESER_DEL_CTRL__MASK 0x0000001c
565#define HDMI_8x60_PHY_REG0_DESER_DEL_CTRL__SHIFT 2
566static inline uint32_t HDMI_8x60_PHY_REG0_DESER_DEL_CTRL(uint32_t val)
567{
568 return ((val) << HDMI_8x60_PHY_REG0_DESER_DEL_CTRL__SHIFT) & HDMI_8x60_PHY_REG0_DESER_DEL_CTRL__MASK;
569}
570
568be320 571#define REG_HDMI_8x60_PHY_REG1 0x00000004
0cf6c71d
RC
572#define HDMI_8x60_PHY_REG1_DTEST_MUX_SEL__MASK 0x000000f0
573#define HDMI_8x60_PHY_REG1_DTEST_MUX_SEL__SHIFT 4
574static inline uint32_t HDMI_8x60_PHY_REG1_DTEST_MUX_SEL(uint32_t val)
575{
576 return ((val) << HDMI_8x60_PHY_REG1_DTEST_MUX_SEL__SHIFT) & HDMI_8x60_PHY_REG1_DTEST_MUX_SEL__MASK;
577}
578#define HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL__MASK 0x0000000f
579#define HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL__SHIFT 0
580static inline uint32_t HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL(uint32_t val)
581{
582 return ((val) << HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL__SHIFT) & HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL__MASK;
583}
584
568be320 585#define REG_HDMI_8x60_PHY_REG2 0x00000008
0cf6c71d
RC
586#define HDMI_8x60_PHY_REG2_PD_DESER 0x00000001
587#define HDMI_8x60_PHY_REG2_PD_DRIVE_1 0x00000002
588#define HDMI_8x60_PHY_REG2_PD_DRIVE_2 0x00000004
589#define HDMI_8x60_PHY_REG2_PD_DRIVE_3 0x00000008
590#define HDMI_8x60_PHY_REG2_PD_DRIVE_4 0x00000010
591#define HDMI_8x60_PHY_REG2_PD_PLL 0x00000020
592#define HDMI_8x60_PHY_REG2_PD_PWRGEN 0x00000040
593#define HDMI_8x60_PHY_REG2_RCV_SENSE_EN 0x00000080
594
568be320 595#define REG_HDMI_8x60_PHY_REG3 0x0000000c
0cf6c71d
RC
596#define HDMI_8x60_PHY_REG3_PLL_ENABLE 0x00000001
597
568be320 598#define REG_HDMI_8x60_PHY_REG4 0x00000010
0cf6c71d 599
568be320 600#define REG_HDMI_8x60_PHY_REG5 0x00000014
0cf6c71d 601
568be320 602#define REG_HDMI_8x60_PHY_REG6 0x00000018
0cf6c71d 603
568be320 604#define REG_HDMI_8x60_PHY_REG7 0x0000001c
0cf6c71d 605
568be320 606#define REG_HDMI_8x60_PHY_REG8 0x00000020
0cf6c71d 607
568be320 608#define REG_HDMI_8x60_PHY_REG9 0x00000024
0cf6c71d 609
568be320 610#define REG_HDMI_8x60_PHY_REG10 0x00000028
0cf6c71d 611
568be320 612#define REG_HDMI_8x60_PHY_REG11 0x0000002c
0cf6c71d 613
568be320 614#define REG_HDMI_8x60_PHY_REG12 0x00000030
0cf6c71d
RC
615#define HDMI_8x60_PHY_REG12_RETIMING_EN 0x00000001
616#define HDMI_8x60_PHY_REG12_PLL_LOCK_DETECT_EN 0x00000002
617#define HDMI_8x60_PHY_REG12_FORCE_LOCK 0x00000010
618
568be320 619#define REG_HDMI_8960_PHY_REG0 0x00000000
0cf6c71d 620
568be320 621#define REG_HDMI_8960_PHY_REG1 0x00000004
0cf6c71d 622
568be320 623#define REG_HDMI_8960_PHY_REG2 0x00000008
0cf6c71d 624
568be320 625#define REG_HDMI_8960_PHY_REG3 0x0000000c
0cf6c71d 626
568be320 627#define REG_HDMI_8960_PHY_REG4 0x00000010
0cf6c71d 628
568be320 629#define REG_HDMI_8960_PHY_REG5 0x00000014
0cf6c71d 630
568be320 631#define REG_HDMI_8960_PHY_REG6 0x00000018
0cf6c71d 632
568be320 633#define REG_HDMI_8960_PHY_REG7 0x0000001c
0cf6c71d 634
568be320 635#define REG_HDMI_8960_PHY_REG8 0x00000020
0cf6c71d 636
568be320 637#define REG_HDMI_8960_PHY_REG9 0x00000024
0cf6c71d 638
568be320 639#define REG_HDMI_8960_PHY_REG10 0x00000028
0cf6c71d 640
568be320 641#define REG_HDMI_8960_PHY_REG11 0x0000002c
0cf6c71d 642
568be320 643#define REG_HDMI_8960_PHY_REG12 0x00000030
89301471
RC
644#define HDMI_8960_PHY_REG12_SW_RESET 0x00000020
645#define HDMI_8960_PHY_REG12_PWRDN_B 0x00000080
646
568be320 647#define REG_HDMI_8960_PHY_REG_BIST_CFG 0x00000034
89301471 648
568be320 649#define REG_HDMI_8960_PHY_DEBUG_BUS_SEL 0x00000038
89301471 650
568be320 651#define REG_HDMI_8960_PHY_REG_MISC0 0x0000003c
89301471 652
568be320 653#define REG_HDMI_8960_PHY_REG13 0x00000040
89301471 654
568be320 655#define REG_HDMI_8960_PHY_REG14 0x00000044
89301471 656
568be320 657#define REG_HDMI_8960_PHY_REG15 0x00000048
89301471 658
568be320 659#define REG_HDMI_8960_PHY_PLL_REFCLK_CFG 0x00000000
89301471 660
568be320 661#define REG_HDMI_8960_PHY_PLL_CHRG_PUMP_CFG 0x00000004
89301471 662
568be320 663#define REG_HDMI_8960_PHY_PLL_LOOP_FLT_CFG0 0x00000008
89301471 664
568be320 665#define REG_HDMI_8960_PHY_PLL_LOOP_FLT_CFG1 0x0000000c
89301471 666
568be320 667#define REG_HDMI_8960_PHY_PLL_IDAC_ADJ_CFG 0x00000010
89301471 668
568be320 669#define REG_HDMI_8960_PHY_PLL_I_VI_KVCO_CFG 0x00000014
89301471 670
568be320 671#define REG_HDMI_8960_PHY_PLL_PWRDN_B 0x00000018
89301471
RC
672#define HDMI_8960_PHY_PLL_PWRDN_B_PD_PLL 0x00000002
673#define HDMI_8960_PHY_PLL_PWRDN_B_PLL_PWRDN_B 0x00000008
674
568be320 675#define REG_HDMI_8960_PHY_PLL_SDM_CFG0 0x0000001c
89301471 676
568be320 677#define REG_HDMI_8960_PHY_PLL_SDM_CFG1 0x00000020
89301471 678
568be320 679#define REG_HDMI_8960_PHY_PLL_SDM_CFG2 0x00000024
89301471 680
568be320 681#define REG_HDMI_8960_PHY_PLL_SDM_CFG3 0x00000028
89301471 682
568be320 683#define REG_HDMI_8960_PHY_PLL_SDM_CFG4 0x0000002c
89301471 684
568be320 685#define REG_HDMI_8960_PHY_PLL_SSC_CFG0 0x00000030
89301471 686
568be320 687#define REG_HDMI_8960_PHY_PLL_SSC_CFG1 0x00000034
89301471 688
568be320 689#define REG_HDMI_8960_PHY_PLL_SSC_CFG2 0x00000038
89301471 690
568be320 691#define REG_HDMI_8960_PHY_PLL_SSC_CFG3 0x0000003c
89301471 692
568be320 693#define REG_HDMI_8960_PHY_PLL_LOCKDET_CFG0 0x00000040
89301471 694
568be320 695#define REG_HDMI_8960_PHY_PLL_LOCKDET_CFG1 0x00000044
89301471 696
568be320 697#define REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2 0x00000048
89301471 698
568be320 699#define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG0 0x0000004c
89301471 700
568be320 701#define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG1 0x00000050
89301471 702
568be320 703#define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG2 0x00000054
89301471 704
568be320 705#define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG3 0x00000058
89301471 706
568be320 707#define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG4 0x0000005c
89301471 708
568be320 709#define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG5 0x00000060
89301471 710
568be320 711#define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG6 0x00000064
89301471 712
568be320 713#define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG7 0x00000068
89301471 714
568be320 715#define REG_HDMI_8960_PHY_PLL_DEBUG_SEL 0x0000006c
89301471 716
568be320 717#define REG_HDMI_8960_PHY_PLL_MISC0 0x00000070
89301471 718
568be320 719#define REG_HDMI_8960_PHY_PLL_MISC1 0x00000074
89301471 720
568be320 721#define REG_HDMI_8960_PHY_PLL_MISC2 0x00000078
89301471 722
568be320 723#define REG_HDMI_8960_PHY_PLL_MISC3 0x0000007c
89301471 724
568be320 725#define REG_HDMI_8960_PHY_PLL_MISC4 0x00000080
89301471 726
568be320 727#define REG_HDMI_8960_PHY_PLL_MISC5 0x00000084
89301471 728
568be320 729#define REG_HDMI_8960_PHY_PLL_MISC6 0x00000088
89301471 730
568be320 731#define REG_HDMI_8960_PHY_PLL_DEBUG_BUS0 0x0000008c
89301471 732
568be320 733#define REG_HDMI_8960_PHY_PLL_DEBUG_BUS1 0x00000090
89301471 734
568be320 735#define REG_HDMI_8960_PHY_PLL_DEBUG_BUS2 0x00000094
89301471 736
568be320 737#define REG_HDMI_8960_PHY_PLL_STATUS0 0x00000098
89301471
RC
738#define HDMI_8960_PHY_PLL_STATUS0_PLL_LOCK 0x00000001
739
568be320 740#define REG_HDMI_8960_PHY_PLL_STATUS1 0x0000009c
0cf6c71d 741
facb4f4e
RC
742#define REG_HDMI_8x74_ANA_CFG0 0x00000000
743
744#define REG_HDMI_8x74_ANA_CFG1 0x00000004
745
746#define REG_HDMI_8x74_PD_CTRL0 0x00000010
747
748#define REG_HDMI_8x74_PD_CTRL1 0x00000014
749
750#define REG_HDMI_8x74_BIST_CFG0 0x00000034
751
752#define REG_HDMI_8x74_BIST_PATN0 0x0000003c
753
754#define REG_HDMI_8x74_BIST_PATN1 0x00000040
755
756#define REG_HDMI_8x74_BIST_PATN2 0x00000044
757
758#define REG_HDMI_8x74_BIST_PATN3 0x00000048
759
af6cb4c1
RC
760#define REG_HDMI_28nm_PHY_PLL_REFCLK_CFG 0x00000000
761
762#define REG_HDMI_28nm_PHY_PLL_POSTDIV1_CFG 0x00000004
763
764#define REG_HDMI_28nm_PHY_PLL_CHGPUMP_CFG 0x00000008
765
766#define REG_HDMI_28nm_PHY_PLL_VCOLPF_CFG 0x0000000c
767
768#define REG_HDMI_28nm_PHY_PLL_VREG_CFG 0x00000010
769
770#define REG_HDMI_28nm_PHY_PLL_PWRGEN_CFG 0x00000014
771
772#define REG_HDMI_28nm_PHY_PLL_DMUX_CFG 0x00000018
773
774#define REG_HDMI_28nm_PHY_PLL_AMUX_CFG 0x0000001c
775
776#define REG_HDMI_28nm_PHY_PLL_GLB_CFG 0x00000020
777#define HDMI_28nm_PHY_PLL_GLB_CFG_PLL_PWRDN_B 0x00000001
778#define HDMI_28nm_PHY_PLL_GLB_CFG_PLL_LDO_PWRDN_B 0x00000002
779#define HDMI_28nm_PHY_PLL_GLB_CFG_PLL_PWRGEN_PWRDN_B 0x00000004
780#define HDMI_28nm_PHY_PLL_GLB_CFG_PLL_ENABLE 0x00000008
781
782#define REG_HDMI_28nm_PHY_PLL_POSTDIV2_CFG 0x00000024
783
784#define REG_HDMI_28nm_PHY_PLL_POSTDIV3_CFG 0x00000028
785
786#define REG_HDMI_28nm_PHY_PLL_LPFR_CFG 0x0000002c
787
788#define REG_HDMI_28nm_PHY_PLL_LPFC1_CFG 0x00000030
789
790#define REG_HDMI_28nm_PHY_PLL_LPFC2_CFG 0x00000034
791
792#define REG_HDMI_28nm_PHY_PLL_SDM_CFG0 0x00000038
793
794#define REG_HDMI_28nm_PHY_PLL_SDM_CFG1 0x0000003c
795
796#define REG_HDMI_28nm_PHY_PLL_SDM_CFG2 0x00000040
797
798#define REG_HDMI_28nm_PHY_PLL_SDM_CFG3 0x00000044
799
800#define REG_HDMI_28nm_PHY_PLL_SDM_CFG4 0x00000048
801
802#define REG_HDMI_28nm_PHY_PLL_SSC_CFG0 0x0000004c
803
804#define REG_HDMI_28nm_PHY_PLL_SSC_CFG1 0x00000050
805
806#define REG_HDMI_28nm_PHY_PLL_SSC_CFG2 0x00000054
807
808#define REG_HDMI_28nm_PHY_PLL_SSC_CFG3 0x00000058
809
810#define REG_HDMI_28nm_PHY_PLL_LKDET_CFG0 0x0000005c
811
812#define REG_HDMI_28nm_PHY_PLL_LKDET_CFG1 0x00000060
813
814#define REG_HDMI_28nm_PHY_PLL_LKDET_CFG2 0x00000064
815
816#define REG_HDMI_28nm_PHY_PLL_TEST_CFG 0x00000068
817#define HDMI_28nm_PHY_PLL_TEST_CFG_PLL_SW_RESET 0x00000001
818
819#define REG_HDMI_28nm_PHY_PLL_CAL_CFG0 0x0000006c
820
821#define REG_HDMI_28nm_PHY_PLL_CAL_CFG1 0x00000070
822
823#define REG_HDMI_28nm_PHY_PLL_CAL_CFG2 0x00000074
824
825#define REG_HDMI_28nm_PHY_PLL_CAL_CFG3 0x00000078
826
827#define REG_HDMI_28nm_PHY_PLL_CAL_CFG4 0x0000007c
828
829#define REG_HDMI_28nm_PHY_PLL_CAL_CFG5 0x00000080
830
831#define REG_HDMI_28nm_PHY_PLL_CAL_CFG6 0x00000084
832
833#define REG_HDMI_28nm_PHY_PLL_CAL_CFG7 0x00000088
834
835#define REG_HDMI_28nm_PHY_PLL_CAL_CFG8 0x0000008c
836
837#define REG_HDMI_28nm_PHY_PLL_CAL_CFG9 0x00000090
838
839#define REG_HDMI_28nm_PHY_PLL_CAL_CFG10 0x00000094
840
841#define REG_HDMI_28nm_PHY_PLL_CAL_CFG11 0x00000098
842
843#define REG_HDMI_28nm_PHY_PLL_EFUSE_CFG 0x0000009c
844
845#define REG_HDMI_28nm_PHY_PLL_DEBUG_BUS_SEL 0x000000a0
846
e9a2ce13
AT
847#define REG_HDMI_8996_PHY_CFG 0x00000000
848
849#define REG_HDMI_8996_PHY_PD_CTL 0x00000004
850
851#define REG_HDMI_8996_PHY_MODE 0x00000008
852
853#define REG_HDMI_8996_PHY_MISR_CLEAR 0x0000000c
854
855#define REG_HDMI_8996_PHY_TX0_TX1_BIST_CFG0 0x00000010
856
857#define REG_HDMI_8996_PHY_TX0_TX1_BIST_CFG1 0x00000014
858
859#define REG_HDMI_8996_PHY_TX0_TX1_PRBS_SEED_BYTE0 0x00000018
860
861#define REG_HDMI_8996_PHY_TX0_TX1_PRBS_SEED_BYTE1 0x0000001c
862
863#define REG_HDMI_8996_PHY_TX0_TX1_BIST_PATTERN0 0x00000020
864
865#define REG_HDMI_8996_PHY_TX0_TX1_BIST_PATTERN1 0x00000024
866
867#define REG_HDMI_8996_PHY_TX2_TX3_BIST_CFG0 0x00000028
868
869#define REG_HDMI_8996_PHY_TX2_TX3_BIST_CFG1 0x0000002c
870
871#define REG_HDMI_8996_PHY_TX2_TX3_PRBS_SEED_BYTE0 0x00000030
872
873#define REG_HDMI_8996_PHY_TX2_TX3_PRBS_SEED_BYTE1 0x00000034
874
875#define REG_HDMI_8996_PHY_TX2_TX3_BIST_PATTERN0 0x00000038
876
877#define REG_HDMI_8996_PHY_TX2_TX3_BIST_PATTERN1 0x0000003c
878
879#define REG_HDMI_8996_PHY_DEBUG_BUS_SEL 0x00000040
880
881#define REG_HDMI_8996_PHY_TXCAL_CFG0 0x00000044
882
883#define REG_HDMI_8996_PHY_TXCAL_CFG1 0x00000048
884
885#define REG_HDMI_8996_PHY_TX0_TX1_LANE_CTL 0x0000004c
886
887#define REG_HDMI_8996_PHY_TX2_TX3_LANE_CTL 0x00000050
888
889#define REG_HDMI_8996_PHY_LANE_BIST_CONFIG 0x00000054
890
891#define REG_HDMI_8996_PHY_CLOCK 0x00000058
892
893#define REG_HDMI_8996_PHY_MISC1 0x0000005c
894
895#define REG_HDMI_8996_PHY_MISC2 0x00000060
896
897#define REG_HDMI_8996_PHY_TX0_TX1_BIST_STATUS0 0x00000064
898
899#define REG_HDMI_8996_PHY_TX0_TX1_BIST_STATUS1 0x00000068
900
901#define REG_HDMI_8996_PHY_TX0_TX1_BIST_STATUS2 0x0000006c
902
903#define REG_HDMI_8996_PHY_TX2_TX3_BIST_STATUS0 0x00000070
904
905#define REG_HDMI_8996_PHY_TX2_TX3_BIST_STATUS1 0x00000074
906
907#define REG_HDMI_8996_PHY_TX2_TX3_BIST_STATUS2 0x00000078
908
909#define REG_HDMI_8996_PHY_PRE_MISR_STATUS0 0x0000007c
910
911#define REG_HDMI_8996_PHY_PRE_MISR_STATUS1 0x00000080
912
913#define REG_HDMI_8996_PHY_PRE_MISR_STATUS2 0x00000084
914
915#define REG_HDMI_8996_PHY_PRE_MISR_STATUS3 0x00000088
916
917#define REG_HDMI_8996_PHY_POST_MISR_STATUS0 0x0000008c
918
919#define REG_HDMI_8996_PHY_POST_MISR_STATUS1 0x00000090
920
921#define REG_HDMI_8996_PHY_POST_MISR_STATUS2 0x00000094
922
923#define REG_HDMI_8996_PHY_POST_MISR_STATUS3 0x00000098
924
925#define REG_HDMI_8996_PHY_STATUS 0x0000009c
926
927#define REG_HDMI_8996_PHY_MISC3_STATUS 0x000000a0
928
929#define REG_HDMI_8996_PHY_MISC4_STATUS 0x000000a4
930
931#define REG_HDMI_8996_PHY_DEBUG_BUS0 0x000000a8
932
933#define REG_HDMI_8996_PHY_DEBUG_BUS1 0x000000ac
934
935#define REG_HDMI_8996_PHY_DEBUG_BUS2 0x000000b0
936
937#define REG_HDMI_8996_PHY_DEBUG_BUS3 0x000000b4
938
939#define REG_HDMI_8996_PHY_PHY_REVISION_ID0 0x000000b8
940
941#define REG_HDMI_8996_PHY_PHY_REVISION_ID1 0x000000bc
942
943#define REG_HDMI_8996_PHY_PHY_REVISION_ID2 0x000000c0
944
945#define REG_HDMI_8996_PHY_PHY_REVISION_ID3 0x000000c4
946
947#define REG_HDMI_PHY_QSERDES_COM_ATB_SEL1 0x00000000
948
949#define REG_HDMI_PHY_QSERDES_COM_ATB_SEL2 0x00000004
950
951#define REG_HDMI_PHY_QSERDES_COM_FREQ_UPDATE 0x00000008
952
953#define REG_HDMI_PHY_QSERDES_COM_BG_TIMER 0x0000000c
954
955#define REG_HDMI_PHY_QSERDES_COM_SSC_EN_CENTER 0x00000010
956
957#define REG_HDMI_PHY_QSERDES_COM_SSC_ADJ_PER1 0x00000014
958
959#define REG_HDMI_PHY_QSERDES_COM_SSC_ADJ_PER2 0x00000018
960
961#define REG_HDMI_PHY_QSERDES_COM_SSC_PER1 0x0000001c
962
963#define REG_HDMI_PHY_QSERDES_COM_SSC_PER2 0x00000020
964
965#define REG_HDMI_PHY_QSERDES_COM_SSC_STEP_SIZE1 0x00000024
966
967#define REG_HDMI_PHY_QSERDES_COM_SSC_STEP_SIZE2 0x00000028
968
969#define REG_HDMI_PHY_QSERDES_COM_POST_DIV 0x0000002c
970
971#define REG_HDMI_PHY_QSERDES_COM_POST_DIV_MUX 0x00000030
972
973#define REG_HDMI_PHY_QSERDES_COM_BIAS_EN_CLKBUFLR_EN 0x00000034
974
975#define REG_HDMI_PHY_QSERDES_COM_CLK_ENABLE1 0x00000038
976
977#define REG_HDMI_PHY_QSERDES_COM_SYS_CLK_CTRL 0x0000003c
978
979#define REG_HDMI_PHY_QSERDES_COM_SYSCLK_BUF_ENABLE 0x00000040
980
981#define REG_HDMI_PHY_QSERDES_COM_PLL_EN 0x00000044
982
983#define REG_HDMI_PHY_QSERDES_COM_PLL_IVCO 0x00000048
984
985#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE0 0x0000004c
986
987#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE0 0x00000050
988
989#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE0 0x00000054
990
991#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE1 0x00000058
992
993#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE1 0x0000005c
994
995#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE1 0x00000060
996
997#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE2 0x00000064
998
999#define REG_HDMI_PHY_QSERDES_COM_CMN_RSVD0 0x00000064
1000
1001#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE2 0x00000068
1002
1003#define REG_HDMI_PHY_QSERDES_COM_EP_CLOCK_DETECT_CTRL 0x00000068
1004
1005#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE2 0x0000006c
1006
1007#define REG_HDMI_PHY_QSERDES_COM_SYSCLK_DET_COMP_STATUS 0x0000006c
1008
1009#define REG_HDMI_PHY_QSERDES_COM_BG_TRIM 0x00000070
1010
1011#define REG_HDMI_PHY_QSERDES_COM_CLK_EP_DIV 0x00000074
1012
1013#define REG_HDMI_PHY_QSERDES_COM_CP_CTRL_MODE0 0x00000078
1014
1015#define REG_HDMI_PHY_QSERDES_COM_CP_CTRL_MODE1 0x0000007c
1016
1017#define REG_HDMI_PHY_QSERDES_COM_CP_CTRL_MODE2 0x00000080
1018
1019#define REG_HDMI_PHY_QSERDES_COM_CMN_RSVD1 0x00000080
1020
1021#define REG_HDMI_PHY_QSERDES_COM_PLL_RCTRL_MODE0 0x00000084
1022
1023#define REG_HDMI_PHY_QSERDES_COM_PLL_RCTRL_MODE1 0x00000088
1024
1025#define REG_HDMI_PHY_QSERDES_COM_PLL_RCTRL_MODE2 0x0000008c
1026
1027#define REG_HDMI_PHY_QSERDES_COM_CMN_RSVD2 0x0000008c
1028
1029#define REG_HDMI_PHY_QSERDES_COM_PLL_CCTRL_MODE0 0x00000090
1030
1031#define REG_HDMI_PHY_QSERDES_COM_PLL_CCTRL_MODE1 0x00000094
1032
1033#define REG_HDMI_PHY_QSERDES_COM_PLL_CCTRL_MODE2 0x00000098
1034
1035#define REG_HDMI_PHY_QSERDES_COM_CMN_RSVD3 0x00000098
1036
1037#define REG_HDMI_PHY_QSERDES_COM_PLL_CNTRL 0x0000009c
1038
1039#define REG_HDMI_PHY_QSERDES_COM_PHASE_SEL_CTRL 0x000000a0
1040
1041#define REG_HDMI_PHY_QSERDES_COM_PHASE_SEL_DC 0x000000a4
1042
1043#define REG_HDMI_PHY_QSERDES_COM_CORE_CLK_IN_SYNC_SEL 0x000000a8
1044
1045#define REG_HDMI_PHY_QSERDES_COM_BIAS_EN_CTRL_BY_PSM 0x000000a8
1046
1047#define REG_HDMI_PHY_QSERDES_COM_SYSCLK_EN_SEL 0x000000ac
1048
1049#define REG_HDMI_PHY_QSERDES_COM_CML_SYSCLK_SEL 0x000000b0
1050
1051#define REG_HDMI_PHY_QSERDES_COM_RESETSM_CNTRL 0x000000b4
1052
1053#define REG_HDMI_PHY_QSERDES_COM_RESETSM_CNTRL2 0x000000b8
1054
1055#define REG_HDMI_PHY_QSERDES_COM_RESTRIM_CTRL 0x000000bc
1056
1057#define REG_HDMI_PHY_QSERDES_COM_RESTRIM_CTRL2 0x000000c0
1058
1059#define REG_HDMI_PHY_QSERDES_COM_RESCODE_DIV_NUM 0x000000c4
1060
1061#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP_EN 0x000000c8
1062
1063#define REG_HDMI_PHY_QSERDES_COM_LOCK_CMP_CFG 0x000000cc
1064
1065#define REG_HDMI_PHY_QSERDES_COM_DEC_START_MODE0 0x000000d0
1066
1067#define REG_HDMI_PHY_QSERDES_COM_DEC_START_MODE1 0x000000d4
1068
1069#define REG_HDMI_PHY_QSERDES_COM_DEC_START_MODE2 0x000000d8
1070
1071#define REG_HDMI_PHY_QSERDES_COM_VCOCAL_DEADMAN_CTRL 0x000000d8
1072
1073#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START1_MODE0 0x000000dc
1074
1075#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START2_MODE0 0x000000e0
1076
1077#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START3_MODE0 0x000000e4
1078
1079#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START1_MODE1 0x000000e8
1080
1081#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START2_MODE1 0x000000ec
1082
1083#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START3_MODE1 0x000000f0
1084
1085#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START1_MODE2 0x000000f4
1086
1087#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_MINVAL1 0x000000f4
1088
1089#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START2_MODE2 0x000000f8
1090
1091#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_MINVAL2 0x000000f8
1092
1093#define REG_HDMI_PHY_QSERDES_COM_DIV_FRAC_START3_MODE2 0x000000fc
1094
1095#define REG_HDMI_PHY_QSERDES_COM_CMN_RSVD4 0x000000fc
1096
1097#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_INITVAL 0x00000100
1098
1099#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_EN 0x00000104
1100
1101#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_GAIN0_MODE0 0x00000108
1102
1103#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_GAIN1_MODE0 0x0000010c
1104
1105#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_GAIN0_MODE1 0x00000110
1106
1107#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_GAIN1_MODE1 0x00000114
1108
1109#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_GAIN0_MODE2 0x00000118
1110
1111#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_MAXVAL1 0x00000118
1112
1113#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_GAIN1_MODE2 0x0000011c
1114
1115#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_MAXVAL2 0x0000011c
1116
1117#define REG_HDMI_PHY_QSERDES_COM_RES_TRIM_CONTROL2 0x00000120
1118
1119#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_CTRL 0x00000124
1120
1121#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_MAP 0x00000128
1122
1123#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE1_MODE0 0x0000012c
1124
1125#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE2_MODE0 0x00000130
1126
1127#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE1_MODE1 0x00000134
1128
1129#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE2_MODE1 0x00000138
1130
1131#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE1_MODE2 0x0000013c
1132
1133#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_INITVAL1 0x0000013c
1134
1135#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE2_MODE2 0x00000140
1136
1137#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_INITVAL2 0x00000140
1138
1139#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_TIMER1 0x00000144
1140
1141#define REG_HDMI_PHY_QSERDES_COM_VCO_TUNE_TIMER2 0x00000148
1142
1143#define REG_HDMI_PHY_QSERDES_COM_SAR 0x0000014c
1144
1145#define REG_HDMI_PHY_QSERDES_COM_SAR_CLK 0x00000150
1146
1147#define REG_HDMI_PHY_QSERDES_COM_SAR_CODE_OUT_STATUS 0x00000154
1148
1149#define REG_HDMI_PHY_QSERDES_COM_SAR_CODE_READY_STATUS 0x00000158
1150
1151#define REG_HDMI_PHY_QSERDES_COM_CMN_STATUS 0x0000015c
1152
1153#define REG_HDMI_PHY_QSERDES_COM_RESET_SM_STATUS 0x00000160
1154
1155#define REG_HDMI_PHY_QSERDES_COM_RESTRIM_CODE_STATUS 0x00000164
1156
1157#define REG_HDMI_PHY_QSERDES_COM_PLLCAL_CODE1_STATUS 0x00000168
1158
1159#define REG_HDMI_PHY_QSERDES_COM_PLLCAL_CODE2_STATUS 0x0000016c
1160
1161#define REG_HDMI_PHY_QSERDES_COM_BG_CTRL 0x00000170
1162
1163#define REG_HDMI_PHY_QSERDES_COM_CLK_SELECT 0x00000174
1164
1165#define REG_HDMI_PHY_QSERDES_COM_HSCLK_SEL 0x00000178
1166
1167#define REG_HDMI_PHY_QSERDES_COM_INTEGLOOP_BINCODE_STATUS 0x0000017c
1168
1169#define REG_HDMI_PHY_QSERDES_COM_PLL_ANALOG 0x00000180
1170
1171#define REG_HDMI_PHY_QSERDES_COM_CORECLK_DIV 0x00000184
1172
1173#define REG_HDMI_PHY_QSERDES_COM_SW_RESET 0x00000188
1174
1175#define REG_HDMI_PHY_QSERDES_COM_CORE_CLK_EN 0x0000018c
1176
1177#define REG_HDMI_PHY_QSERDES_COM_C_READY_STATUS 0x00000190
1178
1179#define REG_HDMI_PHY_QSERDES_COM_CMN_CONFIG 0x00000194
1180
1181#define REG_HDMI_PHY_QSERDES_COM_CMN_RATE_OVERRIDE 0x00000198
1182
1183#define REG_HDMI_PHY_QSERDES_COM_SVS_MODE_CLK_SEL 0x0000019c
1184
1185#define REG_HDMI_PHY_QSERDES_COM_DEBUG_BUS0 0x000001a0
1186
1187#define REG_HDMI_PHY_QSERDES_COM_DEBUG_BUS1 0x000001a4
1188
1189#define REG_HDMI_PHY_QSERDES_COM_DEBUG_BUS2 0x000001a8
1190
1191#define REG_HDMI_PHY_QSERDES_COM_DEBUG_BUS3 0x000001ac
1192
1193#define REG_HDMI_PHY_QSERDES_COM_DEBUG_BUS_SEL 0x000001b0
1194
1195#define REG_HDMI_PHY_QSERDES_COM_CMN_MISC1 0x000001b4
1196
1197#define REG_HDMI_PHY_QSERDES_COM_CMN_MISC2 0x000001b8
1198
1199#define REG_HDMI_PHY_QSERDES_COM_CORECLK_DIV_MODE1 0x000001bc
1200
1201#define REG_HDMI_PHY_QSERDES_COM_CORECLK_DIV_MODE2 0x000001c0
1202
1203#define REG_HDMI_PHY_QSERDES_COM_CMN_RSVD5 0x000001c4
1204
1205#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_MODE_LANENO 0x00000000
1206
1207#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_INVERT 0x00000004
1208
1209#define REG_HDMI_PHY_QSERDES_TX_LX_CLKBUF_ENABLE 0x00000008
1210
1211#define REG_HDMI_PHY_QSERDES_TX_LX_CMN_CONTROL_ONE 0x0000000c
1212
1213#define REG_HDMI_PHY_QSERDES_TX_LX_CMN_CONTROL_TWO 0x00000010
1214
1215#define REG_HDMI_PHY_QSERDES_TX_LX_CMN_CONTROL_THREE 0x00000014
1216
1217#define REG_HDMI_PHY_QSERDES_TX_LX_TX_EMP_POST1_LVL 0x00000018
1218
1219#define REG_HDMI_PHY_QSERDES_TX_LX_TX_POST2_EMPH 0x0000001c
1220
1221#define REG_HDMI_PHY_QSERDES_TX_LX_TX_BOOST_LVL_UP_DN 0x00000020
1222
1223#define REG_HDMI_PHY_QSERDES_TX_LX_HP_PD_ENABLES 0x00000024
1224
1225#define REG_HDMI_PHY_QSERDES_TX_LX_TX_IDLE_LVL_LARGE_AMP 0x00000028
1226
1227#define REG_HDMI_PHY_QSERDES_TX_LX_TX_DRV_LVL 0x0000002c
1228
1229#define REG_HDMI_PHY_QSERDES_TX_LX_TX_DRV_LVL_OFFSET 0x00000030
1230
1231#define REG_HDMI_PHY_QSERDES_TX_LX_RESET_TSYNC_EN 0x00000034
1232
1233#define REG_HDMI_PHY_QSERDES_TX_LX_PRE_STALL_LDO_BOOST_EN 0x00000038
1234
1235#define REG_HDMI_PHY_QSERDES_TX_LX_TX_BAND 0x0000003c
1236
1237#define REG_HDMI_PHY_QSERDES_TX_LX_SLEW_CNTL 0x00000040
1238
1239#define REG_HDMI_PHY_QSERDES_TX_LX_INTERFACE_SELECT 0x00000044
1240
1241#define REG_HDMI_PHY_QSERDES_TX_LX_LPB_EN 0x00000048
1242
1243#define REG_HDMI_PHY_QSERDES_TX_LX_RES_CODE_LANE_TX 0x0000004c
1244
1245#define REG_HDMI_PHY_QSERDES_TX_LX_RES_CODE_LANE_RX 0x00000050
1246
1247#define REG_HDMI_PHY_QSERDES_TX_LX_RES_CODE_LANE_OFFSET 0x00000054
1248
1249#define REG_HDMI_PHY_QSERDES_TX_LX_PERL_LENGTH1 0x00000058
1250
1251#define REG_HDMI_PHY_QSERDES_TX_LX_PERL_LENGTH2 0x0000005c
1252
1253#define REG_HDMI_PHY_QSERDES_TX_LX_SERDES_BYP_EN_OUT 0x00000060
1254
1255#define REG_HDMI_PHY_QSERDES_TX_LX_DEBUG_BUS_SEL 0x00000064
1256
1257#define REG_HDMI_PHY_QSERDES_TX_LX_HIGHZ_TRANSCEIVEREN_BIAS_DRVR_EN 0x00000068
1258
1259#define REG_HDMI_PHY_QSERDES_TX_LX_TX_POL_INV 0x0000006c
1260
1261#define REG_HDMI_PHY_QSERDES_TX_LX_PARRATE_REC_DETECT_IDLE_EN 0x00000070
1262
1263#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_PATTERN1 0x00000074
1264
1265#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_PATTERN2 0x00000078
1266
1267#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_PATTERN3 0x0000007c
1268
1269#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_PATTERN4 0x00000080
1270
1271#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_PATTERN5 0x00000084
1272
1273#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_PATTERN6 0x00000088
1274
1275#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_PATTERN7 0x0000008c
1276
1277#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_PATTERN8 0x00000090
1278
1279#define REG_HDMI_PHY_QSERDES_TX_LX_LANE_MODE 0x00000094
1280
1281#define REG_HDMI_PHY_QSERDES_TX_LX_IDAC_CAL_LANE_MODE 0x00000098
1282
1283#define REG_HDMI_PHY_QSERDES_TX_LX_IDAC_CAL_LANE_MODE_CONFIGURATION 0x0000009c
1284
1285#define REG_HDMI_PHY_QSERDES_TX_LX_ATB_SEL1 0x000000a0
1286
1287#define REG_HDMI_PHY_QSERDES_TX_LX_ATB_SEL2 0x000000a4
1288
1289#define REG_HDMI_PHY_QSERDES_TX_LX_RCV_DETECT_LVL 0x000000a8
1290
1291#define REG_HDMI_PHY_QSERDES_TX_LX_RCV_DETECT_LVL_2 0x000000ac
1292
1293#define REG_HDMI_PHY_QSERDES_TX_LX_PRBS_SEED1 0x000000b0
1294
1295#define REG_HDMI_PHY_QSERDES_TX_LX_PRBS_SEED2 0x000000b4
1296
1297#define REG_HDMI_PHY_QSERDES_TX_LX_PRBS_SEED3 0x000000b8
1298
1299#define REG_HDMI_PHY_QSERDES_TX_LX_PRBS_SEED4 0x000000bc
1300
1301#define REG_HDMI_PHY_QSERDES_TX_LX_RESET_GEN 0x000000c0
1302
1303#define REG_HDMI_PHY_QSERDES_TX_LX_RESET_GEN_MUXES 0x000000c4
1304
1305#define REG_HDMI_PHY_QSERDES_TX_LX_TRAN_DRVR_EMP_EN 0x000000c8
1306
1307#define REG_HDMI_PHY_QSERDES_TX_LX_TX_INTERFACE_MODE 0x000000cc
1308
1309#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_CTRL 0x000000d0
1310
1311#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_ENCODED_OR_DATA 0x000000d4
1312
1313#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_GEAR_1_DIVIDER_BAND2 0x000000d8
1314
1315#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_GEAR_2_DIVIDER_BAND2 0x000000dc
1316
1317#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_GEAR_3_DIVIDER_BAND2 0x000000e0
1318
1319#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_GEAR_4_DIVIDER_BAND2 0x000000e4
1320
1321#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_GEAR_1_DIVIDER_BAND0_1 0x000000e8
1322
1323#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_GEAR_2_DIVIDER_BAND0_1 0x000000ec
1324
1325#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_GEAR_3_DIVIDER_BAND0_1 0x000000f0
1326
1327#define REG_HDMI_PHY_QSERDES_TX_LX_PWM_GEAR_4_DIVIDER_BAND0_1 0x000000f4
1328
1329#define REG_HDMI_PHY_QSERDES_TX_LX_VMODE_CTRL1 0x000000f8
1330
1331#define REG_HDMI_PHY_QSERDES_TX_LX_VMODE_CTRL2 0x000000fc
1332
1333#define REG_HDMI_PHY_QSERDES_TX_LX_TX_ALOG_INTF_OBSV_CNTL 0x00000100
1334
1335#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_STATUS 0x00000104
1336
1337#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_ERROR_COUNT1 0x00000108
1338
1339#define REG_HDMI_PHY_QSERDES_TX_LX_BIST_ERROR_COUNT2 0x0000010c
1340
1341#define REG_HDMI_PHY_QSERDES_TX_LX_TX_ALOG_INTF_OBSV 0x00000110
1342
0cf6c71d
RC
1343
1344#endif /* HDMI_XML */