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<import file="mdp/mdp_common.xml"/>
7bf215546Sopenharmony_ci
8bf215546Sopenharmony_ci<!-- where does this belong? -->
9bf215546Sopenharmony_ci<domain name="VBIF" width="32">
10bf215546Sopenharmony_ci</domain>
11bf215546Sopenharmony_ci
12bf215546Sopenharmony_ci<domain name="MDSS" width="32">
13bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="HW_VERSION">
14bf215546Sopenharmony_ci		<bitfield name="STEP" low="0" high="15" type="uint"/>
15bf215546Sopenharmony_ci		<bitfield name="MINOR" low="16" high="27" type="uint"/>
16bf215546Sopenharmony_ci		<bitfield name="MAJOR" low="28" high="31" type="uint"/>
17bf215546Sopenharmony_ci	</reg32>
18bf215546Sopenharmony_ci
19bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="HW_INTR_STATUS">
20bf215546Sopenharmony_ci		<bitfield name="INTR_MDP"  pos="0"  type="boolean"/>
21bf215546Sopenharmony_ci		<bitfield name="INTR_DSI0" pos="4"  type="boolean"/>
22bf215546Sopenharmony_ci		<bitfield name="INTR_DSI1" pos="5"  type="boolean"/>
23bf215546Sopenharmony_ci		<bitfield name="INTR_HDMI" pos="8"  type="boolean"/>
24bf215546Sopenharmony_ci		<bitfield name="INTR_EDP"  pos="12" type="boolean"/>
25bf215546Sopenharmony_ci	</reg32>
26bf215546Sopenharmony_ci</domain>
27bf215546Sopenharmony_ci
28bf215546Sopenharmony_ci<domain name="MDP5" width="32">
29bf215546Sopenharmony_ci
30bf215546Sopenharmony_ci	<enum name="mdp5_intf_type">
31bf215546Sopenharmony_ci		<value name="INTF_DISABLED" value="0x0"/>
32bf215546Sopenharmony_ci		<value name="INTF_DSI"  value="0x1"/>
33bf215546Sopenharmony_ci		<value name="INTF_HDMI" value="0x3"/>
34bf215546Sopenharmony_ci		<value name="INTF_LCDC" value="0x5"/>
35bf215546Sopenharmony_ci		<value name="INTF_eDP"  value="0x9"/>
36bf215546Sopenharmony_ci		<value name="INTF_VIRTUAL"  value="0x64"/>
37bf215546Sopenharmony_ci		<!-- non-display interfaces are listed below: -->
38bf215546Sopenharmony_ci		<value name="INTF_WB"  value="0x65"/>
39bf215546Sopenharmony_ci	</enum>
40bf215546Sopenharmony_ci
41bf215546Sopenharmony_ci	<enum name="mdp5_intfnum">
42bf215546Sopenharmony_ci		<value name="NO_INTF" value="0"/>
43bf215546Sopenharmony_ci		<value name="INTF0"   value="1"/>
44bf215546Sopenharmony_ci		<value name="INTF1"   value="2"/>
45bf215546Sopenharmony_ci		<value name="INTF2"   value="3"/>
46bf215546Sopenharmony_ci		<value name="INTF3"   value="4"/>
47bf215546Sopenharmony_ci	</enum>
48bf215546Sopenharmony_ci
49bf215546Sopenharmony_ci	<enum name="mdp5_pipe">
50bf215546Sopenharmony_ci		<value name="SSPP_NONE" value="0"/>
51bf215546Sopenharmony_ci		<value name="SSPP_VIG0" value="1"/>
52bf215546Sopenharmony_ci		<value name="SSPP_VIG1" value="2"/>
53bf215546Sopenharmony_ci		<value name="SSPP_VIG2" value="3"/>
54bf215546Sopenharmony_ci		<value name="SSPP_RGB0" value="4"/>
55bf215546Sopenharmony_ci		<value name="SSPP_RGB1" value="5"/>
56bf215546Sopenharmony_ci		<value name="SSPP_RGB2" value="6"/>
57bf215546Sopenharmony_ci		<value name="SSPP_DMA0" value="7"/>
58bf215546Sopenharmony_ci		<value name="SSPP_DMA1" value="8"/>
59bf215546Sopenharmony_ci		<value name="SSPP_VIG3" value="9"/>
60bf215546Sopenharmony_ci		<value name="SSPP_RGB3" value="10"/>
61bf215546Sopenharmony_ci		<value name="SSPP_CURSOR0" value="11"/>
62bf215546Sopenharmony_ci		<value name="SSPP_CURSOR1" value="12"/>
63bf215546Sopenharmony_ci	</enum>
64bf215546Sopenharmony_ci
65bf215546Sopenharmony_ci	<enum name="mdp5_format">
66bf215546Sopenharmony_ci		<!-- TODO -->
67bf215546Sopenharmony_ci		<value name="DUMMY" value="0"/>
68bf215546Sopenharmony_ci	</enum>
69bf215546Sopenharmony_ci
70bf215546Sopenharmony_ci	<enum name="mdp5_ctl_mode">
71bf215546Sopenharmony_ci		<value name="MODE_NONE" value="0"/>
72bf215546Sopenharmony_ci		<value name="MODE_WB_0_BLOCK" value="1"/>
73bf215546Sopenharmony_ci		<value name="MODE_WB_1_BLOCK" value="2"/>
74bf215546Sopenharmony_ci		<value name="MODE_WB_0_LINE" value="3"/>
75bf215546Sopenharmony_ci		<value name="MODE_WB_1_LINE" value="4"/>
76bf215546Sopenharmony_ci		<value name="MODE_WB_2_LINE" value="5"/>
77bf215546Sopenharmony_ci	</enum>
78bf215546Sopenharmony_ci
79bf215546Sopenharmony_ci	<enum name="mdp5_pack_3d">
80bf215546Sopenharmony_ci		<value name="PACK_3D_FRAME_INT" value="0"/>
81bf215546Sopenharmony_ci		<value name="PACK_3D_H_ROW_INT" value="1"/>
82bf215546Sopenharmony_ci		<value name="PACK_3D_V_ROW_INT" value="2"/>
83bf215546Sopenharmony_ci		<value name="PACK_3D_COL_INT"   value="3"/>
84bf215546Sopenharmony_ci	</enum>
85bf215546Sopenharmony_ci
86bf215546Sopenharmony_ci	<enum name="mdp5_scale_filter">
87bf215546Sopenharmony_ci		<value name="SCALE_FILTER_NEAREST" value="0"/>
88bf215546Sopenharmony_ci		<value name="SCALE_FILTER_BIL" value="1"/>
89bf215546Sopenharmony_ci		<value name="SCALE_FILTER_PCMN" value="2"/>
90bf215546Sopenharmony_ci		<value name="SCALE_FILTER_CA" value="3"/>
91bf215546Sopenharmony_ci	</enum>
92bf215546Sopenharmony_ci
93bf215546Sopenharmony_ci	<enum name="mdp5_pipe_bwc">
94bf215546Sopenharmony_ci		<value name="BWC_LOSSLESS" value="0"/>
95bf215546Sopenharmony_ci		<value name="BWC_Q_HIGH"   value="1"/>
96bf215546Sopenharmony_ci		<value name="BWC_Q_MED"    value="2"/>
97bf215546Sopenharmony_ci	</enum>
98bf215546Sopenharmony_ci
99bf215546Sopenharmony_ci	<enum name="mdp5_cursor_format">
100bf215546Sopenharmony_ci		<value name="CURSOR_FMT_ARGB8888" value="0"/>
101bf215546Sopenharmony_ci		<value name="CURSOR_FMT_ARGB1555" value="2"/>
102bf215546Sopenharmony_ci		<value name="CURSOR_FMT_ARGB4444" value="4"/>
103bf215546Sopenharmony_ci	</enum>
104bf215546Sopenharmony_ci
105bf215546Sopenharmony_ci	<enum name="mdp5_cursor_alpha">
106bf215546Sopenharmony_ci		<value name="CURSOR_ALPHA_CONST" value="0"/>
107bf215546Sopenharmony_ci		<value name="CURSOR_ALPHA_PER_PIXEL" value="2"/>
108bf215546Sopenharmony_ci	</enum>
109bf215546Sopenharmony_ci
110bf215546Sopenharmony_ci	<bitset name="MDP5_IRQ">
111bf215546Sopenharmony_ci		<bitfield name="WB_0_DONE"                pos="0"  type="boolean"/>
112bf215546Sopenharmony_ci		<bitfield name="WB_1_DONE"                pos="1"  type="boolean"/>
113bf215546Sopenharmony_ci		<bitfield name="WB_2_DONE"                pos="4"  type="boolean"/>
114bf215546Sopenharmony_ci		<bitfield name="PING_PONG_0_DONE"         pos="8"  type="boolean"/>
115bf215546Sopenharmony_ci		<bitfield name="PING_PONG_1_DONE"         pos="9"  type="boolean"/>
116bf215546Sopenharmony_ci		<bitfield name="PING_PONG_2_DONE"         pos="10" type="boolean"/>
117bf215546Sopenharmony_ci		<bitfield name="PING_PONG_3_DONE"         pos="11" type="boolean"/>
118bf215546Sopenharmony_ci		<bitfield name="PING_PONG_0_RD_PTR"       pos="12" type="boolean"/>
119bf215546Sopenharmony_ci		<bitfield name="PING_PONG_1_RD_PTR"       pos="13" type="boolean"/>
120bf215546Sopenharmony_ci		<bitfield name="PING_PONG_2_RD_PTR"       pos="14" type="boolean"/>
121bf215546Sopenharmony_ci		<bitfield name="PING_PONG_3_RD_PTR"       pos="15" type="boolean"/>
122bf215546Sopenharmony_ci		<bitfield name="PING_PONG_0_WR_PTR"       pos="16" type="boolean"/>
123bf215546Sopenharmony_ci		<bitfield name="PING_PONG_1_WR_PTR"       pos="17" type="boolean"/>
124bf215546Sopenharmony_ci		<bitfield name="PING_PONG_2_WR_PTR"       pos="18" type="boolean"/>
125bf215546Sopenharmony_ci		<bitfield name="PING_PONG_3_WR_PTR"       pos="19" type="boolean"/>
126bf215546Sopenharmony_ci		<bitfield name="PING_PONG_0_AUTO_REF"     pos="20" type="boolean"/>
127bf215546Sopenharmony_ci		<bitfield name="PING_PONG_1_AUTO_REF"     pos="21" type="boolean"/>
128bf215546Sopenharmony_ci		<bitfield name="PING_PONG_2_AUTO_REF"     pos="22" type="boolean"/>
129bf215546Sopenharmony_ci		<bitfield name="PING_PONG_3_AUTO_REF"     pos="23" type="boolean"/>
130bf215546Sopenharmony_ci		<bitfield name="INTF0_UNDER_RUN"          pos="24" type="boolean"/>
131bf215546Sopenharmony_ci		<bitfield name="INTF0_VSYNC"              pos="25" type="boolean"/>
132bf215546Sopenharmony_ci		<bitfield name="INTF1_UNDER_RUN"          pos="26" type="boolean"/>
133bf215546Sopenharmony_ci		<bitfield name="INTF1_VSYNC"              pos="27" type="boolean"/>
134bf215546Sopenharmony_ci		<bitfield name="INTF2_UNDER_RUN"          pos="28" type="boolean"/>
135bf215546Sopenharmony_ci		<bitfield name="INTF2_VSYNC"              pos="29" type="boolean"/>
136bf215546Sopenharmony_ci		<bitfield name="INTF3_UNDER_RUN"          pos="30" type="boolean"/>
137bf215546Sopenharmony_ci		<bitfield name="INTF3_VSYNC"              pos="31" type="boolean"/>
138bf215546Sopenharmony_ci	</bitset>
139bf215546Sopenharmony_ci
140bf215546Sopenharmony_ci	<bitset name="mdp5_smp_alloc" inline="yes">
141bf215546Sopenharmony_ci        <!-- Use "mdp5_cfg->mdp.smp.clients[enum mdp5_pipe]" instead -->
142bf215546Sopenharmony_ci		<bitfield name="CLIENT0" low="0"  high="7"  type="uint"/>
143bf215546Sopenharmony_ci		<bitfield name="CLIENT1" low="8"  high="15" type="uint"/>
144bf215546Sopenharmony_ci		<bitfield name="CLIENT2" low="16" high="23" type="uint"/>
145bf215546Sopenharmony_ci	</bitset>
146bf215546Sopenharmony_ci
147bf215546Sopenharmony_ci	<reg32 offset="0x00000" name="HW_VERSION">
148bf215546Sopenharmony_ci		<bitfield name="STEP" low="0" high="15" type="uint"/>
149bf215546Sopenharmony_ci		<bitfield name="MINOR" low="16" high="27" type="uint"/>
150bf215546Sopenharmony_ci		<bitfield name="MAJOR" low="28" high="31" type="uint"/>
151bf215546Sopenharmony_ci	</reg32>
152bf215546Sopenharmony_ci
153bf215546Sopenharmony_ci	<reg32 offset="0x00004" name="DISP_INTF_SEL">
154bf215546Sopenharmony_ci		<bitfield name="INTF0" low="0"  high="7"  type="mdp5_intf_type"/>
155bf215546Sopenharmony_ci		<bitfield name="INTF1" low="8"  high="15" type="mdp5_intf_type"/>
156bf215546Sopenharmony_ci		<bitfield name="INTF2" low="16" high="23" type="mdp5_intf_type"/>
157bf215546Sopenharmony_ci		<bitfield name="INTF3" low="24" high="31" type="mdp5_intf_type"/>
158bf215546Sopenharmony_ci	</reg32>
159bf215546Sopenharmony_ci	<reg32 offset="0x00010" name="INTR_EN" type="MDP5_IRQ"/>
160bf215546Sopenharmony_ci	<reg32 offset="0x00014" name="INTR_STATUS" type="MDP5_IRQ"/>
161bf215546Sopenharmony_ci	<reg32 offset="0x00018" name="INTR_CLEAR" type="MDP5_IRQ"/>
162bf215546Sopenharmony_ci	<reg32 offset="0x0001C" name="HIST_INTR_EN"/>
163bf215546Sopenharmony_ci	<reg32 offset="0x00020" name="HIST_INTR_STATUS"/>
164bf215546Sopenharmony_ci	<reg32 offset="0x00024" name="HIST_INTR_CLEAR"/>
165bf215546Sopenharmony_ci	<reg32 offset="0x00028" name="SPARE_0">
166bf215546Sopenharmony_ci		<bitfield name="SPLIT_DPL_SINGLE_FLUSH_EN" pos="0"/>
167bf215546Sopenharmony_ci	</reg32>
168bf215546Sopenharmony_ci
169bf215546Sopenharmony_ci	<array offset="0x00080" name="SMP_ALLOC_W" length="8" stride="4">
170bf215546Sopenharmony_ci		<reg32 offset="0" name="REG" type="mdp5_smp_alloc"/>
171bf215546Sopenharmony_ci	</array>
172bf215546Sopenharmony_ci	<array offset="0x00130" name="SMP_ALLOC_R" length="8" stride="4">
173bf215546Sopenharmony_ci		<reg32 offset="0" name="REG" type="mdp5_smp_alloc"/>
174bf215546Sopenharmony_ci	</array>
175bf215546Sopenharmony_ci
176bf215546Sopenharmony_ci	<enum name="mdp5_igc_type">
177bf215546Sopenharmony_ci		<value name="IGC_VIG" value="0"/>		<!-- 0x200 -->
178bf215546Sopenharmony_ci		<value name="IGC_RGB" value="1"/>		<!-- 0x210 -->
179bf215546Sopenharmony_ci		<value name="IGC_DMA" value="2"/>		<!-- 0x220 -->
180bf215546Sopenharmony_ci		<value name="IGC_DSPP" value="3"/>		<!-- 0x300 -->
181bf215546Sopenharmony_ci	</enum>
182bf215546Sopenharmony_ci	<array offsets="0x00200,0x00210,0x00220,0x00300" name="IGC" length="3" stride="0x10" index="mdp5_igc_type">
183bf215546Sopenharmony_ci		<array offset="0x00" name="LUT" length="3" stride="4">
184bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
185bf215546Sopenharmony_ci				<bitfield name="VAL" low="0" high="11"/>
186bf215546Sopenharmony_ci				<bitfield name="INDEX_UPDATE" pos="25" type="boolean"/>
187bf215546Sopenharmony_ci				<!--
188bf215546Sopenharmony_ci					not sure about these:
189bf215546Sopenharmony_ci						/* INDEX_UPDATE */
190bf215546Sopenharmony_ci						data = (1 << 25) | (((~(1 << blk_idx)) & 0x7) << 28);
191bf215546Sopenharmony_ci						MDSS_MDP_REG_WRITE(offset, (cfg->c0_c1_data[0] & 0xFFF) | data);
192bf215546Sopenharmony_ci				-->
193bf215546Sopenharmony_ci				<bitfield name="DISABLE_PIPE_0" pos="28" type="boolean"/>
194bf215546Sopenharmony_ci				<bitfield name="DISABLE_PIPE_1" pos="29" type="boolean"/>
195bf215546Sopenharmony_ci				<bitfield name="DISABLE_PIPE_2" pos="30" type="boolean"/>
196bf215546Sopenharmony_ci			</reg32>
197bf215546Sopenharmony_ci		</array>
198bf215546Sopenharmony_ci	</array>
199bf215546Sopenharmony_ci	<reg32 offset="0x002f4" name="SPLIT_DPL_EN"/>
200bf215546Sopenharmony_ci	<reg32 offset="0x002f8" name="SPLIT_DPL_UPPER">
201bf215546Sopenharmony_ci		<bitfield name="SMART_PANEL" pos="1" type="boolean"/>
202bf215546Sopenharmony_ci		<bitfield name="SMART_PANEL_FREE_RUN" pos="2" type="boolean"/>
203bf215546Sopenharmony_ci		<bitfield name="INTF1_SW_TRG_MUX" pos="4" type="boolean"/>
204bf215546Sopenharmony_ci		<bitfield name="INTF2_SW_TRG_MUX" pos="8" type="boolean"/>
205bf215546Sopenharmony_ci	</reg32>
206bf215546Sopenharmony_ci	<reg32 offset="0x003f0" name="SPLIT_DPL_LOWER">
207bf215546Sopenharmony_ci		<bitfield name="SMART_PANEL" pos="1" type="boolean"/>
208bf215546Sopenharmony_ci		<bitfield name="SMART_PANEL_FREE_RUN" pos="2" type="boolean"/>
209bf215546Sopenharmony_ci		<bitfield name="INTF1_TG_SYNC" pos="4" type="boolean"/>
210bf215546Sopenharmony_ci		<bitfield name="INTF2_TG_SYNC" pos="8" type="boolean"/>
211bf215546Sopenharmony_ci	</reg32>
212bf215546Sopenharmony_ci
213bf215546Sopenharmony_ci<!-- check length/index.. -->
214bf215546Sopenharmony_ci	<array doffsets="mdp5_cfg->ctl.base[0],mdp5_cfg->ctl.base[1],mdp5_cfg->ctl.base[2],mdp5_cfg->ctl.base[3],mdp5_cfg->ctl.base[4]" name="CTL" length="5" stride="0x400">
215bf215546Sopenharmony_ci		<array offsets="0x000,0x004,0x008,0x00C,0x010,0x024" name="LAYER" length="6" stride="4">
216bf215546Sopenharmony_ci			<!--
217bf215546Sopenharmony_ci			NOTE: for backwards compat (from when there were fewer stages),
218bf215546Sopenharmony_ci			this register has the low three bits of mdp_mixer_stage_id, with
219bf215546Sopenharmony_ci			the high bit coming from LAYER_EXT
220bf215546Sopenharmony_ci			 -->
221bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
222bf215546Sopenharmony_ci				<bitfield name="VIG0"  low="0"  high="2"  type="uint"/>
223bf215546Sopenharmony_ci				<bitfield name="VIG1"  low="3"  high="5"  type="uint"/>
224bf215546Sopenharmony_ci				<bitfield name="VIG2"  low="6"  high="8"  type="uint"/>
225bf215546Sopenharmony_ci				<bitfield name="RGB0"  low="9"  high="11" type="uint"/>
226bf215546Sopenharmony_ci				<bitfield name="RGB1"  low="12" high="14" type="uint"/>
227bf215546Sopenharmony_ci				<bitfield name="RGB2"  low="15" high="17" type="uint"/>
228bf215546Sopenharmony_ci				<bitfield name="DMA0"  low="18" high="20" type="uint"/>
229bf215546Sopenharmony_ci				<bitfield name="DMA1"  low="21" high="23" type="uint"/>
230bf215546Sopenharmony_ci				<bitfield name="BORDER_COLOR" pos="24" type="boolean"/>
231bf215546Sopenharmony_ci				<bitfield name="CURSOR_OUT"   pos="25" type="boolean"/>
232bf215546Sopenharmony_ci				<bitfield name="VIG3"  low="26"  high="28"  type="uint"/>
233bf215546Sopenharmony_ci				<bitfield name="RGB3"  low="29" high="31" type="uint"/>
234bf215546Sopenharmony_ci			</reg32>
235bf215546Sopenharmony_ci		</array>
236bf215546Sopenharmony_ci		<reg32 offset="0x014" name="OP">
237bf215546Sopenharmony_ci			<bitfield name="MODE" low="0" high="3" type="mdp5_ctl_mode"/>
238bf215546Sopenharmony_ci			<bitfield name="INTF_NUM" low="4" high="6" type="mdp5_intfnum"/>
239bf215546Sopenharmony_ci			<bitfield name="CMD_MODE" pos="17" type="boolean"/>
240bf215546Sopenharmony_ci			<bitfield name="PACK_3D_ENABLE" pos="19" type="boolean"/>
241bf215546Sopenharmony_ci			<bitfield name="PACK_3D" low="20" high="21" type="mdp5_pack_3d"/>
242bf215546Sopenharmony_ci		</reg32>
243bf215546Sopenharmony_ci		<reg32 offset="0x018" name="FLUSH">
244bf215546Sopenharmony_ci			<bitfield name="VIG0" pos="0"  type="boolean"/>
245bf215546Sopenharmony_ci			<bitfield name="VIG1" pos="1"  type="boolean"/>
246bf215546Sopenharmony_ci			<bitfield name="VIG2" pos="2"  type="boolean"/>
247bf215546Sopenharmony_ci			<bitfield name="RGB0" pos="3"  type="boolean"/>
248bf215546Sopenharmony_ci			<bitfield name="RGB1" pos="4"  type="boolean"/>
249bf215546Sopenharmony_ci			<bitfield name="RGB2" pos="5"  type="boolean"/>
250bf215546Sopenharmony_ci			<bitfield name="LM0"  pos="6"  type="boolean"/>
251bf215546Sopenharmony_ci			<bitfield name="LM1"  pos="7"  type="boolean"/>
252bf215546Sopenharmony_ci			<bitfield name="LM2"  pos="8"  type="boolean"/>
253bf215546Sopenharmony_ci			<bitfield name="LM3"  pos="9"  type="boolean"/>
254bf215546Sopenharmony_ci			<bitfield name="LM4"  pos="10"  type="boolean"/>
255bf215546Sopenharmony_ci			<bitfield name="DMA0" pos="11" type="boolean"/>
256bf215546Sopenharmony_ci			<bitfield name="DMA1" pos="12" type="boolean"/>
257bf215546Sopenharmony_ci			<bitfield name="DSPP0" pos="13" type="boolean"/>
258bf215546Sopenharmony_ci			<bitfield name="DSPP1" pos="14" type="boolean"/>
259bf215546Sopenharmony_ci			<bitfield name="DSPP2" pos="15" type="boolean"/>
260bf215546Sopenharmony_ci			<bitfield name="WB"   pos="16" type="boolean"/>
261bf215546Sopenharmony_ci			<bitfield name="CTL"   pos="17" type="boolean"/>
262bf215546Sopenharmony_ci			<bitfield name="VIG3" pos="18"  type="boolean"/>
263bf215546Sopenharmony_ci			<bitfield name="RGB3" pos="19"  type="boolean"/>
264bf215546Sopenharmony_ci			<bitfield name="LM5"  pos="20"  type="boolean"/>
265bf215546Sopenharmony_ci			<bitfield name="DSPP3" pos="21" type="boolean"/>
266bf215546Sopenharmony_ci			<bitfield name="CURSOR_0" pos="22" type="boolean"/>
267bf215546Sopenharmony_ci			<bitfield name="CURSOR_1" pos="23" type="boolean"/>
268bf215546Sopenharmony_ci			<bitfield name="CHROMADOWN_0" pos="26" type="boolean"/>
269bf215546Sopenharmony_ci			<bitfield name="TIMING_3" pos="28" type="boolean"/>
270bf215546Sopenharmony_ci			<bitfield name="TIMING_2" pos="29" type="boolean"/>
271bf215546Sopenharmony_ci			<bitfield name="TIMING_1" pos="30" type="boolean"/>
272bf215546Sopenharmony_ci			<bitfield name="TIMING_0" pos="31" type="boolean"/>
273bf215546Sopenharmony_ci		</reg32>
274bf215546Sopenharmony_ci		<reg32 offset="0x01C" name="START"/>
275bf215546Sopenharmony_ci		<reg32 offset="0x020" name="PACK_3D"/>
276bf215546Sopenharmony_ci		<array offsets="0x040,0x044,0x048,0x04C,0x050,0x054" name="LAYER_EXT" length="6" stride="4">
277bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
278bf215546Sopenharmony_ci				<bitfield name="VIG0_BIT3"  pos="0"  type="boolean"/>
279bf215546Sopenharmony_ci				<bitfield name="VIG1_BIT3"  pos="2"  type="boolean"/>
280bf215546Sopenharmony_ci				<bitfield name="VIG2_BIT3"  pos="4"  type="boolean"/>
281bf215546Sopenharmony_ci				<bitfield name="VIG3_BIT3"  pos="6"  type="boolean"/>
282bf215546Sopenharmony_ci				<bitfield name="RGB0_BIT3"  pos="8"  type="boolean"/>
283bf215546Sopenharmony_ci				<bitfield name="RGB1_BIT3"  pos="10"  type="boolean"/>
284bf215546Sopenharmony_ci				<bitfield name="RGB2_BIT3"  pos="12"  type="boolean"/>
285bf215546Sopenharmony_ci				<bitfield name="RGB3_BIT3"  pos="14"  type="boolean"/>
286bf215546Sopenharmony_ci				<bitfield name="DMA0_BIT3"  pos="16"  type="boolean"/>
287bf215546Sopenharmony_ci				<bitfield name="DMA1_BIT3"  pos="18"  type="boolean"/>
288bf215546Sopenharmony_ci				<bitfield name="CURSOR0" low="20"  high="23"  type="mdp_mixer_stage_id"/>
289bf215546Sopenharmony_ci				<bitfield name="CURSOR1" low="26"  high="29"  type="mdp_mixer_stage_id"/>
290bf215546Sopenharmony_ci			</reg32>
291bf215546Sopenharmony_ci		</array>
292bf215546Sopenharmony_ci	</array>
293bf215546Sopenharmony_ci
294bf215546Sopenharmony_ci	<enum name="mdp5_data_format">
295bf215546Sopenharmony_ci		<value name="DATA_FORMAT_RGB" value="0"/>
296bf215546Sopenharmony_ci		<value name="DATA_FORMAT_YUV" value="1"/>
297bf215546Sopenharmony_ci	</enum>
298bf215546Sopenharmony_ci
299bf215546Sopenharmony_ci	<array doffsets="INVALID_IDX(idx),mdp5_cfg->pipe_vig.base[0],mdp5_cfg->pipe_vig.base[1],mdp5_cfg->pipe_vig.base[2],mdp5_cfg->pipe_rgb.base[0],mdp5_cfg->pipe_rgb.base[1],mdp5_cfg->pipe_rgb.base[2],mdp5_cfg->pipe_dma.base[0],mdp5_cfg->pipe_dma.base[1],mdp5_cfg->pipe_vig.base[3],mdp5_cfg->pipe_rgb.base[3],mdp5_cfg->pipe_cursor.base[0],mdp5_cfg->pipe_cursor.base[1]" name="PIPE" length="10" stride="0x400" index="mdp5_pipe">
300bf215546Sopenharmony_ci		<reg32 offset="0x200" name="OP_MODE">
301bf215546Sopenharmony_ci			<bitfield name="CSC_DST_DATA_FORMAT" pos="19" type="mdp5_data_format"/>
302bf215546Sopenharmony_ci			<bitfield name="CSC_SRC_DATA_FORMAT" pos="18" type="mdp5_data_format"/>
303bf215546Sopenharmony_ci			<bitfield name="CSC_1_EN" pos="17" type="boolean"/>
304bf215546Sopenharmony_ci		</reg32>
305bf215546Sopenharmony_ci		<reg32 offset="0x2C4" name="HIST_CTL_BASE"/>
306bf215546Sopenharmony_ci		<reg32 offset="0x2F0" name="HIST_LUT_BASE"/>
307bf215546Sopenharmony_ci		<reg32 offset="0x300" name="HIST_LUT_SWAP"/>
308bf215546Sopenharmony_ci		<reg32 offset="0x320" name="CSC_1_MATRIX_COEFF_0">
309bf215546Sopenharmony_ci			<bitfield name="COEFF_11" low="0" high="12" type="uint"/>
310bf215546Sopenharmony_ci			<bitfield name="COEFF_12" low="16" high="28" type="uint"/>
311bf215546Sopenharmony_ci		</reg32>
312bf215546Sopenharmony_ci		<reg32 offset="0x324" name="CSC_1_MATRIX_COEFF_1">
313bf215546Sopenharmony_ci			<bitfield name="COEFF_13" low="0" high="12" type="uint"/>
314bf215546Sopenharmony_ci			<bitfield name="COEFF_21" low="16" high="28" type="uint"/>
315bf215546Sopenharmony_ci		</reg32>
316bf215546Sopenharmony_ci		<reg32 offset="0x328" name="CSC_1_MATRIX_COEFF_2">
317bf215546Sopenharmony_ci			<bitfield name="COEFF_22" low="0" high="12" type="uint"/>
318bf215546Sopenharmony_ci			<bitfield name="COEFF_23" low="16" high="28" type="uint"/>
319bf215546Sopenharmony_ci		</reg32>
320bf215546Sopenharmony_ci		<reg32 offset="0x32c" name="CSC_1_MATRIX_COEFF_3">
321bf215546Sopenharmony_ci			<bitfield name="COEFF_31" low="0" high="12" type="uint"/>
322bf215546Sopenharmony_ci			<bitfield name="COEFF_32" low="16" high="28" type="uint"/>
323bf215546Sopenharmony_ci		</reg32>
324bf215546Sopenharmony_ci		<reg32 offset="0x330" name="CSC_1_MATRIX_COEFF_4">
325bf215546Sopenharmony_ci			<bitfield name="COEFF_33" low="0" high="12" type="uint"/>
326bf215546Sopenharmony_ci		</reg32>
327bf215546Sopenharmony_ci		<array offset="0x334" name="CSC_1_PRE_CLAMP" length="3" stride="4">
328bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
329bf215546Sopenharmony_ci				<bitfield name="HIGH"  low="0"  high="7"  type="uint"/>
330bf215546Sopenharmony_ci				<bitfield name="LOW"  low="8"  high="15"  type="uint"/>
331bf215546Sopenharmony_ci			</reg32>
332bf215546Sopenharmony_ci		</array>
333bf215546Sopenharmony_ci		<array offset="0x340" name="CSC_1_POST_CLAMP" length="3" stride="4">
334bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
335bf215546Sopenharmony_ci				<bitfield name="HIGH"  low="0"  high="7"  type="uint"/>
336bf215546Sopenharmony_ci				<bitfield name="LOW"  low="8"  high="15"  type="uint"/>
337bf215546Sopenharmony_ci			</reg32>
338bf215546Sopenharmony_ci		</array>
339bf215546Sopenharmony_ci		<array offset="0x34c" name="CSC_1_PRE_BIAS" length="3" stride="4">
340bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
341bf215546Sopenharmony_ci				<bitfield name="VALUE"  low="0"  high="8"  type="uint"/>
342bf215546Sopenharmony_ci			</reg32>
343bf215546Sopenharmony_ci		</array>
344bf215546Sopenharmony_ci		<array offset="0x358" name="CSC_1_POST_BIAS" length="3" stride="4">
345bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
346bf215546Sopenharmony_ci				<bitfield name="VALUE"  low="0"  high="8"  type="uint"/>
347bf215546Sopenharmony_ci			</reg32>
348bf215546Sopenharmony_ci		</array>
349bf215546Sopenharmony_ci		<!-- SSPP: -->
350bf215546Sopenharmony_ci		<reg32 offset="0x000" name="SRC_SIZE" type="reg_wh"/>
351bf215546Sopenharmony_ci		<reg32 offset="0x004" name="SRC_IMG_SIZE" type="reg_wh"/>
352bf215546Sopenharmony_ci		<reg32 offset="0x008" name="SRC_XY" type="reg_xy"/>
353bf215546Sopenharmony_ci		<reg32 offset="0x00C" name="OUT_SIZE" type="reg_wh"/>
354bf215546Sopenharmony_ci		<reg32 offset="0x010" name="OUT_XY" type="reg_xy"/>
355bf215546Sopenharmony_ci		<reg32 offset="0x014" name="SRC0_ADDR"/>
356bf215546Sopenharmony_ci		<reg32 offset="0x018" name="SRC1_ADDR"/>
357bf215546Sopenharmony_ci		<reg32 offset="0x01C" name="SRC2_ADDR"/>
358bf215546Sopenharmony_ci		<reg32 offset="0x020" name="SRC3_ADDR"/>
359bf215546Sopenharmony_ci		<reg32 offset="0x024" name="SRC_STRIDE_A">
360bf215546Sopenharmony_ci			<bitfield name="P0" low="0" high="15" type="uint"/>
361bf215546Sopenharmony_ci			<bitfield name="P1" low="16" high="31" type="uint"/>
362bf215546Sopenharmony_ci		</reg32>
363bf215546Sopenharmony_ci		<reg32 offset="0x028" name="SRC_STRIDE_B">
364bf215546Sopenharmony_ci			<bitfield name="P2" low="0" high="15" type="uint"/>
365bf215546Sopenharmony_ci			<bitfield name="P3" low="16" high="31" type="uint"/>
366bf215546Sopenharmony_ci		</reg32>
367bf215546Sopenharmony_ci		<reg32 offset="0x02C" name="STILE_FRAME_SIZE"/>
368bf215546Sopenharmony_ci		<reg32 offset="0x030" name="SRC_FORMAT">
369bf215546Sopenharmony_ci			<bitfield name="G_BPC" low="0" high="1" type="mdp_bpc"/>
370bf215546Sopenharmony_ci			<bitfield name="B_BPC" low="2" high="3" type="mdp_bpc"/>
371bf215546Sopenharmony_ci			<bitfield name="R_BPC" low="4" high="5" type="mdp_bpc"/>
372bf215546Sopenharmony_ci			<bitfield name="A_BPC" low="6" high="7" type="mdp_bpc_alpha"/>
373bf215546Sopenharmony_ci			<bitfield name="ALPHA_ENABLE" pos="8" type="boolean"/>
374bf215546Sopenharmony_ci			<bitfield name="CPP" low="9" high="10" type="uint">
375bf215546Sopenharmony_ci				<brief>8bit characters per pixel minus 1</brief>
376bf215546Sopenharmony_ci			</bitfield>
377bf215546Sopenharmony_ci			<bitfield name="ROT90" pos="11" type="boolean"/>
378bf215546Sopenharmony_ci			<bitfield name="UNPACK_COUNT" low="12" high="13" type="uint"/>
379bf215546Sopenharmony_ci			<bitfield name="UNPACK_TIGHT" pos="17" type="boolean"/>
380bf215546Sopenharmony_ci			<bitfield name="UNPACK_ALIGN_MSB" pos="18" type="boolean"/>
381bf215546Sopenharmony_ci			<bitfield name="FETCH_TYPE" low="19" high="20" type="mdp_fetch_type"/>
382bf215546Sopenharmony_ci			<bitfield name="CHROMA_SAMP" low="23" high="24" type="mdp_chroma_samp_type"/>
383bf215546Sopenharmony_ci		</reg32>
384bf215546Sopenharmony_ci		<reg32 offset="0x034" name="SRC_UNPACK" type="mdp_unpack_pattern"/>
385bf215546Sopenharmony_ci		<reg32 offset="0x038" name="SRC_OP_MODE">
386bf215546Sopenharmony_ci			<bitfield name="BWC_EN" pos="0" type="boolean"/>
387bf215546Sopenharmony_ci			<bitfield name="BWC" low="1" high="2" type="mdp5_pipe_bwc"/>
388bf215546Sopenharmony_ci			<bitfield name="FLIP_LR" pos="13" type="boolean"/>
389bf215546Sopenharmony_ci			<bitfield name="FLIP_UD" pos="14" type="boolean"/>
390bf215546Sopenharmony_ci			<bitfield name="IGC_EN" pos="16" type="boolean"/>
391bf215546Sopenharmony_ci			<bitfield name="IGC_ROM_0" pos="17" type="boolean"/>
392bf215546Sopenharmony_ci			<bitfield name="IGC_ROM_1" pos="18" type="boolean"/>
393bf215546Sopenharmony_ci			<bitfield name="DEINTERLACE" pos="22" type="boolean"/>
394bf215546Sopenharmony_ci			<bitfield name="DEINTERLACE_ODD" pos="23" type="boolean"/>
395bf215546Sopenharmony_ci			<bitfield name="SW_PIX_EXT_OVERRIDE" pos="31" type="boolean"/>
396bf215546Sopenharmony_ci		</reg32>
397bf215546Sopenharmony_ci		<reg32 offset="0x03c" name="SRC_CONSTANT_COLOR"/>
398bf215546Sopenharmony_ci		<reg32 offset="0x048" name="FETCH_CONFIG"/>
399bf215546Sopenharmony_ci		<reg32 offset="0x04c" name="VC1_RANGE"/>
400bf215546Sopenharmony_ci		<reg32 offset="0x050" name="REQPRIO_FIFO_WM_0"/>
401bf215546Sopenharmony_ci		<reg32 offset="0x054" name="REQPRIO_FIFO_WM_1"/>
402bf215546Sopenharmony_ci		<reg32 offset="0x058" name="REQPRIO_FIFO_WM_2"/>
403bf215546Sopenharmony_ci		<reg32 offset="0x070" name="SRC_ADDR_SW_STATUS"/>
404bf215546Sopenharmony_ci		<reg32 offset="0x0a4" name="CURRENT_SRC0_ADDR"/>
405bf215546Sopenharmony_ci		<reg32 offset="0x0a8" name="CURRENT_SRC1_ADDR"/>
406bf215546Sopenharmony_ci		<reg32 offset="0x0ac" name="CURRENT_SRC2_ADDR"/>
407bf215546Sopenharmony_ci		<reg32 offset="0x0b0" name="CURRENT_SRC3_ADDR"/>
408bf215546Sopenharmony_ci		<reg32 offset="0x0b4" name="DECIMATION">
409bf215546Sopenharmony_ci			<bitfield name="VERT" low="0" high="7" type="uint"/>
410bf215546Sopenharmony_ci			<bitfield name="HORZ" low="8" high="15" type="uint"/>
411bf215546Sopenharmony_ci		</reg32>
412bf215546Sopenharmony_ci		<array offsets="0x100,0x110,0x120" name="SW_PIX_EXT" length="3" stride="0x10" index="mdp_component_type">
413bf215546Sopenharmony_ci			<!--
414bf215546Sopenharmony_ci				Notes:
415bf215546Sopenharmony_ci				o These value only take effect if SW_PIX_EXT_OVERRIDE is set in SRC_OP_MODE register
416bf215546Sopenharmony_ci				o For signed values (int): + indicates overfetch, - indicates line drop
417bf215546Sopenharmony_ci			-->
418bf215546Sopenharmony_ci                        <reg32 offset="0x00" name="LR">
419bf215546Sopenharmony_ci				<bitfield name="LEFT_RPT" low="0" high="7" type="uint"/>
420bf215546Sopenharmony_ci				<bitfield name="LEFT_OVF" low="8" high="15" type="int"/>
421bf215546Sopenharmony_ci				<bitfield name="RIGHT_RPT" low="16" high="23" type="uint"/>
422bf215546Sopenharmony_ci				<bitfield name="RIGHT_OVF" low="24" high="31" type="int"/>
423bf215546Sopenharmony_ci			</reg32>
424bf215546Sopenharmony_ci			<reg32 offset="0x04" name="TB">
425bf215546Sopenharmony_ci				<bitfield name="TOP_RPT" low="0" high="7" type="uint"/>
426bf215546Sopenharmony_ci				<bitfield name="TOP_OVF" low="8" high="15" type="int"/>
427bf215546Sopenharmony_ci				<bitfield name="BOTTOM_RPT" low="16" high="23" type="uint"/>
428bf215546Sopenharmony_ci				<bitfield name="BOTTOM_OVF" low="24" high="31" type="int"/>
429bf215546Sopenharmony_ci			</reg32>
430bf215546Sopenharmony_ci			<reg32 offset="0x08" name="REQ_PIXELS">
431bf215546Sopenharmony_ci				<bitfield name="LEFT_RIGHT" low="0" high="15" type="uint"/>
432bf215546Sopenharmony_ci				<bitfield name="TOP_BOTTOM" low="16" high="31" type="uint"/>
433bf215546Sopenharmony_ci			</reg32>
434bf215546Sopenharmony_ci		</array>
435bf215546Sopenharmony_ci		<reg32 offset="0x204" name="SCALE_CONFIG">
436bf215546Sopenharmony_ci			<bitfield name="SCALEX_EN" pos="0" type="boolean"/>
437bf215546Sopenharmony_ci			<bitfield name="SCALEY_EN" pos="1" type="boolean"/>
438bf215546Sopenharmony_ci			<bitfield name="SCALEX_FILTER_COMP_0" low="8"  high="9"  type="mdp5_scale_filter"/>
439bf215546Sopenharmony_ci			<bitfield name="SCALEY_FILTER_COMP_0" low="10" high="11" type="mdp5_scale_filter"/>
440bf215546Sopenharmony_ci			<bitfield name="SCALEX_FILTER_COMP_1_2"  low="12" high="13" type="mdp5_scale_filter"/>
441bf215546Sopenharmony_ci			<bitfield name="SCALEY_FILTER_COMP_1_2"  low="14" high="15" type="mdp5_scale_filter"/>
442bf215546Sopenharmony_ci			<bitfield name="SCALEX_FILTER_COMP_3" low="16" high="17" type="mdp5_scale_filter"/>
443bf215546Sopenharmony_ci			<bitfield name="SCALEY_FILTER_COMP_3" low="18" high="19" type="mdp5_scale_filter"/>
444bf215546Sopenharmony_ci		</reg32>
445bf215546Sopenharmony_ci		<reg32 offset="0x210" name="SCALE_PHASE_STEP_X"/>
446bf215546Sopenharmony_ci		<reg32 offset="0x214" name="SCALE_PHASE_STEP_Y"/>
447bf215546Sopenharmony_ci		<reg32 offset="0x218" name="SCALE_CR_PHASE_STEP_X"/>
448bf215546Sopenharmony_ci		<reg32 offset="0x21c" name="SCALE_CR_PHASE_STEP_Y"/>
449bf215546Sopenharmony_ci		<reg32 offset="0x220" name="SCALE_INIT_PHASE_X"/>
450bf215546Sopenharmony_ci		<reg32 offset="0x224" name="SCALE_INIT_PHASE_Y"/>
451bf215546Sopenharmony_ci	</array>
452bf215546Sopenharmony_ci
453bf215546Sopenharmony_ci	<array doffsets="mdp5_cfg->lm.base[0],mdp5_cfg->lm.base[1],mdp5_cfg->lm.base[2],mdp5_cfg->lm.base[3],mdp5_cfg->lm.base[4],mdp5_cfg->lm.base[5]" name="LM" length="6" stride="0x400">
454bf215546Sopenharmony_ci		<reg32 offset="0x000" name="BLEND_COLOR_OUT">
455bf215546Sopenharmony_ci			<bitfield name="STAGE0_FG_ALPHA" pos="1" type="boolean"/>
456bf215546Sopenharmony_ci			<bitfield name="STAGE1_FG_ALPHA" pos="2" type="boolean"/>
457bf215546Sopenharmony_ci			<bitfield name="STAGE2_FG_ALPHA" pos="3" type="boolean"/>
458bf215546Sopenharmony_ci			<bitfield name="STAGE3_FG_ALPHA" pos="4" type="boolean"/>
459bf215546Sopenharmony_ci			<bitfield name="STAGE4_FG_ALPHA" pos="5" type="boolean"/>
460bf215546Sopenharmony_ci			<bitfield name="STAGE5_FG_ALPHA" pos="6" type="boolean"/>
461bf215546Sopenharmony_ci			<bitfield name="STAGE6_FG_ALPHA" pos="7" type="boolean"/>
462bf215546Sopenharmony_ci			<bitfield name="SPLIT_LEFT_RIGHT" pos="31" type="boolean"/>
463bf215546Sopenharmony_ci		</reg32>
464bf215546Sopenharmony_ci		<reg32 offset="0x004" name="OUT_SIZE" type="reg_wh"/>
465bf215546Sopenharmony_ci		<reg32 offset="0x008" name="BORDER_COLOR_0"/>
466bf215546Sopenharmony_ci		<reg32 offset="0x010" name="BORDER_COLOR_1"/>
467bf215546Sopenharmony_ci		<array offsets="0x020,0x050,0x080,0x0B0,0x230,0x260,0x290" name="BLEND" length="7" stride="0x30">
468bf215546Sopenharmony_ci			<reg32 offset="0x00" name="OP_MODE">
469bf215546Sopenharmony_ci				<bitfield name="FG_ALPHA" low="0" high="1" type="mdp_alpha_type"/>
470bf215546Sopenharmony_ci				<bitfield name="FG_INV_ALPHA"     pos="2"  type="boolean"/>
471bf215546Sopenharmony_ci				<bitfield name="FG_MOD_ALPHA"     pos="3"  type="boolean"/>
472bf215546Sopenharmony_ci				<bitfield name="FG_INV_MOD_ALPHA" pos="4"  type="boolean"/>
473bf215546Sopenharmony_ci				<bitfield name="FG_TRANSP_EN"     pos="5"  type="boolean"/>
474bf215546Sopenharmony_ci				<bitfield name="BG_ALPHA" low="8" high="9" type="mdp_alpha_type"/>
475bf215546Sopenharmony_ci				<bitfield name="BG_INV_ALPHA"     pos="10" type="boolean"/>
476bf215546Sopenharmony_ci				<bitfield name="BG_MOD_ALPHA"     pos="11" type="boolean"/>
477bf215546Sopenharmony_ci				<bitfield name="BG_INV_MOD_ALPHA" pos="12" type="boolean"/>
478bf215546Sopenharmony_ci				<bitfield name="BG_TRANSP_EN"     pos="13" type="boolean"/>
479bf215546Sopenharmony_ci			</reg32>
480bf215546Sopenharmony_ci			<reg32 offset="0x04" name="FG_ALPHA"/>
481bf215546Sopenharmony_ci			<reg32 offset="0x08" name="BG_ALPHA"/>
482bf215546Sopenharmony_ci			<reg32 offset="0x0c" name="FG_TRANSP_LOW0"/>
483bf215546Sopenharmony_ci			<reg32 offset="0x10" name="FG_TRANSP_LOW1"/>
484bf215546Sopenharmony_ci			<reg32 offset="0x14" name="FG_TRANSP_HIGH0"/>
485bf215546Sopenharmony_ci			<reg32 offset="0x18" name="FG_TRANSP_HIGH1"/>
486bf215546Sopenharmony_ci			<reg32 offset="0x1c" name="BG_TRANSP_LOW0"/>
487bf215546Sopenharmony_ci			<reg32 offset="0x20" name="BG_TRANSP_LOW1"/>
488bf215546Sopenharmony_ci			<reg32 offset="0x24" name="BG_TRANSP_HIGH0"/>
489bf215546Sopenharmony_ci			<reg32 offset="0x28" name="BG_TRANSP_HIGH1"/>
490bf215546Sopenharmony_ci		</array>
491bf215546Sopenharmony_ci		<reg32 offset="0x0e0" name="CURSOR_IMG_SIZE">
492bf215546Sopenharmony_ci			<bitfield name="SRC_W" low="0" high="15" type="uint"/>
493bf215546Sopenharmony_ci			<bitfield name="SRC_H" low="16" high="31" type="uint"/>
494bf215546Sopenharmony_ci		</reg32>
495bf215546Sopenharmony_ci		<reg32 offset="0x0e4" name="CURSOR_SIZE">
496bf215546Sopenharmony_ci			<bitfield name="ROI_W" low="0" high="15" type="uint"/>
497bf215546Sopenharmony_ci			<bitfield name="ROI_H" low="16" high="31" type="uint"/>
498bf215546Sopenharmony_ci		</reg32>
499bf215546Sopenharmony_ci		<reg32 offset="0x0e8" name="CURSOR_XY">
500bf215546Sopenharmony_ci			<bitfield name="SRC_X" low="0" high="15" type="uint"/>
501bf215546Sopenharmony_ci			<bitfield name="SRC_Y" low="16" high="31" type="uint"/>
502bf215546Sopenharmony_ci		</reg32>
503bf215546Sopenharmony_ci		<reg32 offset="0x0dc" name="CURSOR_STRIDE">
504bf215546Sopenharmony_ci			<bitfield name="STRIDE" low="0"  high="15"  type="uint"/>
505bf215546Sopenharmony_ci		</reg32>
506bf215546Sopenharmony_ci		<reg32 offset="0x0ec" name="CURSOR_FORMAT">
507bf215546Sopenharmony_ci			<bitfield name="FORMAT" low="0"  high="2"  type="mdp5_cursor_format"/>
508bf215546Sopenharmony_ci		</reg32>
509bf215546Sopenharmony_ci		<reg32 offset="0x0f0" name="CURSOR_BASE_ADDR"/>
510bf215546Sopenharmony_ci		<reg32 offset="0x0f4" name="CURSOR_START_XY">
511bf215546Sopenharmony_ci			<bitfield name="X_START" low="0" high="15" type="uint"/>
512bf215546Sopenharmony_ci			<bitfield name="Y_START" low="16" high="31" type="uint"/>
513bf215546Sopenharmony_ci		</reg32>
514bf215546Sopenharmony_ci		<reg32 offset="0x0f8" name="CURSOR_BLEND_CONFIG">
515bf215546Sopenharmony_ci			<bitfield name="BLEND_EN" pos="0" type="boolean"/>
516bf215546Sopenharmony_ci			<bitfield name="BLEND_ALPHA_SEL" low="1"  high="2"  type="mdp5_cursor_alpha"/>
517bf215546Sopenharmony_ci			<bitfield name="BLEND_TRANSP_EN" pos="3" type="boolean"/>
518bf215546Sopenharmony_ci		</reg32>
519bf215546Sopenharmony_ci		<reg32 offset="0x0fc" name="CURSOR_BLEND_PARAM"/>
520bf215546Sopenharmony_ci		<reg32 offset="0x100" name="CURSOR_BLEND_TRANSP_LOW0"/>
521bf215546Sopenharmony_ci		<reg32 offset="0x104" name="CURSOR_BLEND_TRANSP_LOW1"/>
522bf215546Sopenharmony_ci		<reg32 offset="0x108" name="CURSOR_BLEND_TRANSP_HIGH0"/>
523bf215546Sopenharmony_ci		<reg32 offset="0x10c" name="CURSOR_BLEND_TRANSP_HIGH1"/>
524bf215546Sopenharmony_ci		<reg32 offset="0x110" name="GC_LUT_BASE"/>
525bf215546Sopenharmony_ci	</array>
526bf215546Sopenharmony_ci
527bf215546Sopenharmony_ci	<array doffsets="mdp5_cfg->dspp.base[0],mdp5_cfg->dspp.base[1],mdp5_cfg->dspp.base[2],mdp5_cfg->dspp.base[3]" name="DSPP" length="4" stride="0x400">
528bf215546Sopenharmony_ci		<reg32 offset="0x000" name="OP_MODE">
529bf215546Sopenharmony_ci			<bitfield name="IGC_LUT_EN" pos="0" type="boolean"/>
530bf215546Sopenharmony_ci			<bitfield name="IGC_TBL_IDX" low="1" high="3" type="uint"/>
531bf215546Sopenharmony_ci			<bitfield name="PCC_EN" pos="4" type="boolean"/>
532bf215546Sopenharmony_ci			<bitfield name="DITHER_EN" pos="8" type="boolean"/>
533bf215546Sopenharmony_ci			<bitfield name="HIST_EN" pos="16" type="boolean"/>
534bf215546Sopenharmony_ci			<bitfield name="AUTO_CLEAR" pos="17" type="boolean"/>
535bf215546Sopenharmony_ci			<bitfield name="HIST_LUT_EN" pos="19" type="boolean"/>
536bf215546Sopenharmony_ci			<bitfield name="PA_EN" pos="20" type="boolean"/>
537bf215546Sopenharmony_ci			<bitfield name="GAMUT_EN" pos="23" type="boolean"/>
538bf215546Sopenharmony_ci			<bitfield name="GAMUT_ORDER" pos="24" type="boolean"/>
539bf215546Sopenharmony_ci		</reg32>
540bf215546Sopenharmony_ci		<reg32 offset="0x030" name="PCC_BASE"/>
541bf215546Sopenharmony_ci		<reg32 offset="0x150" name="DITHER_DEPTH"/>
542bf215546Sopenharmony_ci		<reg32 offset="0x210" name="HIST_CTL_BASE"/>
543bf215546Sopenharmony_ci		<reg32 offset="0x230" name="HIST_LUT_BASE"/>
544bf215546Sopenharmony_ci		<reg32 offset="0x234" name="HIST_LUT_SWAP"/>
545bf215546Sopenharmony_ci		<reg32 offset="0x238" name="PA_BASE"/>
546bf215546Sopenharmony_ci		<reg32 offset="0x2dc" name="GAMUT_BASE"/>
547bf215546Sopenharmony_ci		<reg32 offset="0x2b0" name="GC_BASE"/>
548bf215546Sopenharmony_ci	</array>
549bf215546Sopenharmony_ci
550bf215546Sopenharmony_ci	<array doffsets="mdp5_cfg->pp.base[0],mdp5_cfg->pp.base[1],mdp5_cfg->pp.base[2],mdp5_cfg->pp.base[3]" name="PP" length="4" stride="0x100">
551bf215546Sopenharmony_ci		<reg32 offset="0x000" name="TEAR_CHECK_EN"/>
552bf215546Sopenharmony_ci		<reg32 offset="0x004" name="SYNC_CONFIG_VSYNC">
553bf215546Sopenharmony_ci			<bitfield name="COUNT" low="0" high="18" type="uint"/>
554bf215546Sopenharmony_ci			<bitfield name="COUNTER_EN" pos="19" type="boolean"/>
555bf215546Sopenharmony_ci			<bitfield name="IN_EN" pos="20" type="boolean"/>
556bf215546Sopenharmony_ci		</reg32>
557bf215546Sopenharmony_ci		<reg32 offset="0x008" name="SYNC_CONFIG_HEIGHT"/>
558bf215546Sopenharmony_ci		<reg32 offset="0x00c" name="SYNC_WRCOUNT">
559bf215546Sopenharmony_ci			<bitfield name="LINE_COUNT" low="0" high="15" type="uint"/>
560bf215546Sopenharmony_ci			<bitfield name="FRAME_COUNT" low="16" high="31" type="uint"/>
561bf215546Sopenharmony_ci		</reg32>
562bf215546Sopenharmony_ci		<reg32 offset="0x010" name="VSYNC_INIT_VAL"/>
563bf215546Sopenharmony_ci		<reg32 offset="0x014" name="INT_COUNT_VAL">
564bf215546Sopenharmony_ci			<bitfield name="LINE_COUNT" low="0" high="15" type="uint"/>
565bf215546Sopenharmony_ci			<bitfield name="FRAME_COUNT" low="16" high="31" type="uint"/>
566bf215546Sopenharmony_ci		</reg32>
567bf215546Sopenharmony_ci		<reg32 offset="0x018" name="SYNC_THRESH">
568bf215546Sopenharmony_ci			<bitfield name="START" low="0" high="15" type="uint"/>
569bf215546Sopenharmony_ci			<bitfield name="CONTINUE" low="16" high="31" type="uint"/>
570bf215546Sopenharmony_ci		</reg32>
571bf215546Sopenharmony_ci		<reg32 offset="0x01c" name="START_POS"/>
572bf215546Sopenharmony_ci		<reg32 offset="0x020" name="RD_PTR_IRQ"/>
573bf215546Sopenharmony_ci		<reg32 offset="0x024" name="WR_PTR_IRQ"/>
574bf215546Sopenharmony_ci		<reg32 offset="0x028" name="OUT_LINE_COUNT"/>
575bf215546Sopenharmony_ci		<reg32 offset="0x02c" name="PP_LINE_COUNT"/>
576bf215546Sopenharmony_ci		<reg32 offset="0x030" name="AUTOREFRESH_CONFIG"/>
577bf215546Sopenharmony_ci		<reg32 offset="0x034" name="FBC_MODE"/>
578bf215546Sopenharmony_ci		<reg32 offset="0x038" name="FBC_BUDGET_CTL"/>
579bf215546Sopenharmony_ci		<reg32 offset="0x03c" name="FBC_LOSSY_MODE"/>
580bf215546Sopenharmony_ci	</array>
581bf215546Sopenharmony_ci
582bf215546Sopenharmony_ci	<enum name="mdp5_block_size">
583bf215546Sopenharmony_ci		<value name="BLOCK_SIZE_64" value="0"/>
584bf215546Sopenharmony_ci		<value name="BLOCK_SIZE_128" value="1"/>
585bf215546Sopenharmony_ci	</enum>
586bf215546Sopenharmony_ci
587bf215546Sopenharmony_ci	<enum name="mdp5_rotate_mode">
588bf215546Sopenharmony_ci		<value name="ROTATE_0" value="0"/>
589bf215546Sopenharmony_ci		<value name="ROTATE_90" value="1"/>
590bf215546Sopenharmony_ci	</enum>
591bf215546Sopenharmony_ci
592bf215546Sopenharmony_ci	<enum name="mdp5_chroma_downsample_method">
593bf215546Sopenharmony_ci		<value name="DS_MTHD_NO_PIXEL_DROP" value="0"/>
594bf215546Sopenharmony_ci		<value name="DS_MTHD_PIXEL_DROP" value="1"/>
595bf215546Sopenharmony_ci	</enum>
596bf215546Sopenharmony_ci
597bf215546Sopenharmony_ci	<array doffsets="mdp5_cfg->wb.base[0],mdp5_cfg->wb.base[1],mdp5_cfg->wb.base[2],mdp5_cfg->wb.base[3],,mdp5_cfg->wb.base[4]" name="WB" length="5" stride="0x400">
598bf215546Sopenharmony_ci		<reg32 offset="0x000" name="DST_FORMAT">
599bf215546Sopenharmony_ci			<bitfield name="DSTC0_OUT" low="0" high="1" type="uint"/>
600bf215546Sopenharmony_ci			<bitfield name="DSTC1_OUT" low="2" high="3" type="uint"/>
601bf215546Sopenharmony_ci			<bitfield name="DSTC2_OUT" low="4" high="5" type="uint"/>
602bf215546Sopenharmony_ci			<bitfield name="DSTC3_OUT" low="6" high="7" type="uint"/>
603bf215546Sopenharmony_ci			<bitfield name="DSTC3_EN" pos="8" type="boolean"/>
604bf215546Sopenharmony_ci			<bitfield name="DST_BPP" low="9" high="10" type="uint"/>
605bf215546Sopenharmony_ci			<bitfield name="PACK_COUNT" low="12" high="13" type="uint"/>
606bf215546Sopenharmony_ci			<bitfield name="DST_ALPHA_X" pos="14" type="boolean"/>
607bf215546Sopenharmony_ci			<bitfield name="PACK_TIGHT" pos="17" type="boolean"/>
608bf215546Sopenharmony_ci			<bitfield name="PACK_ALIGN_MSB" pos="18" type="boolean"/>
609bf215546Sopenharmony_ci			<bitfield name="WRITE_PLANES" low="19" high="20" type="uint"/>
610bf215546Sopenharmony_ci			<bitfield name="DST_DITHER_EN" pos="22" type="boolean"/>
611bf215546Sopenharmony_ci			<bitfield name="DST_CHROMA_SAMP" low="23" high="25" type="uint"/>
612bf215546Sopenharmony_ci			<bitfield name="DST_CHROMA_SITE" low="26" high="29" type="uint"/>
613bf215546Sopenharmony_ci			<bitfield name="FRAME_FORMAT" low="30" high="31" type="uint"/>
614bf215546Sopenharmony_ci		</reg32>
615bf215546Sopenharmony_ci		<reg32 offset="0x004" name="DST_OP_MODE">
616bf215546Sopenharmony_ci			<bitfield name="BWC_ENC_EN" pos="0" type="boolean"/>
617bf215546Sopenharmony_ci			<bitfield name="BWC_ENC_OP" low="1" high="2" type="uint"/>
618bf215546Sopenharmony_ci			<bitfield name="BLOCK_SIZE" low="4" high="4" type="uint"/>
619bf215546Sopenharmony_ci			<bitfield name="ROT_MODE" low="5" high="5" type="uint"/>
620bf215546Sopenharmony_ci			<bitfield name="ROT_EN" pos="6" type="boolean"/>
621bf215546Sopenharmony_ci			<bitfield name="CSC_EN" pos="8" type="boolean"/>
622bf215546Sopenharmony_ci			<bitfield name="CSC_SRC_DATA_FORMAT" low="9" high="9" type="uint"/>
623bf215546Sopenharmony_ci			<bitfield name="CSC_DST_DATA_FORMAT" low="10" high="10" type="uint"/>
624bf215546Sopenharmony_ci			<bitfield name="CHROMA_DWN_SAMPLE_EN" pos="11" type="boolean"/>
625bf215546Sopenharmony_ci			<bitfield name="CHROMA_DWN_SAMPLE_FORMAT" low="12" high="12" type="uint"/>
626bf215546Sopenharmony_ci			<bitfield name="CHROMA_DWN_SAMPLE_H_MTHD" low="13" high="13" type="uint"/>
627bf215546Sopenharmony_ci			<bitfield name="CHROMA_DWN_SAMPLE_V_MTHD" low="14" high="14" type="uint"/>
628bf215546Sopenharmony_ci		</reg32>
629bf215546Sopenharmony_ci		<reg32 offset="0x008" name="DST_PACK_PATTERN">
630bf215546Sopenharmony_ci			<bitfield name="ELEMENT0" low="0" high="1" type="uint"/>
631bf215546Sopenharmony_ci			<bitfield name="ELEMENT1" low="8" high="9" type="uint"/>
632bf215546Sopenharmony_ci			<bitfield name="ELEMENT2" low="16" high="17" type="uint"/>
633bf215546Sopenharmony_ci			<bitfield name="ELEMENT3" low="24" high="25" type="uint"/>
634bf215546Sopenharmony_ci		</reg32>
635bf215546Sopenharmony_ci		<reg32 offset="0x00c" name="DST0_ADDR"/>
636bf215546Sopenharmony_ci		<reg32 offset="0x010" name="DST1_ADDR"/>
637bf215546Sopenharmony_ci		<reg32 offset="0x014" name="DST2_ADDR"/>
638bf215546Sopenharmony_ci		<reg32 offset="0x018" name="DST3_ADDR"/>
639bf215546Sopenharmony_ci		<reg32 offset="0x01c" name="DST_YSTRIDE0">
640bf215546Sopenharmony_ci			<bitfield name="DST0_YSTRIDE" low="0" high="15" type="uint"/>
641bf215546Sopenharmony_ci			<bitfield name="DST1_YSTRIDE" low="16" high="31" type="uint"/>
642bf215546Sopenharmony_ci		</reg32>
643bf215546Sopenharmony_ci		<reg32 offset="0x020" name="DST_YSTRIDE1">
644bf215546Sopenharmony_ci			<bitfield name="DST2_YSTRIDE" low="0" high="15" type="uint"/>
645bf215546Sopenharmony_ci			<bitfield name="DST3_YSTRIDE" low="16" high="31" type="uint"/>
646bf215546Sopenharmony_ci		</reg32>
647bf215546Sopenharmony_ci		<reg32 offset="0x024" name="DST_DITHER_BITDEPTH"/>
648bf215546Sopenharmony_ci		<reg32 offset="0x030" name="DITHER_MATRIX_ROW0"/>
649bf215546Sopenharmony_ci		<reg32 offset="0x034" name="DITHER_MATRIX_ROW1"/>
650bf215546Sopenharmony_ci		<reg32 offset="0x038" name="DITHER_MATRIX_ROW2"/>
651bf215546Sopenharmony_ci		<reg32 offset="0x03c" name="DITHER_MATRIX_ROW3"/>
652bf215546Sopenharmony_ci		<reg32 offset="0x048" name="DST_WRITE_CONFIG"/>
653bf215546Sopenharmony_ci		<reg32 offset="0x050" name="ROTATION_DNSCALER"/>
654bf215546Sopenharmony_ci		<reg32 offset="0x060" name="N16_INIT_PHASE_X_0_3"/>
655bf215546Sopenharmony_ci		<reg32 offset="0x064" name="N16_INIT_PHASE_X_1_2"/>
656bf215546Sopenharmony_ci		<reg32 offset="0x068" name="N16_INIT_PHASE_Y_0_3"/>
657bf215546Sopenharmony_ci		<reg32 offset="0x06c" name="N16_INIT_PHASE_Y_1_2"/>
658bf215546Sopenharmony_ci		<reg32 offset="0x074" name="OUT_SIZE">
659bf215546Sopenharmony_ci			<bitfield name="DST_W" low="0" high="15" type="uint"/>
660bf215546Sopenharmony_ci			<bitfield name="DST_H" low="16" high="31" type="uint"/>
661bf215546Sopenharmony_ci		</reg32>
662bf215546Sopenharmony_ci		<reg32 offset="0x078" name="ALPHA_X_VALUE"/>
663bf215546Sopenharmony_ci		<reg32 offset="0x260" name="CSC_MATRIX_COEFF_0">
664bf215546Sopenharmony_ci			<bitfield name="COEFF_11" low="0" high="12" type="uint"/>
665bf215546Sopenharmony_ci			<bitfield name="COEFF_12" low="16" high="28" type="uint"/>
666bf215546Sopenharmony_ci		</reg32>
667bf215546Sopenharmony_ci		<reg32 offset="0x264" name="CSC_MATRIX_COEFF_1">
668bf215546Sopenharmony_ci			<bitfield name="COEFF_13" low="0" high="12" type="uint"/>
669bf215546Sopenharmony_ci			<bitfield name="COEFF_21" low="16" high="28" type="uint"/>
670bf215546Sopenharmony_ci		</reg32>
671bf215546Sopenharmony_ci		<reg32 offset="0x268" name="CSC_MATRIX_COEFF_2">
672bf215546Sopenharmony_ci			<bitfield name="COEFF_22" low="0" high="12" type="uint"/>
673bf215546Sopenharmony_ci			<bitfield name="COEFF_23" low="16" high="28" type="uint"/>
674bf215546Sopenharmony_ci		</reg32>
675bf215546Sopenharmony_ci		<reg32 offset="0x26c" name="CSC_MATRIX_COEFF_3">
676bf215546Sopenharmony_ci			<bitfield name="COEFF_31" low="0" high="12" type="uint"/>
677bf215546Sopenharmony_ci			<bitfield name="COEFF_32" low="16" high="28" type="uint"/>
678bf215546Sopenharmony_ci		</reg32>
679bf215546Sopenharmony_ci		<reg32 offset="0x270" name="CSC_MATRIX_COEFF_4">
680bf215546Sopenharmony_ci			<bitfield name="COEFF_33" low="0" high="12" type="uint"/>
681bf215546Sopenharmony_ci		</reg32>
682bf215546Sopenharmony_ci		<array offset="0x274" name="CSC_COMP_PRECLAMP" length="3" stride="4">
683bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
684bf215546Sopenharmony_ci				<bitfield name="HIGH"  low="0"  high="7"  type="uint"/>
685bf215546Sopenharmony_ci				<bitfield name="LOW"  low="8"  high="15"  type="uint"/>
686bf215546Sopenharmony_ci			</reg32>
687bf215546Sopenharmony_ci		</array>
688bf215546Sopenharmony_ci		<array offset="0x280" name="CSC_COMP_POSTCLAMP" length="3" stride="4">
689bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
690bf215546Sopenharmony_ci				<bitfield name="HIGH"  low="0"  high="7"  type="uint"/>
691bf215546Sopenharmony_ci				<bitfield name="LOW"  low="8"  high="15"  type="uint"/>
692bf215546Sopenharmony_ci			</reg32>
693bf215546Sopenharmony_ci		</array>
694bf215546Sopenharmony_ci		<array offset="0x28c" name="CSC_COMP_PREBIAS" length="3" stride="4">
695bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
696bf215546Sopenharmony_ci				<bitfield name="VALUE"  low="0"  high="8"  type="uint"/>
697bf215546Sopenharmony_ci			</reg32>
698bf215546Sopenharmony_ci		</array>
699bf215546Sopenharmony_ci		<array offset="0x298" name="CSC_COMP_POSTBIAS" length="3" stride="4">
700bf215546Sopenharmony_ci			<reg32 offset="0" name="REG">
701bf215546Sopenharmony_ci				<bitfield name="VALUE"  low="0"  high="8"  type="uint"/>
702bf215546Sopenharmony_ci			</reg32>
703bf215546Sopenharmony_ci		</array>
704bf215546Sopenharmony_ci	</array>
705bf215546Sopenharmony_ci
706bf215546Sopenharmony_ci	<array doffsets="mdp5_cfg->intf.base[0],mdp5_cfg->intf.base[1],mdp5_cfg->intf.base[2],mdp5_cfg->intf.base[3],mdp5_cfg->intf.base[4]" name="INTF" length="5" stride="0x200">
707bf215546Sopenharmony_ci		<reg32 offset="0x000" name="TIMING_ENGINE_EN"/>
708bf215546Sopenharmony_ci		<reg32 offset="0x004" name="CONFIG"/>
709bf215546Sopenharmony_ci		<reg32 offset="0x008" name="HSYNC_CTL">
710bf215546Sopenharmony_ci			<bitfield name="PULSEW" low="0" high="15" type="uint"/>
711bf215546Sopenharmony_ci			<bitfield name="PERIOD" low="16" high="31" type="uint"/>
712bf215546Sopenharmony_ci		</reg32>
713bf215546Sopenharmony_ci		<reg32 offset="0x00c" name="VSYNC_PERIOD_F0" type="uint"/>
714bf215546Sopenharmony_ci		<reg32 offset="0x010" name="VSYNC_PERIOD_F1" type="uint"/>
715bf215546Sopenharmony_ci		<reg32 offset="0x014" name="VSYNC_LEN_F0" type="uint"/>
716bf215546Sopenharmony_ci		<reg32 offset="0x018" name="VSYNC_LEN_F1" type="uint"/>
717bf215546Sopenharmony_ci		<reg32 offset="0x01c" name="DISPLAY_VSTART_F0" type="uint"/>
718bf215546Sopenharmony_ci		<reg32 offset="0x020" name="DISPLAY_VSTART_F1" type="uint"/>
719bf215546Sopenharmony_ci		<reg32 offset="0x024" name="DISPLAY_VEND_F0" type="uint"/>
720bf215546Sopenharmony_ci		<reg32 offset="0x028" name="DISPLAY_VEND_F1" type="uint"/>
721bf215546Sopenharmony_ci		<reg32 offset="0x02c" name="ACTIVE_VSTART_F0">
722bf215546Sopenharmony_ci			<bitfield name="VAL" low="0" high="30" type="uint"/>
723bf215546Sopenharmony_ci			<bitfield name="ACTIVE_V_ENABLE" pos="31" type="boolean"/>
724bf215546Sopenharmony_ci		</reg32>
725bf215546Sopenharmony_ci		<reg32 offset="0x030" name="ACTIVE_VSTART_F1">
726bf215546Sopenharmony_ci			<bitfield name="VAL" low="0" high="30" type="uint"/>
727bf215546Sopenharmony_ci		</reg32>
728bf215546Sopenharmony_ci		<reg32 offset="0x034" name="ACTIVE_VEND_F0" type="uint"/>
729bf215546Sopenharmony_ci		<reg32 offset="0x038" name="ACTIVE_VEND_F1" type="uint"/>
730bf215546Sopenharmony_ci		<reg32 offset="0x03c" name="DISPLAY_HCTL">
731bf215546Sopenharmony_ci			<bitfield name="START" low="0"  high="15" type="uint"/>
732bf215546Sopenharmony_ci			<bitfield name="END"   low="16" high="31" type="uint"/>
733bf215546Sopenharmony_ci		</reg32>
734bf215546Sopenharmony_ci		<reg32 offset="0x040" name="ACTIVE_HCTL">
735bf215546Sopenharmony_ci			<bitfield name="START" low="0"  high="14" type="uint"/>
736bf215546Sopenharmony_ci			<bitfield name="END"   low="16" high="30" type="uint"/>
737bf215546Sopenharmony_ci			<bitfield name="ACTIVE_H_ENABLE" pos="31" type="boolean"/>
738bf215546Sopenharmony_ci		</reg32>
739bf215546Sopenharmony_ci		<reg32 offset="0x044" name="BORDER_COLOR"/>
740bf215546Sopenharmony_ci		<reg32 offset="0x048" name="UNDERFLOW_COLOR"/>
741bf215546Sopenharmony_ci		<reg32 offset="0x04c" name="HSYNC_SKEW"/>
742bf215546Sopenharmony_ci		<reg32 offset="0x050" name="POLARITY_CTL">
743bf215546Sopenharmony_ci			<bitfield name="HSYNC_LOW" pos="0" type="boolean"/>
744bf215546Sopenharmony_ci			<bitfield name="VSYNC_LOW" pos="1" type="boolean"/>
745bf215546Sopenharmony_ci			<bitfield name="DATA_EN_LOW" pos="2" type="boolean"/>
746bf215546Sopenharmony_ci		</reg32>
747bf215546Sopenharmony_ci		<reg32 offset="0x054" name="TEST_CTL"/>
748bf215546Sopenharmony_ci		<reg32 offset="0x058" name="TP_COLOR0"/>
749bf215546Sopenharmony_ci		<reg32 offset="0x05c" name="TP_COLOR1"/>
750bf215546Sopenharmony_ci		<reg32 offset="0x084" name="DSI_CMD_MODE_TRIGGER_EN"/>
751bf215546Sopenharmony_ci		<reg32 offset="0x090" name="PANEL_FORMAT" type="mdp5_format"/>
752bf215546Sopenharmony_ci		<reg32 offset="0x0a8" name="FRAME_LINE_COUNT_EN"/>
753bf215546Sopenharmony_ci		<reg32 offset="0x0ac" name="FRAME_COUNT"/>
754bf215546Sopenharmony_ci		<reg32 offset="0x0b0" name="LINE_COUNT"/>
755bf215546Sopenharmony_ci		<reg32 offset="0x0f0" name="DEFLICKER_CONFIG"/>
756bf215546Sopenharmony_ci		<reg32 offset="0x0f4" name="DEFLICKER_STRNG_COEFF"/>
757bf215546Sopenharmony_ci		<reg32 offset="0x0f8" name="DEFLICKER_WEAK_COEFF"/>
758bf215546Sopenharmony_ci		<reg32 offset="0x100" name="TPG_ENABLE"/>
759bf215546Sopenharmony_ci		<reg32 offset="0x104" name="TPG_MAIN_CONTROL"/>
760bf215546Sopenharmony_ci		<reg32 offset="0x108" name="TPG_VIDEO_CONFIG"/>
761bf215546Sopenharmony_ci		<reg32 offset="0x10c" name="TPG_COMPONENT_LIMITS"/>
762bf215546Sopenharmony_ci		<reg32 offset="0x110" name="TPG_RECTANGLE"/>
763bf215546Sopenharmony_ci		<reg32 offset="0x114" name="TPG_INITIAL_VALUE"/>
764bf215546Sopenharmony_ci		<reg32 offset="0x118" name="TPG_BLK_WHITE_PATTERN_FRAME"/>
765bf215546Sopenharmony_ci		<reg32 offset="0x11c" name="TPG_RGB_MAPPING"/>
766bf215546Sopenharmony_ci	</array>
767bf215546Sopenharmony_ci
768bf215546Sopenharmony_ci	<array doffsets="mdp5_cfg->ad.base[0],mdp5_cfg->ad.base[1]" name="AD" length="2" stride="0x200">
769bf215546Sopenharmony_ci		<reg32 offset="0x000" name="BYPASS"/>
770bf215546Sopenharmony_ci		<reg32 offset="0x004" name="CTRL_0"/>
771bf215546Sopenharmony_ci		<reg32 offset="0x008" name="CTRL_1"/>
772bf215546Sopenharmony_ci		<reg32 offset="0x00c" name="FRAME_SIZE"/>
773bf215546Sopenharmony_ci		<reg32 offset="0x010" name="CON_CTRL_0"/>
774bf215546Sopenharmony_ci		<reg32 offset="0x014" name="CON_CTRL_1"/>
775bf215546Sopenharmony_ci		<reg32 offset="0x018" name="STR_MAN"/>
776bf215546Sopenharmony_ci		<reg32 offset="0x01c" name="VAR"/>
777bf215546Sopenharmony_ci		<reg32 offset="0x020" name="DITH"/>
778bf215546Sopenharmony_ci		<reg32 offset="0x024" name="DITH_CTRL"/>
779bf215546Sopenharmony_ci		<reg32 offset="0x028" name="AMP_LIM"/>
780bf215546Sopenharmony_ci		<reg32 offset="0x02c" name="SLOPE"/>
781bf215546Sopenharmony_ci		<reg32 offset="0x030" name="BW_LVL"/>
782bf215546Sopenharmony_ci		<reg32 offset="0x034" name="LOGO_POS"/>
783bf215546Sopenharmony_ci		<reg32 offset="0x038" name="LUT_FI"/>
784bf215546Sopenharmony_ci		<reg32 offset="0x07c" name="LUT_CC"/>
785bf215546Sopenharmony_ci		<reg32 offset="0x0c8" name="STR_LIM"/>
786bf215546Sopenharmony_ci		<reg32 offset="0x0cc" name="CALIB_AB"/>
787bf215546Sopenharmony_ci		<reg32 offset="0x0d0" name="CALIB_CD"/>
788bf215546Sopenharmony_ci		<reg32 offset="0x0d4" name="MODE_SEL"/>
789bf215546Sopenharmony_ci		<reg32 offset="0x0d8" name="TFILT_CTRL"/>
790bf215546Sopenharmony_ci		<reg32 offset="0x0dc" name="BL_MINMAX"/>
791bf215546Sopenharmony_ci		<reg32 offset="0x0e0" name="BL"/>
792bf215546Sopenharmony_ci		<reg32 offset="0x0e8" name="BL_MAX"/>
793bf215546Sopenharmony_ci		<reg32 offset="0x0ec" name="AL"/>
794bf215546Sopenharmony_ci		<reg32 offset="0x0f0" name="AL_MIN"/>
795bf215546Sopenharmony_ci		<reg32 offset="0x0f4" name="AL_FILT"/>
796bf215546Sopenharmony_ci		<reg32 offset="0x0f8" name="CFG_BUF"/>
797bf215546Sopenharmony_ci		<reg32 offset="0x100" name="LUT_AL"/>
798bf215546Sopenharmony_ci		<reg32 offset="0x144" name="TARG_STR"/>
799bf215546Sopenharmony_ci		<reg32 offset="0x148" name="START_CALC"/>
800bf215546Sopenharmony_ci		<reg32 offset="0x14c" name="STR_OUT"/>
801bf215546Sopenharmony_ci		<reg32 offset="0x154" name="BL_OUT"/>
802bf215546Sopenharmony_ci		<reg32 offset="0x158" name="CALC_DONE"/>
803bf215546Sopenharmony_ci	</array>
804bf215546Sopenharmony_ci</domain>
805bf215546Sopenharmony_ci
806bf215546Sopenharmony_ci</database>
807