1bf215546Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2bf215546Sopenharmony_ci<database xmlns="http://nouveau.freedesktop.org/"
3bf215546Sopenharmony_cixmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4bf215546Sopenharmony_cixsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
5bf215546Sopenharmony_ci<import file="freedreno_copyright.xml"/>
6bf215546Sopenharmony_ci
7bf215546Sopenharmony_ci<!--
8bf215546Sopenharmony_ci	NOTE: also see mdss_hdmi_util.h.. newer devices using MDSS appear
9bf215546Sopenharmony_ci	to have the same HDMI block (or maybe a newer version?) but for
10bf215546Sopenharmony_ci	some reason duplicate the code under drivers/video/msm/mdss
11bf215546Sopenharmony_ci -->
12bf215546Sopenharmony_ci
13bf215546Sopenharmony_ci<domain name="HDMI" width="32">
14bf215546Sopenharmony_ci	<enum name="hdmi_hdcp_key_state">
15bf215546Sopenharmony_ci		<value name="HDCP_KEYS_STATE_NO_KEYS" value="0"/>
16bf215546Sopenharmony_ci		<value name="HDCP_KEYS_STATE_NOT_CHECKED" value="1"/>
17bf215546Sopenharmony_ci		<value name="HDCP_KEYS_STATE_CHECKING" value="2"/>
18bf215546Sopenharmony_ci		<value name="HDCP_KEYS_STATE_VALID" value="3"/>
19bf215546Sopenharmony_ci		<value name="HDCP_KEYS_STATE_AKSV_NOT_VALID" value="4"/>
20bf215546Sopenharmony_ci		<value name="HDCP_KEYS_STATE_CHKSUM_MISMATCH" value="5"/>
21bf215546Sopenharmony_ci		<value name="HDCP_KEYS_STATE_PROD_AKSV" value="6"/>
22bf215546Sopenharmony_ci		<value name="HDCP_KEYS_STATE_RESERVED" value="7"/>
23bf215546Sopenharmony_ci	</enum>
24bf215546Sopenharmony_ci	<enum name="hdmi_ddc_read_write">
25bf215546Sopenharmony_ci		<value name="DDC_WRITE" value="0"/>
26bf215546Sopenharmony_ci		<value name="DDC_READ" value="1"/>
27bf215546Sopenharmony_ci	</enum>
28bf215546Sopenharmony_ci	<enum name="hdmi_acr_cts">
29bf215546Sopenharmony_ci		<value name="ACR_NONE" value="0"/>
30bf215546Sopenharmony_ci		<value name="ACR_32" value="1"/>
31bf215546Sopenharmony_ci		<value name="ACR_44" value="2"/>
32bf215546Sopenharmony_ci		<value name="ACR_48" value="3"/>
33bf215546Sopenharmony_ci	</enum>
34bf215546Sopenharmony_ci
35bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="CTRL">
36bf215546Sopenharmony_ci		<bitfield name="ENABLE" pos="0" type="boolean"/>
37bf215546Sopenharmony_ci		<bitfield name="HDMI" pos="1" type="boolean"/>
38bf215546Sopenharmony_ci		<bitfield name="ENCRYPTED" pos="2" type="boolean"/>
39bf215546Sopenharmony_ci	</reg32>
40bf215546Sopenharmony_ci	<reg32 offset="0x00020" name="AUDIO_PKT_CTRL1">
41bf215546Sopenharmony_ci		<bitfield name="AUDIO_SAMPLE_SEND" pos="0" type="boolean"/>
42bf215546Sopenharmony_ci	</reg32>
43bf215546Sopenharmony_ci	<reg32 offset="0x00024" name="ACR_PKT_CTRL">
44bf215546Sopenharmony_ci		<!--
45bf215546Sopenharmony_ci			Guessing on order of bitfields from these comments:
46bf215546Sopenharmony_ci				/* AUDIO_PRIORITY | SOURCE */
47bf215546Sopenharmony_ci				acr_pck_ctrl_reg |= 0x80000100;
48bf215546Sopenharmony_ci				/* N_MULTIPLE(multiplier) */
49bf215546Sopenharmony_ci				acr_pck_ctrl_reg |= (multiplier & 7) << 16;
50bf215546Sopenharmony_ci				/* SEND | CONT */
51bf215546Sopenharmony_ci				acr_pck_ctrl_reg |= 0x00000003;
52bf215546Sopenharmony_ci		 -->
53bf215546Sopenharmony_ci		<bitfield name="CONT" pos="0" type="boolean"/>
54bf215546Sopenharmony_ci		<bitfield name="SEND" pos="1" type="boolean"/>
55bf215546Sopenharmony_ci		<bitfield name="SELECT" low="4" high="5" type="hdmi_acr_cts"/>
56bf215546Sopenharmony_ci		<bitfield name="SOURCE" pos="8" type="boolean"/>
57bf215546Sopenharmony_ci		<bitfield name="N_MULTIPLIER" low="16" high="18" type="uint"/>
58bf215546Sopenharmony_ci		<bitfield name="AUDIO_PRIORITY" pos="31" type="boolean"/>
59bf215546Sopenharmony_ci	</reg32>
60bf215546Sopenharmony_ci	<reg32 offset="0x0028" name="VBI_PKT_CTRL">
61bf215546Sopenharmony_ci		<!--
62bf215546Sopenharmony_ci			Guessing on the order of bits from:
63bf215546Sopenharmony_ci				/* GC packet enable (every frame) */
64bf215546Sopenharmony_ci				/* HDMI_VBI_PKT_CTRL[0x0028] */
65bf215546Sopenharmony_ci				hdmi_msm_rmw32or(0x0028, 3 << 4);
66bf215546Sopenharmony_ci				/* HDMI_VBI_PKT_CTRL[0x0028] */
67bf215546Sopenharmony_ci				/* ISRC Send + Continuous */
68bf215546Sopenharmony_ci				hdmi_msm_rmw32or(0x0028, 3 << 8);
69bf215546Sopenharmony_ci				/* HDMI_VBI_PKT_CTRL[0x0028] */
70bf215546Sopenharmony_ci				/* ACP send, s/w source */
71bf215546Sopenharmony_ci				hdmi_msm_rmw32or(0x0028, 3 << 12);
72bf215546Sopenharmony_ci		 -->
73bf215546Sopenharmony_ci		<bitfield name="GC_ENABLE" pos="4" type="boolean"/>
74bf215546Sopenharmony_ci		<bitfield name="GC_EVERY_FRAME" pos="5" type="boolean"/>
75bf215546Sopenharmony_ci		<bitfield name="ISRC_SEND" pos="8" type="boolean"/>
76bf215546Sopenharmony_ci		<bitfield name="ISRC_CONTINUOUS" pos="9" type="boolean"/>
77bf215546Sopenharmony_ci		<bitfield name="ACP_SEND" pos="12" type="boolean"/>
78bf215546Sopenharmony_ci		<bitfield name="ACP_SRC_SW" pos="13" type="boolean"/>
79bf215546Sopenharmony_ci	</reg32>
80bf215546Sopenharmony_ci	<reg32 offset="0x0002c" name="INFOFRAME_CTRL0">
81bf215546Sopenharmony_ci		<!--
82bf215546Sopenharmony_ci			Guessing on the order of these flags, from this comment:
83bf215546Sopenharmony_ci				/* Set these flags */
84bf215546Sopenharmony_ci				/* AUDIO_INFO_UPDATE | AUDIO_INFO_SOURCE | AUDIO_INFO_CONT
85bf215546Sopenharmony_ci				 | AUDIO_INFO_SEND */
86bf215546Sopenharmony_ci				audio_info_ctrl_reg |= 0x000000F0;
87bf215546Sopenharmony_ci				/* 0x3 for AVI InfFrame enable (every frame) */
88bf215546Sopenharmony_ci				HDMI_OUTP(0x002C, HDMI_INP(0x002C) | 0x00000003L);
89bf215546Sopenharmony_ci		 -->
90bf215546Sopenharmony_ci		<bitfield name="AVI_SEND" pos="0" type="boolean"/>
91bf215546Sopenharmony_ci		<bitfield name="AVI_CONT" pos="1" type="boolean"/>           <!-- every frame -->
92bf215546Sopenharmony_ci		<bitfield name="AUDIO_INFO_SEND" pos="4" type="boolean"/>
93bf215546Sopenharmony_ci		<bitfield name="AUDIO_INFO_CONT" pos="5" type="boolean"/>    <!-- every frame -->
94bf215546Sopenharmony_ci		<bitfield name="AUDIO_INFO_SOURCE" pos="6" type="boolean"/>
95bf215546Sopenharmony_ci		<bitfield name="AUDIO_INFO_UPDATE" pos="7" type="boolean"/>
96bf215546Sopenharmony_ci	</reg32>
97bf215546Sopenharmony_ci	<reg32 offset="0x00030" name="INFOFRAME_CTRL1">
98bf215546Sopenharmony_ci		<bitfield name="AVI_INFO_LINE" low="0" high="5" type="uint"/>
99bf215546Sopenharmony_ci		<bitfield name="AUDIO_INFO_LINE" low="8" high="13" type="uint"/>
100bf215546Sopenharmony_ci		<bitfield name="MPEG_INFO_LINE" low="16" high="21" type="uint"/>
101bf215546Sopenharmony_ci		<bitfield name="VENSPEC_INFO_LINE" low="24" high="29" type="uint"/>
102bf215546Sopenharmony_ci	</reg32>
103bf215546Sopenharmony_ci	<reg32 offset="0x00034" name="GEN_PKT_CTRL">
104bf215546Sopenharmony_ci		<!--
105bf215546Sopenharmony_ci			0x0034 GEN_PKT_CTRL
106bf215546Sopenharmony_ci			  GENERIC0_SEND   0      0 = Disable Generic0 Packet Transmission
107bf215546Sopenharmony_ci			                         1 = Enable Generic0 Packet Transmission
108bf215546Sopenharmony_ci			  GENERIC0_CONT   1      0 = Send Generic0 Packet on next frame only
109bf215546Sopenharmony_ci			                         1 = Send Generic0 Packet on every frame
110bf215546Sopenharmony_ci			  GENERIC0_UPDATE 2      NUM
111bf215546Sopenharmony_ci			  GENERIC1_SEND   4      0 = Disable Generic1 Packet Transmission
112bf215546Sopenharmony_ci			                         1 = Enable Generic1 Packet Transmission
113bf215546Sopenharmony_ci			  GENERIC1_CONT   5      0 = Send Generic1 Packet on next frame only
114bf215546Sopenharmony_ci			                         1 = Send Generic1 Packet on every frame
115bf215546Sopenharmony_ci			  GENERIC0_LINE   21:16  NUM
116bf215546Sopenharmony_ci			  GENERIC1_LINE   29:24  NUM
117bf215546Sopenharmony_ci			
118bf215546Sopenharmony_ci			GENERIC0_LINE | GENERIC0_UPDATE | GENERIC0_CONT | GENERIC0_SEND
119bf215546Sopenharmony_ci			Setup HDMI TX generic packet control
120bf215546Sopenharmony_ci			Enable this packet to transmit every frame
121bf215546Sopenharmony_ci			Enable this packet to transmit every frame
122bf215546Sopenharmony_ci			Enable HDMI TX engine to transmit Generic packet 0
123bf215546Sopenharmony_ci			  HDMI_OUTP(0x0034, (1 << 16) | (1 << 2) | BIT(1) | BIT(0));
124bf215546Sopenharmony_ci		 -->
125bf215546Sopenharmony_ci		<bitfield name="GENERIC0_SEND" pos="0" type="boolean"/>
126bf215546Sopenharmony_ci		<bitfield name="GENERIC0_CONT" pos="1" type="boolean"/>
127bf215546Sopenharmony_ci		<bitfield name="GENERIC0_UPDATE" low="2" high="3" type="uint"/> <!-- ??? -->
128bf215546Sopenharmony_ci		<bitfield name="GENERIC1_SEND" pos="4" type="boolean"/>
129bf215546Sopenharmony_ci		<bitfield name="GENERIC1_CONT" pos="5" type="boolean"/>
130bf215546Sopenharmony_ci		<bitfield name="GENERIC0_LINE" low="16" high="21" type="uint"/>
131bf215546Sopenharmony_ci		<bitfield name="GENERIC1_LINE" low="24" high="29" type="uint"/>
132bf215546Sopenharmony_ci	</reg32>
133bf215546Sopenharmony_ci	<reg32 offset="0x00040" name="GC">
134bf215546Sopenharmony_ci		<bitfield name="MUTE" pos="0" type="boolean"/>
135bf215546Sopenharmony_ci	</reg32>
136bf215546Sopenharmony_ci	<reg32 offset="0x00044" name="AUDIO_PKT_CTRL2">
137bf215546Sopenharmony_ci		<bitfield name="OVERRIDE" pos="0" type="boolean"/>
138bf215546Sopenharmony_ci		<bitfield name="LAYOUT" pos="1" type="boolean"/> <!-- 1 for >2 channels -->
139bf215546Sopenharmony_ci	</reg32>
140bf215546Sopenharmony_ci
141bf215546Sopenharmony_ci	<!--
142bf215546Sopenharmony_ci		AVI_INFO appears to be the infoframe in a slightly weird order..
143bf215546Sopenharmony_ci		starts with PB0 (checksum), and ends with version..
144bf215546Sopenharmony_ci	-->
145bf215546Sopenharmony_ci	<reg32 offset="0x0006c" name="AVI_INFO" stride="4" length="4"/>
146bf215546Sopenharmony_ci
147bf215546Sopenharmony_ci	<reg32 offset="0x00084" name="GENERIC0_HDR"/>
148bf215546Sopenharmony_ci	<reg32 offset="0x00088" name="GENERIC0" stride="4" length="7"/>
149bf215546Sopenharmony_ci
150bf215546Sopenharmony_ci	<reg32 offset="0x000a4" name="GENERIC1_HDR"/>
151bf215546Sopenharmony_ci	<reg32 offset="0x000a8" name="GENERIC1" stride="4" length="7"/>
152bf215546Sopenharmony_ci
153bf215546Sopenharmony_ci	<!--
154bf215546Sopenharmony_ci		TODO add a way to show symbolic offsets into array: hdmi_acr_cts-1
155bf215546Sopenharmony_ci	 -->
156bf215546Sopenharmony_ci	<array offset="0x00c4" name="ACR" length="3" stride="8" index="hdmi_acr_cts">
157bf215546Sopenharmony_ci		<reg32 offset="0" name="0">
158bf215546Sopenharmony_ci			<bitfield name="CTS" low="12" high="31" type="uint"/>
159bf215546Sopenharmony_ci		</reg32>
160bf215546Sopenharmony_ci		<reg32 offset="4" name="1">
161bf215546Sopenharmony_ci			<!-- not sure the actual # of bits.. -->
162bf215546Sopenharmony_ci			<bitfield name="N" low="0" high="31" type="uint"/>
163bf215546Sopenharmony_ci		</reg32>
164bf215546Sopenharmony_ci	</array>
165bf215546Sopenharmony_ci
166bf215546Sopenharmony_ci	<reg32 offset="0x000e4" name="AUDIO_INFO0">
167bf215546Sopenharmony_ci		<bitfield name="CHECKSUM" low="0" high="7"/>
168bf215546Sopenharmony_ci		<bitfield name="CC" low="8" high="10" type="uint"/> <!-- channel count -->
169bf215546Sopenharmony_ci	</reg32>
170bf215546Sopenharmony_ci	<reg32 offset="0x000e8" name="AUDIO_INFO1">
171bf215546Sopenharmony_ci		<bitfield name="CA" low="0" high="7"/>        <!-- Channel Allocation -->
172bf215546Sopenharmony_ci		<bitfield name="LSV" low="11" high="14"/>     <!-- Level Shift -->
173bf215546Sopenharmony_ci		<bitfield name="DM_INH" pos="15" type="boolean"/>  <!-- down-mix inhibit flag -->
174bf215546Sopenharmony_ci	</reg32>
175bf215546Sopenharmony_ci	<reg32 offset="0x00110" name="HDCP_CTRL">
176bf215546Sopenharmony_ci		<bitfield name="ENABLE" pos="0" type="boolean"/>
177bf215546Sopenharmony_ci		<bitfield name="ENCRYPTION_ENABLE" pos="8" type="boolean"/>
178bf215546Sopenharmony_ci	</reg32>
179bf215546Sopenharmony_ci	<reg32 offset="0x00114" name="HDCP_DEBUG_CTRL">
180bf215546Sopenharmony_ci		<bitfield name="RNG_CIPHER" pos="2" type="boolean"/>
181bf215546Sopenharmony_ci	</reg32>
182bf215546Sopenharmony_ci	<reg32 offset="0x00118" name="HDCP_INT_CTRL">
183bf215546Sopenharmony_ci		<bitfield name="AUTH_SUCCESS_INT" pos="0" type="boolean"/>
184bf215546Sopenharmony_ci		<bitfield name="AUTH_SUCCESS_ACK" pos="1" type="boolean"/>
185bf215546Sopenharmony_ci		<bitfield name="AUTH_SUCCESS_MASK" pos="2" type="boolean"/>
186bf215546Sopenharmony_ci		<bitfield name="AUTH_FAIL_INT" pos="4" type="boolean"/>
187bf215546Sopenharmony_ci		<bitfield name="AUTH_FAIL_ACK" pos="5" type="boolean"/>
188bf215546Sopenharmony_ci		<bitfield name="AUTH_FAIL_MASK" pos="6" type="boolean"/>
189bf215546Sopenharmony_ci		<bitfield name="AUTH_FAIL_INFO_ACK" pos="7" type="boolean"/>
190bf215546Sopenharmony_ci		<bitfield name="AUTH_XFER_REQ_INT" pos="8" type="boolean"/>
191bf215546Sopenharmony_ci		<bitfield name="AUTH_XFER_REQ_ACK" pos="9" type="boolean"/>
192bf215546Sopenharmony_ci		<bitfield name="AUTH_XFER_REQ_MASK" pos="10" type="boolean"/>
193bf215546Sopenharmony_ci		<bitfield name="AUTH_XFER_DONE_INT" pos="12" type="boolean"/>
194bf215546Sopenharmony_ci		<bitfield name="AUTH_XFER_DONE_ACK" pos="13" type="boolean"/>
195bf215546Sopenharmony_ci		<bitfield name="AUTH_XFER_DONE_MASK" pos="14" type="boolean"/>
196bf215546Sopenharmony_ci	</reg32>
197bf215546Sopenharmony_ci	<reg32 offset="0x0011c" name="HDCP_LINK0_STATUS">
198bf215546Sopenharmony_ci		<bitfield name="AN_0_READY" pos="8" type="boolean"/>
199bf215546Sopenharmony_ci		<bitfield name="AN_1_READY" pos="9" type="boolean"/>
200bf215546Sopenharmony_ci		<bitfield name="RI_MATCHES" pos="12" type="boolean"/>
201bf215546Sopenharmony_ci		<bitfield name="V_MATCHES" pos="20" type="boolean"/>
202bf215546Sopenharmony_ci		<bitfield name="KEY_STATE" low="28" high="30" type="hdmi_hdcp_key_state"/>
203bf215546Sopenharmony_ci	</reg32>
204bf215546Sopenharmony_ci	<reg32 offset="0x00120" name="HDCP_DDC_CTRL_0">
205bf215546Sopenharmony_ci		<bitfield name="DISABLE" pos="0" type="boolean"/>
206bf215546Sopenharmony_ci	</reg32>
207bf215546Sopenharmony_ci	<reg32 offset="0x00124" name="HDCP_DDC_CTRL_1">
208bf215546Sopenharmony_ci		<bitfield name="FAILED_ACK" pos="0" type="boolean"/>
209bf215546Sopenharmony_ci	</reg32>
210bf215546Sopenharmony_ci	<reg32 offset="0x00128" name="HDCP_DDC_STATUS">
211bf215546Sopenharmony_ci		<bitfield name="XFER_REQ" pos="4" type="boolean"/>
212bf215546Sopenharmony_ci		<bitfield name="XFER_DONE" pos="10" type="boolean"/>
213bf215546Sopenharmony_ci		<bitfield name="ABORTED" pos="12" type="boolean"/>
214bf215546Sopenharmony_ci		<bitfield name="TIMEOUT" pos="13" type="boolean"/>
215bf215546Sopenharmony_ci		<bitfield name="NACK0" pos="14" type="boolean"/>
216bf215546Sopenharmony_ci		<bitfield name="NACK1" pos="15" type="boolean"/>
217bf215546Sopenharmony_ci		<bitfield name="FAILED" pos="16" type="boolean"/>
218bf215546Sopenharmony_ci	</reg32>
219bf215546Sopenharmony_ci
220bf215546Sopenharmony_ci	<reg32 offset="0x0012c" name="HDCP_ENTROPY_CTRL0"/>
221bf215546Sopenharmony_ci	<reg32 offset="0x0025c" name="HDCP_ENTROPY_CTRL1"/>
222bf215546Sopenharmony_ci
223bf215546Sopenharmony_ci	<reg32 offset="0x00130" name="HDCP_RESET">
224bf215546Sopenharmony_ci		<bitfield name="LINK0_DEAUTHENTICATE" pos="0" type="boolean"/>
225bf215546Sopenharmony_ci	</reg32>
226bf215546Sopenharmony_ci
227bf215546Sopenharmony_ci	<reg32 offset="0x00134" name="HDCP_RCVPORT_DATA0"/>
228bf215546Sopenharmony_ci	<reg32 offset="0x00138" name="HDCP_RCVPORT_DATA1"/>
229bf215546Sopenharmony_ci	<reg32 offset="0x0013C" name="HDCP_RCVPORT_DATA2_0"/>
230bf215546Sopenharmony_ci	<reg32 offset="0x00140" name="HDCP_RCVPORT_DATA2_1"/>
231bf215546Sopenharmony_ci	<reg32 offset="0x00144" name="HDCP_RCVPORT_DATA3"/>
232bf215546Sopenharmony_ci	<reg32 offset="0x00148" name="HDCP_RCVPORT_DATA4"/>
233bf215546Sopenharmony_ci	<reg32 offset="0x0014c" name="HDCP_RCVPORT_DATA5"/>
234bf215546Sopenharmony_ci	<reg32 offset="0x00150" name="HDCP_RCVPORT_DATA6"/>
235bf215546Sopenharmony_ci	<reg32 offset="0x00154" name="HDCP_RCVPORT_DATA7"/>
236bf215546Sopenharmony_ci	<reg32 offset="0x00158" name="HDCP_RCVPORT_DATA8"/>
237bf215546Sopenharmony_ci	<reg32 offset="0x0015c" name="HDCP_RCVPORT_DATA9"/>
238bf215546Sopenharmony_ci	<reg32 offset="0x00160" name="HDCP_RCVPORT_DATA10"/>
239bf215546Sopenharmony_ci	<reg32 offset="0x00164" name="HDCP_RCVPORT_DATA11"/>
240bf215546Sopenharmony_ci	<reg32 offset="0x00168" name="HDCP_RCVPORT_DATA12"/>
241bf215546Sopenharmony_ci
242bf215546Sopenharmony_ci	<reg32 offset="0x0016c" name="VENSPEC_INFO0"/>
243bf215546Sopenharmony_ci	<reg32 offset="0x00170" name="VENSPEC_INFO1"/>
244bf215546Sopenharmony_ci	<reg32 offset="0x00174" name="VENSPEC_INFO2"/>
245bf215546Sopenharmony_ci	<reg32 offset="0x00178" name="VENSPEC_INFO3"/>
246bf215546Sopenharmony_ci	<reg32 offset="0x0017c" name="VENSPEC_INFO4"/>
247bf215546Sopenharmony_ci	<reg32 offset="0x00180" name="VENSPEC_INFO5"/>
248bf215546Sopenharmony_ci	<reg32 offset="0x00184" name="VENSPEC_INFO6"/>
249bf215546Sopenharmony_ci
250bf215546Sopenharmony_ci	<reg32 offset="0x001d0" name="AUDIO_CFG">
251bf215546Sopenharmony_ci		<bitfield name="ENGINE_ENABLE" pos="0" type="boolean"/>
252bf215546Sopenharmony_ci		<bitfield name="FIFO_WATERMARK" low="4" high="7" type="uint"/>
253bf215546Sopenharmony_ci	</reg32>
254bf215546Sopenharmony_ci
255bf215546Sopenharmony_ci	<reg32 offset="0x00208" name="USEC_REFTIMER"/>
256bf215546Sopenharmony_ci	<reg32 offset="0x0020c" name="DDC_CTRL">
257bf215546Sopenharmony_ci		<!--
258bf215546Sopenharmony_ci			 0x020C HDMI_DDC_CTRL
259bf215546Sopenharmony_ci			[21:20] TRANSACTION_CNT
260bf215546Sopenharmony_ci				Number of transactions to be done in current transfer.
261bf215546Sopenharmony_ci				* 0x0: transaction0 only
262bf215546Sopenharmony_ci				* 0x1: transaction0, transaction1
263bf215546Sopenharmony_ci				* 0x2: transaction0, transaction1, transaction2
264bf215546Sopenharmony_ci				* 0x3: transaction0, transaction1, transaction2, transaction3
265bf215546Sopenharmony_ci			[3] SW_STATUS_RESET
266bf215546Sopenharmony_ci				Write 1 to reset HDMI_DDC_SW_STATUS flags, will reset SW_DONE,
267bf215546Sopenharmony_ci				ABORTED, TIMEOUT, SW_INTERRUPTED, BUFFER_OVERFLOW,
268bf215546Sopenharmony_ci				STOPPED_ON_NACK, NACK0, NACK1, NACK2, NACK3
269bf215546Sopenharmony_ci			[2] SEND_RESET Set to 1 to send reset sequence (9 clocks with no
270bf215546Sopenharmony_ci				data) at start of transfer.  This sequence is sent after GO is
271bf215546Sopenharmony_ci				written to 1, before the first transaction only.
272bf215546Sopenharmony_ci			[1] SOFT_RESET Write 1 to reset DDC controller
273bf215546Sopenharmony_ci			[0] GO WRITE ONLY. Write 1 to start DDC transfer.
274bf215546Sopenharmony_ci		 -->
275bf215546Sopenharmony_ci		<bitfield name="GO" pos="0" type="boolean"/>
276bf215546Sopenharmony_ci		<bitfield name="SOFT_RESET" pos="1" type="boolean"/>
277bf215546Sopenharmony_ci		<bitfield name="SEND_RESET" pos="2" type="boolean"/>
278bf215546Sopenharmony_ci		<bitfield name="SW_STATUS_RESET" pos="3" type="boolean"/>
279bf215546Sopenharmony_ci		<bitfield name="TRANSACTION_CNT" low="20" high="21" type="uint"/>
280bf215546Sopenharmony_ci	</reg32>
281bf215546Sopenharmony_ci	<reg32 offset="0x00210" name="DDC_ARBITRATION">
282bf215546Sopenharmony_ci		<bitfield name="HW_ARBITRATION" pos="4" type="boolean"/>
283bf215546Sopenharmony_ci	</reg32>
284bf215546Sopenharmony_ci	<reg32 offset="0x00214" name="DDC_INT_CTRL">
285bf215546Sopenharmony_ci		<!--
286bf215546Sopenharmony_ci			HDMI_DDC_INT_CTRL[0x0214]
287bf215546Sopenharmony_ci			   [2] SW_DONE_MK Mask bit for SW_DONE_INT. Set to 1 to enable
288bf215546Sopenharmony_ci			       interrupt.
289bf215546Sopenharmony_ci			   [1] SW_DONE_ACK WRITE ONLY. Acknowledge bit for SW_DONE_INT.
290bf215546Sopenharmony_ci			       Write 1 to clear interrupt.
291bf215546Sopenharmony_ci			   [0] SW_DONE_INT READ ONLY. SW_DONE interrupt status */
292bf215546Sopenharmony_ci		 -->
293bf215546Sopenharmony_ci		<bitfield name="SW_DONE_INT" pos="0" type="boolean"/>
294bf215546Sopenharmony_ci		<bitfield name="SW_DONE_ACK" pos="1" type="boolean"/>
295bf215546Sopenharmony_ci		<bitfield name="SW_DONE_MASK" pos="2" type="boolean"/>
296bf215546Sopenharmony_ci	</reg32>
297bf215546Sopenharmony_ci	<reg32 offset="0x00218" name="DDC_SW_STATUS">
298bf215546Sopenharmony_ci		<bitfield name="NACK0" pos="12" type="boolean"/>
299bf215546Sopenharmony_ci		<bitfield name="NACK1" pos="13" type="boolean"/>
300bf215546Sopenharmony_ci		<bitfield name="NACK2" pos="14" type="boolean"/>
301bf215546Sopenharmony_ci		<bitfield name="NACK3" pos="15" type="boolean"/>
302bf215546Sopenharmony_ci	</reg32>
303bf215546Sopenharmony_ci	<reg32 offset="0x0021c" name="DDC_HW_STATUS">
304bf215546Sopenharmony_ci		<bitfield name="DONE" pos="3" type="boolean"/>
305bf215546Sopenharmony_ci	</reg32>
306bf215546Sopenharmony_ci	<reg32 offset="0x00220" name="DDC_SPEED">
307bf215546Sopenharmony_ci		<!--
308bf215546Sopenharmony_ci		   0x0220 HDMI_DDC_SPEED
309bf215546Sopenharmony_ci		   [31:16] PRESCALE prescale = (m * xtal_frequency) /
310bf215546Sopenharmony_ci			(desired_i2c_speed), where m is multiply
311bf215546Sopenharmony_ci			factor, default: m = 1
312bf215546Sopenharmony_ci		   [1:0]   THRESHOLD Select threshold to use to determine whether value
313bf215546Sopenharmony_ci			sampled on SDA is a 1 or 0. Specified in terms of the ratio
314bf215546Sopenharmony_ci			between the number of sampled ones and the total number of times
315bf215546Sopenharmony_ci			SDA is sampled.
316bf215546Sopenharmony_ci			* 0x0: >0
317bf215546Sopenharmony_ci			* 0x1: 1/4 of total samples
318bf215546Sopenharmony_ci			* 0x2: 1/2 of total samples
319bf215546Sopenharmony_ci			* 0x3: 3/4 of total samples */
320bf215546Sopenharmony_ci		 -->
321bf215546Sopenharmony_ci		<bitfield name="THRESHOLD" low="0" high="1" type="uint"/>
322bf215546Sopenharmony_ci		<bitfield name="PRESCALE" low="16" high="31" type="uint"/>
323bf215546Sopenharmony_ci	</reg32>
324bf215546Sopenharmony_ci	<reg32 offset="0x00224" name="DDC_SETUP">
325bf215546Sopenharmony_ci		<!--
326bf215546Sopenharmony_ci			 * 0x0224 HDMI_DDC_SETUP
327bf215546Sopenharmony_ci			 * Setting 31:24 bits : Time units to wait before timeout
328bf215546Sopenharmony_ci			 * when clock is being stalled by external sink device
329bf215546Sopenharmony_ci		 -->
330bf215546Sopenharmony_ci		<bitfield name="TIMEOUT" low="24" high="31" type="uint"/>
331bf215546Sopenharmony_ci	</reg32>
332bf215546Sopenharmony_ci	<!-- Guessing length is 4, as elsewhere the are references to trans0 thru trans3 -->
333bf215546Sopenharmony_ci	<array offset="0x00228" name="I2C_TRANSACTION" length="4" stride="4">
334bf215546Sopenharmony_ci		<reg32 offset="0" name="REG">
335bf215546Sopenharmony_ci			<!--
336bf215546Sopenharmony_ci				0x0228 HDMI_DDC_TRANS0
337bf215546Sopenharmony_ci				[23:16] CNT0 Byte count for first transaction (excluding the first
338bf215546Sopenharmony_ci					byte, which is usually the address).
339bf215546Sopenharmony_ci				[13] STOP0 Determines whether a stop bit will be sent after the first
340bf215546Sopenharmony_ci					transaction
341bf215546Sopenharmony_ci					* 0: NO STOP
342bf215546Sopenharmony_ci					* 1: STOP
343bf215546Sopenharmony_ci				[12] START0 Determines whether a start bit will be sent before the
344bf215546Sopenharmony_ci					first transaction
345bf215546Sopenharmony_ci					* 0: NO START
346bf215546Sopenharmony_ci					* 1: START
347bf215546Sopenharmony_ci				[8] STOP_ON_NACK0 Determines whether the current transfer will stop
348bf215546Sopenharmony_ci					if a NACK is received during the first transaction (current
349bf215546Sopenharmony_ci					transaction always stops).
350bf215546Sopenharmony_ci					* 0: STOP CURRENT TRANSACTION, GO TO NEXT TRANSACTION
351bf215546Sopenharmony_ci					* 1: STOP ALL TRANSACTIONS, SEND STOP BIT
352bf215546Sopenharmony_ci				[0] RW0 Read/write indicator for first transaction - set to 0 for
353bf215546Sopenharmony_ci					write, 1 for read. This bit only controls HDMI_DDC behaviour -
354bf215546Sopenharmony_ci					the R/W bit in the transaction is programmed into the DDC buffer
355bf215546Sopenharmony_ci					as the LSB of the address byte.
356bf215546Sopenharmony_ci					* 0: WRITE
357bf215546Sopenharmony_ci					* 1: READ
358bf215546Sopenharmony_ci			 -->
359bf215546Sopenharmony_ci			<bitfield name="RW" pos="0" type="hdmi_ddc_read_write"/>
360bf215546Sopenharmony_ci			<bitfield name="STOP_ON_NACK" pos="8" type="boolean"/>
361bf215546Sopenharmony_ci			<bitfield name="START" pos="12" type="boolean"/>
362bf215546Sopenharmony_ci			<bitfield name="STOP" pos="13" type="boolean"/>
363bf215546Sopenharmony_ci			<bitfield name="CNT" low="16" high="23" type="uint"/>
364bf215546Sopenharmony_ci		</reg32>
365bf215546Sopenharmony_ci	</array>
366bf215546Sopenharmony_ci	<reg32 offset="0x00238" name="DDC_DATA">
367bf215546Sopenharmony_ci		<!--
368bf215546Sopenharmony_ci			0x0238 HDMI_DDC_DATA
369bf215546Sopenharmony_ci			[31] INDEX_WRITE WRITE ONLY. To write index field, set this bit to
370bf215546Sopenharmony_ci				1 while writing HDMI_DDC_DATA.
371bf215546Sopenharmony_ci			[23:16] INDEX Use to set index into DDC buffer for next read or
372bf215546Sopenharmony_ci				current write, or to read index of current read or next write.
373bf215546Sopenharmony_ci				Writable only when INDEX_WRITE=1.
374bf215546Sopenharmony_ci			[15:8] DATA Use to fill or read the DDC buffer
375bf215546Sopenharmony_ci			[0] DATA_RW Select whether buffer access will be a read or write.
376bf215546Sopenharmony_ci				For writes, address auto-increments on write to HDMI_DDC_DATA.
377bf215546Sopenharmony_ci				For reads, address autoincrements on reads to HDMI_DDC_DATA.
378bf215546Sopenharmony_ci				* 0: Write
379bf215546Sopenharmony_ci				* 1: Read
380bf215546Sopenharmony_ci		 -->
381bf215546Sopenharmony_ci		<bitfield name="DATA_RW" pos="0" type="hdmi_ddc_read_write"/>
382bf215546Sopenharmony_ci		<bitfield name="DATA" low="8" high="15" type="uint"/>
383bf215546Sopenharmony_ci		<bitfield name="INDEX" low="16" high="23" type="uint"/>
384bf215546Sopenharmony_ci		<bitfield name="INDEX_WRITE" pos="31" type="boolean"/>
385bf215546Sopenharmony_ci	</reg32>
386bf215546Sopenharmony_ci
387bf215546Sopenharmony_ci	<reg32 offset="0x0023c" name="HDCP_SHA_CTRL"/>
388bf215546Sopenharmony_ci	<reg32 offset="0x00240" name="HDCP_SHA_STATUS">
389bf215546Sopenharmony_ci		<bitfield name="BLOCK_DONE" pos="0" type="boolean"/>
390bf215546Sopenharmony_ci		<bitfield name="COMP_DONE" pos="4" type="boolean"/>
391bf215546Sopenharmony_ci	</reg32>
392bf215546Sopenharmony_ci	<reg32 offset="0x00244" name="HDCP_SHA_DATA">
393bf215546Sopenharmony_ci		<bitfield name="DONE" pos="0" type="boolean"/>
394bf215546Sopenharmony_ci	</reg32>
395bf215546Sopenharmony_ci
396bf215546Sopenharmony_ci	<reg32 offset="0x00250" name="HPD_INT_STATUS">
397bf215546Sopenharmony_ci		<bitfield name="INT" pos="0" type="boolean"/>  <!-- an irq has occurred -->
398bf215546Sopenharmony_ci		<bitfield name="CABLE_DETECTED" pos="1" type="boolean"/>
399bf215546Sopenharmony_ci	</reg32>
400bf215546Sopenharmony_ci	<reg32 offset="0x00254" name="HPD_INT_CTRL">
401bf215546Sopenharmony_ci		<!-- (this useful comment was removed in df6b645.. git archaeology is fun)
402bf215546Sopenharmony_ci			HPD_INT_CTRL[0x0254]
403bf215546Sopenharmony_ci			31:10 Reserved
404bf215546Sopenharmony_ci			9     RCV_PLUGIN_DET_MASK  receiver plug in interrupt mask.
405bf215546Sopenharmony_ci			                           When programmed to 1,
406bf215546Sopenharmony_ci			                           RCV_PLUGIN_DET_INT will toggle
407bf215546Sopenharmony_ci			                           the interrupt line
408bf215546Sopenharmony_ci			8:6   Reserved
409bf215546Sopenharmony_ci			5     RX_INT_EN            Panel RX interrupt enable
410bf215546Sopenharmony_ci			      0: Disable
411bf215546Sopenharmony_ci			      1: Enable
412bf215546Sopenharmony_ci			4     RX_INT_ACK           WRITE ONLY. Panel RX interrupt
413bf215546Sopenharmony_ci			                           ack
414bf215546Sopenharmony_ci			3     Reserved
415bf215546Sopenharmony_ci			2     INT_EN               Panel interrupt control
416bf215546Sopenharmony_ci			      0: Disable
417bf215546Sopenharmony_ci			      1: Enable
418bf215546Sopenharmony_ci			1     INT_POLARITY         Panel interrupt polarity
419bf215546Sopenharmony_ci			      0: generate interrupt on disconnect
420bf215546Sopenharmony_ci			      1: generate interrupt on connect
421bf215546Sopenharmony_ci			0     INT_ACK              WRITE ONLY. Panel interrupt ack
422bf215546Sopenharmony_ci		 -->
423bf215546Sopenharmony_ci		<bitfield name="INT_ACK" pos="0" type="boolean"/>
424bf215546Sopenharmony_ci		<bitfield name="INT_CONNECT" pos="1" type="boolean"/>
425bf215546Sopenharmony_ci		<bitfield name="INT_EN" pos="2" type="boolean"/>
426bf215546Sopenharmony_ci		<bitfield name="RX_INT_ACK" pos="4" type="boolean"/>
427bf215546Sopenharmony_ci		<bitfield name="RX_INT_EN" pos="5" type="boolean"/>
428bf215546Sopenharmony_ci		<bitfield name="RCV_PLUGIN_DET_MASK" pos="9" type="boolean"/>
429bf215546Sopenharmony_ci	</reg32>
430bf215546Sopenharmony_ci	<reg32 offset="0x00258" name="HPD_CTRL">
431bf215546Sopenharmony_ci		<bitfield name="TIMEOUT" low="0" high="12" type="uint"/>
432bf215546Sopenharmony_ci		<bitfield name="ENABLE" pos="28" type="boolean"/>
433bf215546Sopenharmony_ci	</reg32>
434bf215546Sopenharmony_ci	<reg32 offset="0x0027c" name="DDC_REF">
435bf215546Sopenharmony_ci		<!--
436bf215546Sopenharmony_ci			0x027C HDMI_DDC_REF
437bf215546Sopenharmony_ci			[16] REFTIMER_ENABLE	Enable the timer
438bf215546Sopenharmony_ci				* 0: Disable
439bf215546Sopenharmony_ci				* 1: Enable
440bf215546Sopenharmony_ci			[15:0] REFTIMER	Value to set the register in order to generate
441bf215546Sopenharmony_ci				DDC strobe. This register counts on HDCP application clock
442bf215546Sopenharmony_ci
443bf215546Sopenharmony_ci			/* Enable reference timer
444bf215546Sopenharmony_ci			 * 27 micro-seconds */
445bf215546Sopenharmony_ci			HDMI_OUTP_ND(0x027C, (1 << 16) | (27 << 0));
446bf215546Sopenharmony_ci		 -->
447bf215546Sopenharmony_ci		<bitfield name="REFTIMER_ENABLE" pos="16" type="boolean"/>
448bf215546Sopenharmony_ci		<bitfield name="REFTIMER" low="0" high="15" type="uint"/>
449bf215546Sopenharmony_ci	</reg32>
450bf215546Sopenharmony_ci
451bf215546Sopenharmony_ci	<reg32 offset="0x00284" name="HDCP_SW_UPPER_AKSV"/>
452bf215546Sopenharmony_ci	<reg32 offset="0x00288" name="HDCP_SW_LOWER_AKSV"/>
453bf215546Sopenharmony_ci
454bf215546Sopenharmony_ci	<reg32 offset="0x0028c" name="CEC_CTRL"/>
455bf215546Sopenharmony_ci	<reg32 offset="0x00290" name="CEC_WR_DATA"/>
456bf215546Sopenharmony_ci	<reg32 offset="0x00294" name="CEC_CEC_RETRANSMIT"/>
457bf215546Sopenharmony_ci	<reg32 offset="0x00298" name="CEC_STATUS"/>
458bf215546Sopenharmony_ci	<reg32 offset="0x0029c" name="CEC_INT"/>
459bf215546Sopenharmony_ci	<reg32 offset="0x002a0" name="CEC_ADDR"/>
460bf215546Sopenharmony_ci	<reg32 offset="0x002a4" name="CEC_TIME"/>
461bf215546Sopenharmony_ci	<reg32 offset="0x002a8" name="CEC_REFTIMER"/>
462bf215546Sopenharmony_ci	<reg32 offset="0x002ac" name="CEC_RD_DATA"/>
463bf215546Sopenharmony_ci	<reg32 offset="0x002b0" name="CEC_RD_FILTER"/>
464bf215546Sopenharmony_ci
465bf215546Sopenharmony_ci	<reg32 offset="0x002b4" name="ACTIVE_HSYNC">
466bf215546Sopenharmony_ci		<bitfield name="START" low="0" high="12" type="uint"/>
467bf215546Sopenharmony_ci		<bitfield name="END" low="16" high="27" type="uint"/>
468bf215546Sopenharmony_ci	</reg32>
469bf215546Sopenharmony_ci	<reg32 offset="0x002b8" name="ACTIVE_VSYNC">
470bf215546Sopenharmony_ci		<bitfield name="START" low="0" high="12" type="uint"/>
471bf215546Sopenharmony_ci		<bitfield name="END" low="16" high="28" type="uint"/>
472bf215546Sopenharmony_ci	</reg32>
473bf215546Sopenharmony_ci	<reg32 offset="0x002bc" name="VSYNC_ACTIVE_F2">
474bf215546Sopenharmony_ci		<!-- interlaced, frame 2 -->
475bf215546Sopenharmony_ci		<bitfield name="START" low="0" high="12" type="uint"/>
476bf215546Sopenharmony_ci		<bitfield name="END" low="16" high="28" type="uint"/>
477bf215546Sopenharmony_ci	</reg32>
478bf215546Sopenharmony_ci	<reg32 offset="0x002c0" name="TOTAL">
479bf215546Sopenharmony_ci		<bitfield name="H_TOTAL" low="0" high="12" type="uint"/>
480bf215546Sopenharmony_ci		<bitfield name="V_TOTAL" low="16" high="28" type="uint"/>
481bf215546Sopenharmony_ci	</reg32>
482bf215546Sopenharmony_ci	<reg32 offset="0x002c4" name="VSYNC_TOTAL_F2">
483bf215546Sopenharmony_ci		<!-- interlaced, frame 2 -->
484bf215546Sopenharmony_ci		<bitfield name="V_TOTAL" low="0" high="12" type="uint"/>
485bf215546Sopenharmony_ci	</reg32>
486bf215546Sopenharmony_ci	<reg32 offset="0x002c8" name="FRAME_CTRL">
487bf215546Sopenharmony_ci		<bitfield name="RGB_MUX_SEL_BGR" pos="12" type="boolean"/>
488bf215546Sopenharmony_ci		<bitfield name="VSYNC_LOW" pos="28" type="boolean"/>
489bf215546Sopenharmony_ci		<bitfield name="HSYNC_LOW" pos="29" type="boolean"/>
490bf215546Sopenharmony_ci		<bitfield name="INTERLACED_EN" pos="31" type="boolean"/>
491bf215546Sopenharmony_ci	</reg32>
492bf215546Sopenharmony_ci	<reg32 offset="0x002cc" name="AUD_INT">
493bf215546Sopenharmony_ci		<!--
494bf215546Sopenharmony_ci			HDMI_AUD_INT[0x02CC]
495bf215546Sopenharmony_ci			[3] AUD_SAM_DROP_MASK [R/W]
496bf215546Sopenharmony_ci			[2] AUD_SAM_DROP_ACK [W], AUD_SAM_DROP_INT [R]
497bf215546Sopenharmony_ci			[1] AUD_FIFO_URUN_MASK [R/W]
498bf215546Sopenharmony_ci			[0] AUD_FIFO_URUN_ACK [W], AUD_FIFO_URUN_INT [R]
499bf215546Sopenharmony_ci		 -->
500bf215546Sopenharmony_ci		<bitfield name="AUD_FIFO_URUN_INT" pos="0" type="boolean"/>  <!-- write to ack irq -->
501bf215546Sopenharmony_ci		<bitfield name="AUD_FIFO_URAN_MASK" pos="1" type="boolean"/> <!-- r/w, enables irq -->
502bf215546Sopenharmony_ci		<bitfield name="AUD_SAM_DROP_INT" pos="2" type="boolean"/>   <!-- write to ack irq -->
503bf215546Sopenharmony_ci		<bitfield name="AUD_SAM_DROP_MASK" pos="3" type="boolean"/>  <!-- r/w, enables irq -->
504bf215546Sopenharmony_ci	</reg32>
505bf215546Sopenharmony_ci	<reg32 offset="0x002d4" name="PHY_CTRL">
506bf215546Sopenharmony_ci		<!--
507bf215546Sopenharmony_ci			in hdmi_phy_reset() it appears to be toggling SW_RESET/
508bf215546Sopenharmony_ci			SW_RESET_PLL based on the value of the bit above, so
509bf215546Sopenharmony_ci			I'm guessing the bit above is a polarit bit
510bf215546Sopenharmony_ci		 -->
511bf215546Sopenharmony_ci		<bitfield name="SW_RESET_PLL" pos="0" type="boolean"/>
512bf215546Sopenharmony_ci		<bitfield name="SW_RESET_PLL_LOW" pos="1" type="boolean"/>
513bf215546Sopenharmony_ci		<bitfield name="SW_RESET" pos="2" type="boolean"/>
514bf215546Sopenharmony_ci		<bitfield name="SW_RESET_LOW" pos="3" type="boolean"/>
515bf215546Sopenharmony_ci	</reg32>
516bf215546Sopenharmony_ci	<reg32 offset="0x002dc" name="CEC_WR_RANGE"/>
517bf215546Sopenharmony_ci	<reg32 offset="0x002e0" name="CEC_RD_RANGE"/>
518bf215546Sopenharmony_ci	<reg32 offset="0x002e4" name="VERSION"/>
519bf215546Sopenharmony_ci	<reg32 offset="0x00360" name="CEC_COMPL_CTL"/>
520bf215546Sopenharmony_ci	<reg32 offset="0x00364" name="CEC_RD_START_RANGE"/>
521bf215546Sopenharmony_ci	<reg32 offset="0x00368" name="CEC_RD_TOTAL_RANGE"/>
522bf215546Sopenharmony_ci	<reg32 offset="0x0036c" name="CEC_RD_ERR_RESP_LO"/>
523bf215546Sopenharmony_ci	<reg32 offset="0x00370" name="CEC_WR_CHECK_CONFIG"/>
524bf215546Sopenharmony_ci
525bf215546Sopenharmony_ci</domain>
526bf215546Sopenharmony_ci
527bf215546Sopenharmony_ci<domain name="HDMI_8x60" width="32">
528bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="PHY_REG0">
529bf215546Sopenharmony_ci		<bitfield name="DESER_DEL_CTRL" low="2" high="4" type="uint"/>
530bf215546Sopenharmony_ci	</reg32>
531bf215546Sopenharmony_ci	<reg32 offset="0x00004" name="PHY_REG1">
532bf215546Sopenharmony_ci		<bitfield name="DTEST_MUX_SEL" low="4" high="7" type="uint"/>
533bf215546Sopenharmony_ci		<bitfield name="OUTVOL_SWING_CTRL" low="0" high="3" type="uint"/>
534bf215546Sopenharmony_ci	</reg32>
535bf215546Sopenharmony_ci	<reg32 offset="0x00008" name="PHY_REG2">
536bf215546Sopenharmony_ci		<bitfield name="PD_DESER" pos="0" type="boolean"/>
537bf215546Sopenharmony_ci		<bitfield name="PD_DRIVE_1" pos="1" type="boolean"/>
538bf215546Sopenharmony_ci		<bitfield name="PD_DRIVE_2" pos="2" type="boolean"/>
539bf215546Sopenharmony_ci		<bitfield name="PD_DRIVE_3" pos="3" type="boolean"/>
540bf215546Sopenharmony_ci		<bitfield name="PD_DRIVE_4" pos="4" type="boolean"/>
541bf215546Sopenharmony_ci		<bitfield name="PD_PLL" pos="5" type="boolean"/>
542bf215546Sopenharmony_ci		<bitfield name="PD_PWRGEN" pos="6" type="boolean"/>
543bf215546Sopenharmony_ci		<bitfield name="RCV_SENSE_EN" pos="7" type="boolean"/>
544bf215546Sopenharmony_ci	</reg32>
545bf215546Sopenharmony_ci	<reg32 offset="0x0000c" name="PHY_REG3">
546bf215546Sopenharmony_ci		<bitfield name="PLL_ENABLE" pos="0" type="boolean"/>
547bf215546Sopenharmony_ci	</reg32>
548bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="PHY_REG4"/>
549bf215546Sopenharmony_ci	<reg32 offset="0x00014" name="PHY_REG5"/>
550bf215546Sopenharmony_ci	<reg32 offset="0x00018" name="PHY_REG6"/>
551bf215546Sopenharmony_ci	<reg32 offset="0x0001c" name="PHY_REG7"/>
552bf215546Sopenharmony_ci	<reg32 offset="0x00020" name="PHY_REG8"/>
553bf215546Sopenharmony_ci	<reg32 offset="0x00024" name="PHY_REG9"/>
554bf215546Sopenharmony_ci	<reg32 offset="0x00028" name="PHY_REG10"/>
555bf215546Sopenharmony_ci	<reg32 offset="0x0002c" name="PHY_REG11"/>
556bf215546Sopenharmony_ci	<reg32 offset="0x00030" name="PHY_REG12">
557bf215546Sopenharmony_ci		<bitfield name="RETIMING_EN" pos="0" type="boolean"/>
558bf215546Sopenharmony_ci		<bitfield name="PLL_LOCK_DETECT_EN" pos="1" type="boolean"/>
559bf215546Sopenharmony_ci		<bitfield name="FORCE_LOCK" pos="4" type="boolean"/>
560bf215546Sopenharmony_ci	</reg32>
561bf215546Sopenharmony_ci</domain>
562bf215546Sopenharmony_ci
563bf215546Sopenharmony_ci<domain name="HDMI_8960" width="32">
564bf215546Sopenharmony_ci	<!--
565bf215546Sopenharmony_ci		some of the bitfields may be same as 8x60.. but no helpful comments
566bf215546Sopenharmony_ci		in msm_dss_io_8960.c
567bf215546Sopenharmony_ci	 -->
568bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="PHY_REG0"/>
569bf215546Sopenharmony_ci	<reg32 offset="0x00004" name="PHY_REG1"/>
570bf215546Sopenharmony_ci	<reg32 offset="0x00008" name="PHY_REG2"/>
571bf215546Sopenharmony_ci	<reg32 offset="0x0000c" name="PHY_REG3"/>
572bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="PHY_REG4"/>
573bf215546Sopenharmony_ci	<reg32 offset="0x00014" name="PHY_REG5"/>
574bf215546Sopenharmony_ci	<reg32 offset="0x00018" name="PHY_REG6"/>
575bf215546Sopenharmony_ci	<reg32 offset="0x0001c" name="PHY_REG7"/>
576bf215546Sopenharmony_ci	<reg32 offset="0x00020" name="PHY_REG8"/>
577bf215546Sopenharmony_ci	<reg32 offset="0x00024" name="PHY_REG9"/>
578bf215546Sopenharmony_ci	<reg32 offset="0x00028" name="PHY_REG10"/>
579bf215546Sopenharmony_ci	<reg32 offset="0x0002c" name="PHY_REG11"/>
580bf215546Sopenharmony_ci	<reg32 offset="0x00030" name="PHY_REG12">
581bf215546Sopenharmony_ci		<bitfield name="SW_RESET" pos="5" type="boolean"/>
582bf215546Sopenharmony_ci		<bitfield name="PWRDN_B" pos="7" type="boolean"/>
583bf215546Sopenharmony_ci	</reg32>
584bf215546Sopenharmony_ci	<reg32 offset="0x00034" name="PHY_REG_BIST_CFG"/>
585bf215546Sopenharmony_ci	<reg32 offset="0x00038" name="PHY_DEBUG_BUS_SEL"/>
586bf215546Sopenharmony_ci	<reg32 offset="0x0003c" name="PHY_REG_MISC0"/>
587bf215546Sopenharmony_ci	<reg32 offset="0x00040" name="PHY_REG13"/>
588bf215546Sopenharmony_ci	<reg32 offset="0x00044" name="PHY_REG14"/>
589bf215546Sopenharmony_ci	<reg32 offset="0x00048" name="PHY_REG15"/>
590bf215546Sopenharmony_ci</domain>
591bf215546Sopenharmony_ci
592bf215546Sopenharmony_ci<domain name="HDMI_8960_PHY_PLL" width="32">
593bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="REFCLK_CFG"/>
594bf215546Sopenharmony_ci	<reg32 offset="0x00004" name="CHRG_PUMP_CFG"/>
595bf215546Sopenharmony_ci	<reg32 offset="0x00008" name="LOOP_FLT_CFG0"/>
596bf215546Sopenharmony_ci	<reg32 offset="0x0000c" name="LOOP_FLT_CFG1"/>
597bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="IDAC_ADJ_CFG"/>
598bf215546Sopenharmony_ci	<reg32 offset="0x00014" name="I_VI_KVCO_CFG"/>
599bf215546Sopenharmony_ci	<reg32 offset="0x00018" name="PWRDN_B">
600bf215546Sopenharmony_ci		<bitfield name="PD_PLL" pos="1" type="boolean"/>
601bf215546Sopenharmony_ci		<bitfield name="PLL_PWRDN_B" pos="3" type="boolean"/>
602bf215546Sopenharmony_ci	</reg32>
603bf215546Sopenharmony_ci	<reg32 offset="0x0001c" name="SDM_CFG0"/>
604bf215546Sopenharmony_ci	<reg32 offset="0x00020" name="SDM_CFG1"/>
605bf215546Sopenharmony_ci	<reg32 offset="0x00024" name="SDM_CFG2"/>
606bf215546Sopenharmony_ci	<reg32 offset="0x00028" name="SDM_CFG3"/>
607bf215546Sopenharmony_ci	<reg32 offset="0x0002c" name="SDM_CFG4"/>
608bf215546Sopenharmony_ci	<reg32 offset="0x00030" name="SSC_CFG0"/>
609bf215546Sopenharmony_ci	<reg32 offset="0x00034" name="SSC_CFG1"/>
610bf215546Sopenharmony_ci	<reg32 offset="0x00038" name="SSC_CFG2"/>
611bf215546Sopenharmony_ci	<reg32 offset="0x0003c" name="SSC_CFG3"/>
612bf215546Sopenharmony_ci	<reg32 offset="0x00040" name="LOCKDET_CFG0"/>
613bf215546Sopenharmony_ci	<reg32 offset="0x00044" name="LOCKDET_CFG1"/>
614bf215546Sopenharmony_ci	<reg32 offset="0x00048" name="LOCKDET_CFG2"/>
615bf215546Sopenharmony_ci	<reg32 offset="0x0004c" name="VCOCAL_CFG0"/>
616bf215546Sopenharmony_ci	<reg32 offset="0x00050" name="VCOCAL_CFG1"/>
617bf215546Sopenharmony_ci	<reg32 offset="0x00054" name="VCOCAL_CFG2"/>
618bf215546Sopenharmony_ci	<reg32 offset="0x00058" name="VCOCAL_CFG3"/>
619bf215546Sopenharmony_ci	<reg32 offset="0x0005c" name="VCOCAL_CFG4"/>
620bf215546Sopenharmony_ci	<reg32 offset="0x00060" name="VCOCAL_CFG5"/>
621bf215546Sopenharmony_ci	<reg32 offset="0x00064" name="VCOCAL_CFG6"/>
622bf215546Sopenharmony_ci	<reg32 offset="0x00068" name="VCOCAL_CFG7"/>
623bf215546Sopenharmony_ci	<reg32 offset="0x0006c" name="DEBUG_SEL"/>
624bf215546Sopenharmony_ci	<reg32 offset="0x00070" name="MISC0"/>
625bf215546Sopenharmony_ci	<reg32 offset="0x00074" name="MISC1"/>
626bf215546Sopenharmony_ci	<reg32 offset="0x00078" name="MISC2"/>
627bf215546Sopenharmony_ci	<reg32 offset="0x0007c" name="MISC3"/>
628bf215546Sopenharmony_ci	<reg32 offset="0x00080" name="MISC4"/>
629bf215546Sopenharmony_ci	<reg32 offset="0x00084" name="MISC5"/>
630bf215546Sopenharmony_ci	<reg32 offset="0x00088" name="MISC6"/>
631bf215546Sopenharmony_ci	<reg32 offset="0x0008c" name="DEBUG_BUS0"/>
632bf215546Sopenharmony_ci	<reg32 offset="0x00090" name="DEBUG_BUS1"/>
633bf215546Sopenharmony_ci	<reg32 offset="0x00094" name="DEBUG_BUS2"/>
634bf215546Sopenharmony_ci	<reg32 offset="0x00098" name="STATUS0">
635bf215546Sopenharmony_ci		<bitfield name="PLL_LOCK" pos="0" type="boolean"/>
636bf215546Sopenharmony_ci	</reg32>
637bf215546Sopenharmony_ci	<reg32 offset="0x0009c" name="STATUS1"/>
638bf215546Sopenharmony_ci</domain>
639bf215546Sopenharmony_ci
640bf215546Sopenharmony_ci<domain name="HDMI_8x74" width="32">
641bf215546Sopenharmony_ci	<!--
642bf215546Sopenharmony_ci		seems to be all mdp5+ have same?
643bf215546Sopenharmony_ci	 -->
644bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="ANA_CFG0"/>
645bf215546Sopenharmony_ci	<reg32 offset="0x00004" name="ANA_CFG1"/>
646bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="PD_CTRL0"/>
647bf215546Sopenharmony_ci	<reg32 offset="0x00014" name="PD_CTRL1"/>
648bf215546Sopenharmony_ci	<reg32 offset="0x00034" name="BIST_CFG0"/>
649bf215546Sopenharmony_ci	<reg32 offset="0x0003c" name="BIST_PATN0"/>
650bf215546Sopenharmony_ci	<reg32 offset="0x00040" name="BIST_PATN1"/>
651bf215546Sopenharmony_ci	<reg32 offset="0x00044" name="BIST_PATN2"/>
652bf215546Sopenharmony_ci	<reg32 offset="0x00048" name="BIST_PATN3"/>
653bf215546Sopenharmony_ci</domain>
654bf215546Sopenharmony_ci
655bf215546Sopenharmony_ci<domain name="HDMI_28nm_PHY_PLL" width="32">
656bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="REFCLK_CFG"/>
657bf215546Sopenharmony_ci	<reg32 offset="0x00004" name="POSTDIV1_CFG"/>
658bf215546Sopenharmony_ci	<reg32 offset="0x00008" name="CHGPUMP_CFG"/>
659bf215546Sopenharmony_ci	<reg32 offset="0x0000C" name="VCOLPF_CFG"/>
660bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="VREG_CFG"/>
661bf215546Sopenharmony_ci	<reg32 offset="0x00014" name="PWRGEN_CFG"/>
662bf215546Sopenharmony_ci	<reg32 offset="0x00018" name="DMUX_CFG"/>
663bf215546Sopenharmony_ci	<reg32 offset="0x0001C" name="AMUX_CFG"/>
664bf215546Sopenharmony_ci	<reg32 offset="0x00020" name="GLB_CFG">
665bf215546Sopenharmony_ci		<bitfield name="PLL_PWRDN_B" pos="0" type="boolean"/>
666bf215546Sopenharmony_ci		<bitfield name="PLL_LDO_PWRDN_B" pos="1" type="boolean"/>
667bf215546Sopenharmony_ci		<bitfield name="PLL_PWRGEN_PWRDN_B" pos="2" type="boolean"/>
668bf215546Sopenharmony_ci		<bitfield name="PLL_ENABLE" pos="3" type="boolean"/>
669bf215546Sopenharmony_ci	</reg32>
670bf215546Sopenharmony_ci	<reg32 offset="0x00024" name="POSTDIV2_CFG"/>
671bf215546Sopenharmony_ci	<reg32 offset="0x00028" name="POSTDIV3_CFG"/>
672bf215546Sopenharmony_ci	<reg32 offset="0x0002C" name="LPFR_CFG"/>
673bf215546Sopenharmony_ci	<reg32 offset="0x00030" name="LPFC1_CFG"/>
674bf215546Sopenharmony_ci	<reg32 offset="0x00034" name="LPFC2_CFG"/>
675bf215546Sopenharmony_ci	<reg32 offset="0x00038" name="SDM_CFG0"/>
676bf215546Sopenharmony_ci	<reg32 offset="0x0003C" name="SDM_CFG1"/>
677bf215546Sopenharmony_ci	<reg32 offset="0x00040" name="SDM_CFG2"/>
678bf215546Sopenharmony_ci	<reg32 offset="0x00044" name="SDM_CFG3"/>
679bf215546Sopenharmony_ci	<reg32 offset="0x00048" name="SDM_CFG4"/>
680bf215546Sopenharmony_ci	<reg32 offset="0x0004C" name="SSC_CFG0"/>
681bf215546Sopenharmony_ci	<reg32 offset="0x00050" name="SSC_CFG1"/>
682bf215546Sopenharmony_ci	<reg32 offset="0x00054" name="SSC_CFG2"/>
683bf215546Sopenharmony_ci	<reg32 offset="0x00058" name="SSC_CFG3"/>
684bf215546Sopenharmony_ci	<reg32 offset="0x0005C" name="LKDET_CFG0"/>
685bf215546Sopenharmony_ci	<reg32 offset="0x00060" name="LKDET_CFG1"/>
686bf215546Sopenharmony_ci	<reg32 offset="0x00064" name="LKDET_CFG2"/>
687bf215546Sopenharmony_ci	<reg32 offset="0x00068" name="TEST_CFG">
688bf215546Sopenharmony_ci		<bitfield name="PLL_SW_RESET" pos="0" type="boolean"/>
689bf215546Sopenharmony_ci	</reg32>
690bf215546Sopenharmony_ci	<reg32 offset="0x0006C" name="CAL_CFG0"/>
691bf215546Sopenharmony_ci	<reg32 offset="0x00070" name="CAL_CFG1"/>
692bf215546Sopenharmony_ci	<reg32 offset="0x00074" name="CAL_CFG2"/>
693bf215546Sopenharmony_ci	<reg32 offset="0x00078" name="CAL_CFG3"/>
694bf215546Sopenharmony_ci	<reg32 offset="0x0007C" name="CAL_CFG4"/>
695bf215546Sopenharmony_ci	<reg32 offset="0x00080" name="CAL_CFG5"/>
696bf215546Sopenharmony_ci	<reg32 offset="0x00084" name="CAL_CFG6"/>
697bf215546Sopenharmony_ci	<reg32 offset="0x00088" name="CAL_CFG7"/>
698bf215546Sopenharmony_ci	<reg32 offset="0x0008C" name="CAL_CFG8"/>
699bf215546Sopenharmony_ci	<reg32 offset="0x00090" name="CAL_CFG9"/>
700bf215546Sopenharmony_ci	<reg32 offset="0x00094" name="CAL_CFG10"/>
701bf215546Sopenharmony_ci	<reg32 offset="0x00098" name="CAL_CFG11"/>
702bf215546Sopenharmony_ci	<reg32 offset="0x0009C" name="EFUSE_CFG"/>
703bf215546Sopenharmony_ci	<reg32 offset="0x000A0" name="DEBUG_BUS_SEL"/>
704bf215546Sopenharmony_ci</domain>
705bf215546Sopenharmony_ci
706bf215546Sopenharmony_ci<domain name="HDMI_8996_PHY" width="32">
707bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="CFG"/>
708bf215546Sopenharmony_ci	<reg32 offset="0x00004" name="PD_CTL"/>
709bf215546Sopenharmony_ci	<reg32 offset="0x00008" name="MODE"/>
710bf215546Sopenharmony_ci	<reg32 offset="0x0000C" name="MISR_CLEAR"/>
711bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="TX0_TX1_BIST_CFG0"/>
712bf215546Sopenharmony_ci	<reg32 offset="0x00014" name="TX0_TX1_BIST_CFG1"/>
713bf215546Sopenharmony_ci	<reg32 offset="0x00018" name="TX0_TX1_PRBS_SEED_BYTE0"/>
714bf215546Sopenharmony_ci	<reg32 offset="0x0001C" name="TX0_TX1_PRBS_SEED_BYTE1"/>
715bf215546Sopenharmony_ci	<reg32 offset="0x00020" name="TX0_TX1_BIST_PATTERN0"/>
716bf215546Sopenharmony_ci	<reg32 offset="0x00024" name="TX0_TX1_BIST_PATTERN1"/>
717bf215546Sopenharmony_ci	<reg32 offset="0x00028" name="TX2_TX3_BIST_CFG0"/>
718bf215546Sopenharmony_ci	<reg32 offset="0x0002C" name="TX2_TX3_BIST_CFG1"/>
719bf215546Sopenharmony_ci	<reg32 offset="0x00030" name="TX2_TX3_PRBS_SEED_BYTE0"/>
720bf215546Sopenharmony_ci	<reg32 offset="0x00034" name="TX2_TX3_PRBS_SEED_BYTE1"/>
721bf215546Sopenharmony_ci	<reg32 offset="0x00038" name="TX2_TX3_BIST_PATTERN0"/>
722bf215546Sopenharmony_ci	<reg32 offset="0x0003C" name="TX2_TX3_BIST_PATTERN1"/>
723bf215546Sopenharmony_ci	<reg32 offset="0x00040" name="DEBUG_BUS_SEL"/>
724bf215546Sopenharmony_ci	<reg32 offset="0x00044" name="TXCAL_CFG0"/>
725bf215546Sopenharmony_ci	<reg32 offset="0x00048" name="TXCAL_CFG1"/>
726bf215546Sopenharmony_ci	<reg32 offset="0x0004C" name="TX0_TX1_LANE_CTL"/>
727bf215546Sopenharmony_ci	<reg32 offset="0x00050" name="TX2_TX3_LANE_CTL"/>
728bf215546Sopenharmony_ci	<reg32 offset="0x00054" name="LANE_BIST_CONFIG"/>
729bf215546Sopenharmony_ci	<reg32 offset="0x00058" name="CLOCK"/>
730bf215546Sopenharmony_ci	<reg32 offset="0x0005C" name="MISC1"/>
731bf215546Sopenharmony_ci	<reg32 offset="0x00060" name="MISC2"/>
732bf215546Sopenharmony_ci	<reg32 offset="0x00064" name="TX0_TX1_BIST_STATUS0"/>
733bf215546Sopenharmony_ci	<reg32 offset="0x00068" name="TX0_TX1_BIST_STATUS1"/>
734bf215546Sopenharmony_ci	<reg32 offset="0x0006C" name="TX0_TX1_BIST_STATUS2"/>
735bf215546Sopenharmony_ci	<reg32 offset="0x00070" name="TX2_TX3_BIST_STATUS0"/>
736bf215546Sopenharmony_ci	<reg32 offset="0x00074" name="TX2_TX3_BIST_STATUS1"/>
737bf215546Sopenharmony_ci	<reg32 offset="0x00078" name="TX2_TX3_BIST_STATUS2"/>
738bf215546Sopenharmony_ci	<reg32 offset="0x0007C" name="PRE_MISR_STATUS0"/>
739bf215546Sopenharmony_ci	<reg32 offset="0x00080" name="PRE_MISR_STATUS1"/>
740bf215546Sopenharmony_ci	<reg32 offset="0x00084" name="PRE_MISR_STATUS2"/>
741bf215546Sopenharmony_ci	<reg32 offset="0x00088" name="PRE_MISR_STATUS3"/>
742bf215546Sopenharmony_ci	<reg32 offset="0x0008C" name="POST_MISR_STATUS0"/>
743bf215546Sopenharmony_ci	<reg32 offset="0x00090" name="POST_MISR_STATUS1"/>
744bf215546Sopenharmony_ci	<reg32 offset="0x00094" name="POST_MISR_STATUS2"/>
745bf215546Sopenharmony_ci	<reg32 offset="0x00098" name="POST_MISR_STATUS3"/>
746bf215546Sopenharmony_ci	<reg32 offset="0x0009C" name="STATUS"/>
747bf215546Sopenharmony_ci	<reg32 offset="0x000A0" name="MISC3_STATUS"/>
748bf215546Sopenharmony_ci	<reg32 offset="0x000A4" name="MISC4_STATUS"/>
749bf215546Sopenharmony_ci	<reg32 offset="0x000A8" name="DEBUG_BUS0"/>
750bf215546Sopenharmony_ci	<reg32 offset="0x000AC" name="DEBUG_BUS1"/>
751bf215546Sopenharmony_ci	<reg32 offset="0x000B0" name="DEBUG_BUS2"/>
752bf215546Sopenharmony_ci	<reg32 offset="0x000B4" name="DEBUG_BUS3"/>
753bf215546Sopenharmony_ci	<reg32 offset="0x000B8" name="PHY_REVISION_ID0"/>
754bf215546Sopenharmony_ci	<reg32 offset="0x000BC" name="PHY_REVISION_ID1"/>
755bf215546Sopenharmony_ci	<reg32 offset="0x000C0" name="PHY_REVISION_ID2"/>
756bf215546Sopenharmony_ci	<reg32 offset="0x000C4" name="PHY_REVISION_ID3"/>
757bf215546Sopenharmony_ci</domain>
758bf215546Sopenharmony_ci
759bf215546Sopenharmony_ci<domain name="HDMI_PHY_QSERDES_COM" width="32">
760bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="ATB_SEL1"/>
761bf215546Sopenharmony_ci	<reg32 offset="0x00004" name="ATB_SEL2"/>
762bf215546Sopenharmony_ci	<reg32 offset="0x00008" name="FREQ_UPDATE"/>
763bf215546Sopenharmony_ci	<reg32 offset="0x0000C" name="BG_TIMER"/>
764bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="SSC_EN_CENTER"/>
765bf215546Sopenharmony_ci	<reg32 offset="0x00014" name="SSC_ADJ_PER1"/>
766bf215546Sopenharmony_ci	<reg32 offset="0x00018" name="SSC_ADJ_PER2"/>
767bf215546Sopenharmony_ci	<reg32 offset="0x0001C" name="SSC_PER1"/>
768bf215546Sopenharmony_ci	<reg32 offset="0x00020" name="SSC_PER2"/>
769bf215546Sopenharmony_ci	<reg32 offset="0x00024" name="SSC_STEP_SIZE1"/>
770bf215546Sopenharmony_ci	<reg32 offset="0x00028" name="SSC_STEP_SIZE2"/>
771bf215546Sopenharmony_ci	<reg32 offset="0x0002C" name="POST_DIV"/>
772bf215546Sopenharmony_ci	<reg32 offset="0x00030" name="POST_DIV_MUX"/>
773bf215546Sopenharmony_ci	<reg32 offset="0x00034" name="BIAS_EN_CLKBUFLR_EN"/>
774bf215546Sopenharmony_ci	<reg32 offset="0x00038" name="CLK_ENABLE1"/>
775bf215546Sopenharmony_ci	<reg32 offset="0x0003C" name="SYS_CLK_CTRL"/>
776bf215546Sopenharmony_ci	<reg32 offset="0x00040" name="SYSCLK_BUF_ENABLE"/>
777bf215546Sopenharmony_ci	<reg32 offset="0x00044" name="PLL_EN"/>
778bf215546Sopenharmony_ci	<reg32 offset="0x00048" name="PLL_IVCO"/>
779bf215546Sopenharmony_ci	<reg32 offset="0x0004C" name="LOCK_CMP1_MODE0"/>
780bf215546Sopenharmony_ci	<reg32 offset="0x00050" name="LOCK_CMP2_MODE0"/>
781bf215546Sopenharmony_ci	<reg32 offset="0x00054" name="LOCK_CMP3_MODE0"/>
782bf215546Sopenharmony_ci	<reg32 offset="0x00058" name="LOCK_CMP1_MODE1"/>
783bf215546Sopenharmony_ci	<reg32 offset="0x0005C" name="LOCK_CMP2_MODE1"/>
784bf215546Sopenharmony_ci	<reg32 offset="0x00060" name="LOCK_CMP3_MODE1"/>
785bf215546Sopenharmony_ci	<reg32 offset="0x00064" name="LOCK_CMP1_MODE2"/>
786bf215546Sopenharmony_ci	<reg32 offset="0x00064" name="CMN_RSVD0"/>
787bf215546Sopenharmony_ci	<reg32 offset="0x00068" name="LOCK_CMP2_MODE2"/>
788bf215546Sopenharmony_ci	<reg32 offset="0x00068" name="EP_CLOCK_DETECT_CTRL"/>
789bf215546Sopenharmony_ci	<reg32 offset="0x0006C" name="LOCK_CMP3_MODE2"/>
790bf215546Sopenharmony_ci	<reg32 offset="0x0006C" name="SYSCLK_DET_COMP_STATUS"/>
791bf215546Sopenharmony_ci	<reg32 offset="0x00070" name="BG_TRIM"/>
792bf215546Sopenharmony_ci	<reg32 offset="0x00074" name="CLK_EP_DIV"/>
793bf215546Sopenharmony_ci	<reg32 offset="0x00078" name="CP_CTRL_MODE0"/>
794bf215546Sopenharmony_ci	<reg32 offset="0x0007C" name="CP_CTRL_MODE1"/>
795bf215546Sopenharmony_ci	<reg32 offset="0x00080" name="CP_CTRL_MODE2"/>
796bf215546Sopenharmony_ci	<reg32 offset="0x00080" name="CMN_RSVD1"/>
797bf215546Sopenharmony_ci	<reg32 offset="0x00084" name="PLL_RCTRL_MODE0"/>
798bf215546Sopenharmony_ci	<reg32 offset="0x00088" name="PLL_RCTRL_MODE1"/>
799bf215546Sopenharmony_ci	<reg32 offset="0x0008C" name="PLL_RCTRL_MODE2"/>
800bf215546Sopenharmony_ci	<reg32 offset="0x0008C" name="CMN_RSVD2"/>
801bf215546Sopenharmony_ci	<reg32 offset="0x00090" name="PLL_CCTRL_MODE0"/>
802bf215546Sopenharmony_ci	<reg32 offset="0x00094" name="PLL_CCTRL_MODE1"/>
803bf215546Sopenharmony_ci	<reg32 offset="0x00098" name="PLL_CCTRL_MODE2"/>
804bf215546Sopenharmony_ci	<reg32 offset="0x00098" name="CMN_RSVD3"/>
805bf215546Sopenharmony_ci	<reg32 offset="0x0009C" name="PLL_CNTRL"/>
806bf215546Sopenharmony_ci	<reg32 offset="0x000A0" name="PHASE_SEL_CTRL"/>
807bf215546Sopenharmony_ci	<reg32 offset="0x000A4" name="PHASE_SEL_DC"/>
808bf215546Sopenharmony_ci	<reg32 offset="0x000A8" name="CORE_CLK_IN_SYNC_SEL"/>
809bf215546Sopenharmony_ci	<reg32 offset="0x000A8" name="BIAS_EN_CTRL_BY_PSM"/>
810bf215546Sopenharmony_ci	<reg32 offset="0x000AC" name="SYSCLK_EN_SEL"/>
811bf215546Sopenharmony_ci	<reg32 offset="0x000B0" name="CML_SYSCLK_SEL"/>
812bf215546Sopenharmony_ci	<reg32 offset="0x000B4" name="RESETSM_CNTRL"/>
813bf215546Sopenharmony_ci	<reg32 offset="0x000B8" name="RESETSM_CNTRL2"/>
814bf215546Sopenharmony_ci	<reg32 offset="0x000BC" name="RESTRIM_CTRL"/>
815bf215546Sopenharmony_ci	<reg32 offset="0x000C0" name="RESTRIM_CTRL2"/>
816bf215546Sopenharmony_ci	<reg32 offset="0x000C4" name="RESCODE_DIV_NUM"/>
817bf215546Sopenharmony_ci	<reg32 offset="0x000C8" name="LOCK_CMP_EN"/>
818bf215546Sopenharmony_ci	<reg32 offset="0x000CC" name="LOCK_CMP_CFG"/>
819bf215546Sopenharmony_ci	<reg32 offset="0x000D0" name="DEC_START_MODE0"/>
820bf215546Sopenharmony_ci	<reg32 offset="0x000D4" name="DEC_START_MODE1"/>
821bf215546Sopenharmony_ci	<reg32 offset="0x000D8" name="DEC_START_MODE2"/>
822bf215546Sopenharmony_ci	<reg32 offset="0x000D8" name="VCOCAL_DEADMAN_CTRL"/>
823bf215546Sopenharmony_ci	<reg32 offset="0x000DC" name="DIV_FRAC_START1_MODE0"/>
824bf215546Sopenharmony_ci	<reg32 offset="0x000E0" name="DIV_FRAC_START2_MODE0"/>
825bf215546Sopenharmony_ci	<reg32 offset="0x000E4" name="DIV_FRAC_START3_MODE0"/>
826bf215546Sopenharmony_ci	<reg32 offset="0x000E8" name="DIV_FRAC_START1_MODE1"/>
827bf215546Sopenharmony_ci	<reg32 offset="0x000EC" name="DIV_FRAC_START2_MODE1"/>
828bf215546Sopenharmony_ci	<reg32 offset="0x000F0" name="DIV_FRAC_START3_MODE1"/>
829bf215546Sopenharmony_ci	<reg32 offset="0x000F4" name="DIV_FRAC_START1_MODE2"/>
830bf215546Sopenharmony_ci	<reg32 offset="0x000F4" name="VCO_TUNE_MINVAL1"/>
831bf215546Sopenharmony_ci	<reg32 offset="0x000F8" name="DIV_FRAC_START2_MODE2"/>
832bf215546Sopenharmony_ci	<reg32 offset="0x000F8" name="VCO_TUNE_MINVAL2"/>
833bf215546Sopenharmony_ci	<reg32 offset="0x000FC" name="DIV_FRAC_START3_MODE2"/>
834bf215546Sopenharmony_ci	<reg32 offset="0x000FC" name="CMN_RSVD4"/>
835bf215546Sopenharmony_ci	<reg32 offset="0x00100" name="INTEGLOOP_INITVAL"/>
836bf215546Sopenharmony_ci	<reg32 offset="0x00104" name="INTEGLOOP_EN"/>
837bf215546Sopenharmony_ci	<reg32 offset="0x00108" name="INTEGLOOP_GAIN0_MODE0"/>
838bf215546Sopenharmony_ci	<reg32 offset="0x0010C" name="INTEGLOOP_GAIN1_MODE0"/>
839bf215546Sopenharmony_ci	<reg32 offset="0x00110" name="INTEGLOOP_GAIN0_MODE1"/>
840bf215546Sopenharmony_ci	<reg32 offset="0x00114" name="INTEGLOOP_GAIN1_MODE1"/>
841bf215546Sopenharmony_ci	<reg32 offset="0x00118" name="INTEGLOOP_GAIN0_MODE2"/>
842bf215546Sopenharmony_ci	<reg32 offset="0x00118" name="VCO_TUNE_MAXVAL1"/>
843bf215546Sopenharmony_ci	<reg32 offset="0x0011C" name="INTEGLOOP_GAIN1_MODE2"/>
844bf215546Sopenharmony_ci	<reg32 offset="0x0011C" name="VCO_TUNE_MAXVAL2"/>
845bf215546Sopenharmony_ci	<reg32 offset="0x00120" name="RES_TRIM_CONTROL2"/>
846bf215546Sopenharmony_ci	<reg32 offset="0x00124" name="VCO_TUNE_CTRL"/>
847bf215546Sopenharmony_ci	<reg32 offset="0x00128" name="VCO_TUNE_MAP"/>
848bf215546Sopenharmony_ci	<reg32 offset="0x0012C" name="VCO_TUNE1_MODE0"/>
849bf215546Sopenharmony_ci	<reg32 offset="0x00130" name="VCO_TUNE2_MODE0"/>
850bf215546Sopenharmony_ci	<reg32 offset="0x00134" name="VCO_TUNE1_MODE1"/>
851bf215546Sopenharmony_ci	<reg32 offset="0x00138" name="VCO_TUNE2_MODE1"/>
852bf215546Sopenharmony_ci	<reg32 offset="0x0013C" name="VCO_TUNE1_MODE2"/>
853bf215546Sopenharmony_ci	<reg32 offset="0x0013C" name="VCO_TUNE_INITVAL1"/>
854bf215546Sopenharmony_ci	<reg32 offset="0x00140" name="VCO_TUNE2_MODE2"/>
855bf215546Sopenharmony_ci	<reg32 offset="0x00140" name="VCO_TUNE_INITVAL2"/>
856bf215546Sopenharmony_ci	<reg32 offset="0x00144" name="VCO_TUNE_TIMER1"/>
857bf215546Sopenharmony_ci	<reg32 offset="0x00148" name="VCO_TUNE_TIMER2"/>
858bf215546Sopenharmony_ci	<reg32 offset="0x0014C" name="SAR"/>
859bf215546Sopenharmony_ci	<reg32 offset="0x00150" name="SAR_CLK"/>
860bf215546Sopenharmony_ci	<reg32 offset="0x00154" name="SAR_CODE_OUT_STATUS"/>
861bf215546Sopenharmony_ci	<reg32 offset="0x00158" name="SAR_CODE_READY_STATUS"/>
862bf215546Sopenharmony_ci	<reg32 offset="0x0015C" name="CMN_STATUS"/>
863bf215546Sopenharmony_ci	<reg32 offset="0x00160" name="RESET_SM_STATUS"/>
864bf215546Sopenharmony_ci	<reg32 offset="0x00164" name="RESTRIM_CODE_STATUS"/>
865bf215546Sopenharmony_ci	<reg32 offset="0x00168" name="PLLCAL_CODE1_STATUS"/>
866bf215546Sopenharmony_ci	<reg32 offset="0x0016C" name="PLLCAL_CODE2_STATUS"/>
867bf215546Sopenharmony_ci	<reg32 offset="0x00170" name="BG_CTRL"/>
868bf215546Sopenharmony_ci	<reg32 offset="0x00174" name="CLK_SELECT"/>
869bf215546Sopenharmony_ci	<reg32 offset="0x00178" name="HSCLK_SEL"/>
870bf215546Sopenharmony_ci	<reg32 offset="0x0017C" name="INTEGLOOP_BINCODE_STATUS"/>
871bf215546Sopenharmony_ci	<reg32 offset="0x00180" name="PLL_ANALOG"/>
872bf215546Sopenharmony_ci	<reg32 offset="0x00184" name="CORECLK_DIV"/>
873bf215546Sopenharmony_ci	<reg32 offset="0x00188" name="SW_RESET"/>
874bf215546Sopenharmony_ci	<reg32 offset="0x0018C" name="CORE_CLK_EN"/>
875bf215546Sopenharmony_ci	<reg32 offset="0x00190" name="C_READY_STATUS"/>
876bf215546Sopenharmony_ci	<reg32 offset="0x00194" name="CMN_CONFIG"/>
877bf215546Sopenharmony_ci	<reg32 offset="0x00198" name="CMN_RATE_OVERRIDE"/>
878bf215546Sopenharmony_ci	<reg32 offset="0x0019C" name="SVS_MODE_CLK_SEL"/>
879bf215546Sopenharmony_ci	<reg32 offset="0x001A0" name="DEBUG_BUS0"/>
880bf215546Sopenharmony_ci	<reg32 offset="0x001A4" name="DEBUG_BUS1"/>
881bf215546Sopenharmony_ci	<reg32 offset="0x001A8" name="DEBUG_BUS2"/>
882bf215546Sopenharmony_ci	<reg32 offset="0x001AC" name="DEBUG_BUS3"/>
883bf215546Sopenharmony_ci	<reg32 offset="0x001B0" name="DEBUG_BUS_SEL"/>
884bf215546Sopenharmony_ci	<reg32 offset="0x001B4" name="CMN_MISC1"/>
885bf215546Sopenharmony_ci	<reg32 offset="0x001B8" name="CMN_MISC2"/>
886bf215546Sopenharmony_ci	<reg32 offset="0x001BC" name="CORECLK_DIV_MODE1"/>
887bf215546Sopenharmony_ci	<reg32 offset="0x001C0" name="CORECLK_DIV_MODE2"/>
888bf215546Sopenharmony_ci	<reg32 offset="0x001C4" name="CMN_RSVD5"/>
889bf215546Sopenharmony_ci</domain>
890bf215546Sopenharmony_ci
891bf215546Sopenharmony_ci
892bf215546Sopenharmony_ci<domain name="HDMI_PHY_QSERDES_TX_LX" width="32">
893bf215546Sopenharmony_ci		<reg32 offset="0x00000" name="BIST_MODE_LANENO"/>
894bf215546Sopenharmony_ci		<reg32 offset="0x00004" name="BIST_INVERT"/>
895bf215546Sopenharmony_ci		<reg32 offset="0x00008" name="CLKBUF_ENABLE"/>
896bf215546Sopenharmony_ci		<reg32 offset="0x0000C" name="CMN_CONTROL_ONE"/>
897bf215546Sopenharmony_ci		<reg32 offset="0x00010" name="CMN_CONTROL_TWO"/>
898bf215546Sopenharmony_ci		<reg32 offset="0x00014" name="CMN_CONTROL_THREE"/>
899bf215546Sopenharmony_ci		<reg32 offset="0x00018" name="TX_EMP_POST1_LVL"/>
900bf215546Sopenharmony_ci		<reg32 offset="0x0001C" name="TX_POST2_EMPH"/>
901bf215546Sopenharmony_ci		<reg32 offset="0x00020" name="TX_BOOST_LVL_UP_DN"/>
902bf215546Sopenharmony_ci		<reg32 offset="0x00024" name="HP_PD_ENABLES"/>
903bf215546Sopenharmony_ci		<reg32 offset="0x00028" name="TX_IDLE_LVL_LARGE_AMP"/>
904bf215546Sopenharmony_ci		<reg32 offset="0x0002C" name="TX_DRV_LVL"/>
905bf215546Sopenharmony_ci		<reg32 offset="0x00030" name="TX_DRV_LVL_OFFSET"/>
906bf215546Sopenharmony_ci		<reg32 offset="0x00034" name="RESET_TSYNC_EN"/>
907bf215546Sopenharmony_ci		<reg32 offset="0x00038" name="PRE_STALL_LDO_BOOST_EN"/>
908bf215546Sopenharmony_ci		<reg32 offset="0x0003C" name="TX_BAND"/>
909bf215546Sopenharmony_ci		<reg32 offset="0x00040" name="SLEW_CNTL"/>
910bf215546Sopenharmony_ci		<reg32 offset="0x00044" name="INTERFACE_SELECT"/>
911bf215546Sopenharmony_ci		<reg32 offset="0x00048" name="LPB_EN"/>
912bf215546Sopenharmony_ci		<reg32 offset="0x0004C" name="RES_CODE_LANE_TX"/>
913bf215546Sopenharmony_ci		<reg32 offset="0x00050" name="RES_CODE_LANE_RX"/>
914bf215546Sopenharmony_ci		<reg32 offset="0x00054" name="RES_CODE_LANE_OFFSET"/>
915bf215546Sopenharmony_ci		<reg32 offset="0x00058" name="PERL_LENGTH1"/>
916bf215546Sopenharmony_ci		<reg32 offset="0x0005C" name="PERL_LENGTH2"/>
917bf215546Sopenharmony_ci		<reg32 offset="0x00060" name="SERDES_BYP_EN_OUT"/>
918bf215546Sopenharmony_ci		<reg32 offset="0x00064" name="DEBUG_BUS_SEL"/>
919bf215546Sopenharmony_ci		<reg32 offset="0x00068" name="HIGHZ_TRANSCEIVEREN_BIAS_DRVR_EN"/>
920bf215546Sopenharmony_ci		<reg32 offset="0x0006C" name="TX_POL_INV"/>
921bf215546Sopenharmony_ci		<reg32 offset="0x00070" name="PARRATE_REC_DETECT_IDLE_EN"/>
922bf215546Sopenharmony_ci		<reg32 offset="0x00074" name="BIST_PATTERN1"/>
923bf215546Sopenharmony_ci		<reg32 offset="0x00078" name="BIST_PATTERN2"/>
924bf215546Sopenharmony_ci		<reg32 offset="0x0007C" name="BIST_PATTERN3"/>
925bf215546Sopenharmony_ci		<reg32 offset="0x00080" name="BIST_PATTERN4"/>
926bf215546Sopenharmony_ci		<reg32 offset="0x00084" name="BIST_PATTERN5"/>
927bf215546Sopenharmony_ci		<reg32 offset="0x00088" name="BIST_PATTERN6"/>
928bf215546Sopenharmony_ci		<reg32 offset="0x0008C" name="BIST_PATTERN7"/>
929bf215546Sopenharmony_ci		<reg32 offset="0x00090" name="BIST_PATTERN8"/>
930bf215546Sopenharmony_ci		<reg32 offset="0x00094" name="LANE_MODE"/>
931bf215546Sopenharmony_ci		<reg32 offset="0x00098" name="IDAC_CAL_LANE_MODE"/>
932bf215546Sopenharmony_ci		<reg32 offset="0x0009C" name="IDAC_CAL_LANE_MODE_CONFIGURATION"/>
933bf215546Sopenharmony_ci		<reg32 offset="0x000A0" name="ATB_SEL1"/>
934bf215546Sopenharmony_ci		<reg32 offset="0x000A4" name="ATB_SEL2"/>
935bf215546Sopenharmony_ci		<reg32 offset="0x000A8" name="RCV_DETECT_LVL"/>
936bf215546Sopenharmony_ci		<reg32 offset="0x000AC" name="RCV_DETECT_LVL_2"/>
937bf215546Sopenharmony_ci		<reg32 offset="0x000B0" name="PRBS_SEED1"/>
938bf215546Sopenharmony_ci		<reg32 offset="0x000B4" name="PRBS_SEED2"/>
939bf215546Sopenharmony_ci		<reg32 offset="0x000B8" name="PRBS_SEED3"/>
940bf215546Sopenharmony_ci		<reg32 offset="0x000BC" name="PRBS_SEED4"/>
941bf215546Sopenharmony_ci		<reg32 offset="0x000C0" name="RESET_GEN"/>
942bf215546Sopenharmony_ci		<reg32 offset="0x000C4" name="RESET_GEN_MUXES"/>
943bf215546Sopenharmony_ci		<reg32 offset="0x000C8" name="TRAN_DRVR_EMP_EN"/>
944bf215546Sopenharmony_ci		<reg32 offset="0x000CC" name="TX_INTERFACE_MODE"/>
945bf215546Sopenharmony_ci		<reg32 offset="0x000D0" name="PWM_CTRL"/>
946bf215546Sopenharmony_ci		<reg32 offset="0x000D4" name="PWM_ENCODED_OR_DATA"/>
947bf215546Sopenharmony_ci		<reg32 offset="0x000D8" name="PWM_GEAR_1_DIVIDER_BAND2"/>
948bf215546Sopenharmony_ci		<reg32 offset="0x000DC" name="PWM_GEAR_2_DIVIDER_BAND2"/>
949bf215546Sopenharmony_ci		<reg32 offset="0x000E0" name="PWM_GEAR_3_DIVIDER_BAND2"/>
950bf215546Sopenharmony_ci		<reg32 offset="0x000E4" name="PWM_GEAR_4_DIVIDER_BAND2"/>
951bf215546Sopenharmony_ci		<reg32 offset="0x000E8" name="PWM_GEAR_1_DIVIDER_BAND0_1"/>
952bf215546Sopenharmony_ci		<reg32 offset="0x000EC" name="PWM_GEAR_2_DIVIDER_BAND0_1"/>
953bf215546Sopenharmony_ci		<reg32 offset="0x000F0" name="PWM_GEAR_3_DIVIDER_BAND0_1"/>
954bf215546Sopenharmony_ci		<reg32 offset="0x000F4" name="PWM_GEAR_4_DIVIDER_BAND0_1"/>
955bf215546Sopenharmony_ci		<reg32 offset="0x000F8" name="VMODE_CTRL1"/>
956bf215546Sopenharmony_ci		<reg32 offset="0x000FC" name="VMODE_CTRL2"/>
957bf215546Sopenharmony_ci		<reg32 offset="0x00100" name="TX_ALOG_INTF_OBSV_CNTL"/>
958bf215546Sopenharmony_ci		<reg32 offset="0x00104" name="BIST_STATUS"/>
959bf215546Sopenharmony_ci		<reg32 offset="0x00108" name="BIST_ERROR_COUNT1"/>
960bf215546Sopenharmony_ci		<reg32 offset="0x0010C" name="BIST_ERROR_COUNT2"/>
961bf215546Sopenharmony_ci		<reg32 offset="0x00110" name="TX_ALOG_INTF_OBSV"/>
962bf215546Sopenharmony_ci</domain>
963bf215546Sopenharmony_ci
964bf215546Sopenharmony_ci</database>
965