1 #ifndef DSI_XML 2 #define DSI_XML 3 4 /* Autogenerated file, DO NOT EDIT manually! 5 6 This file was generated by the rules-ng-ng headergen tool in this git repository: 7 http://github.com/freedreno/envytools/ 8 git clone https://github.com/freedreno/envytools.git 9 10 The rules-ng-ng source files this header was generated from are: 11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 595 bytes, from 2013-07-05 19:21:12) 12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2013-03-31 16:51:27) 13 - /home/robclark/src/freedreno/envytools/rnndb/mdp4/mdp4.xml ( 19332 bytes, from 2013-10-07 16:36:48) 14 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 11712 bytes, from 2013-08-17 17:13:43) 15 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 344 bytes, from 2013-08-11 19:26:32) 16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1544 bytes, from 2013-08-16 19:17:05) 17 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2013-07-05 19:21:12) 18 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 19288 bytes, from 2013-08-11 18:14:15) 19 20 Copyright (C) 2013 by the following authors: 21 - Rob Clark <robdclark@gmail.com> (robclark) 22 23 Permission is hereby granted, free of charge, to any person obtaining 24 a copy of this software and associated documentation files (the 25 "Software"), to deal in the Software without restriction, including 26 without limitation the rights to use, copy, modify, merge, publish, 27 distribute, sublicense, and/or sell copies of the Software, and to 28 permit persons to whom the Software is furnished to do so, subject to 29 the following conditions: 30 31 The above copyright notice and this permission notice (including the 32 next paragraph) shall be included in all copies or substantial 33 portions of the Software. 34 35 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 36 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 37 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 38 IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE 39 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 40 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 41 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 42 */ 43 44 45 enum dsi_traffic_mode { 46 NON_BURST_SYNCH_PULSE = 0, 47 NON_BURST_SYNCH_EVENT = 1, 48 BURST_MODE = 2, 49 }; 50 51 enum dsi_dst_format { 52 DST_FORMAT_RGB565 = 0, 53 DST_FORMAT_RGB666 = 1, 54 DST_FORMAT_RGB666_LOOSE = 2, 55 DST_FORMAT_RGB888 = 3, 56 }; 57 58 enum dsi_rgb_swap { 59 SWAP_RGB = 0, 60 SWAP_RBG = 1, 61 SWAP_BGR = 2, 62 SWAP_BRG = 3, 63 SWAP_GRB = 4, 64 SWAP_GBR = 5, 65 }; 66 67 enum dsi_cmd_trigger { 68 TRIGGER_NONE = 0, 69 TRIGGER_TE = 2, 70 TRIGGER_SW = 4, 71 TRIGGER_SW_SEOF = 5, 72 TRIGGER_SW_TE = 6, 73 }; 74 75 #define DSI_IRQ_CMD_DMA_DONE 0x00000001 76 #define DSI_IRQ_MASK_CMD_DMA_DONE 0x00000002 77 #define DSI_IRQ_CMD_MDP_DONE 0x00000100 78 #define DSI_IRQ_MASK_CMD_MDP_DONE 0x00000200 79 #define DSI_IRQ_VIDEO_DONE 0x00010000 80 #define DSI_IRQ_MASK_VIDEO_DONE 0x00020000 81 #define DSI_IRQ_ERROR 0x01000000 82 #define DSI_IRQ_MASK_ERROR 0x02000000 83 #define REG_DSI_CTRL 0x00000000 84 #define DSI_CTRL_ENABLE 0x00000001 85 #define DSI_CTRL_VID_MODE_EN 0x00000002 86 #define DSI_CTRL_CMD_MODE_EN 0x00000004 87 #define DSI_CTRL_LANE0 0x00000010 88 #define DSI_CTRL_LANE1 0x00000020 89 #define DSI_CTRL_LANE2 0x00000040 90 #define DSI_CTRL_LANE3 0x00000080 91 #define DSI_CTRL_CLK_EN 0x00000100 92 #define DSI_CTRL_ECC_CHECK 0x00100000 93 #define DSI_CTRL_CRC_CHECK 0x01000000 94 95 #define REG_DSI_STATUS0 0x00000004 96 #define DSI_STATUS0_CMD_MODE_DMA_BUSY 0x00000002 97 #define DSI_STATUS0_VIDEO_MODE_ENGINE_BUSY 0x00000008 98 #define DSI_STATUS0_DSI_BUSY 0x00000010 99 100 #define REG_DSI_FIFO_STATUS 0x00000008 101 102 #define REG_DSI_VID_CFG0 0x0000000c 103 #define DSI_VID_CFG0_VIRT_CHANNEL__MASK 0x00000003 104 #define DSI_VID_CFG0_VIRT_CHANNEL__SHIFT 0 105 static inline uint32_t DSI_VID_CFG0_VIRT_CHANNEL(uint32_t val) 106 { 107 return ((val) << DSI_VID_CFG0_VIRT_CHANNEL__SHIFT) & DSI_VID_CFG0_VIRT_CHANNEL__MASK; 108 } 109 #define DSI_VID_CFG0_DST_FORMAT__MASK 0x00000030 110 #define DSI_VID_CFG0_DST_FORMAT__SHIFT 4 111 static inline uint32_t DSI_VID_CFG0_DST_FORMAT(enum dsi_dst_format val) 112 { 113 return ((val) << DSI_VID_CFG0_DST_FORMAT__SHIFT) & DSI_VID_CFG0_DST_FORMAT__MASK; 114 } 115 #define DSI_VID_CFG0_TRAFFIC_MODE__MASK 0x00000300 116 #define DSI_VID_CFG0_TRAFFIC_MODE__SHIFT 8 117 static inline uint32_t DSI_VID_CFG0_TRAFFIC_MODE(enum dsi_traffic_mode val) 118 { 119 return ((val) << DSI_VID_CFG0_TRAFFIC_MODE__SHIFT) & DSI_VID_CFG0_TRAFFIC_MODE__MASK; 120 } 121 #define DSI_VID_CFG0_BLLP_POWER_STOP 0x00001000 122 #define DSI_VID_CFG0_EOF_BLLP_POWER_STOP 0x00008000 123 #define DSI_VID_CFG0_HSA_POWER_STOP 0x00010000 124 #define DSI_VID_CFG0_HBP_POWER_STOP 0x00100000 125 #define DSI_VID_CFG0_HFP_POWER_STOP 0x01000000 126 #define DSI_VID_CFG0_PULSE_MODE_HSA_HE 0x10000000 127 128 #define REG_DSI_VID_CFG1 0x0000001c 129 #define DSI_VID_CFG1_R_SEL 0x00000010 130 #define DSI_VID_CFG1_G_SEL 0x00000100 131 #define DSI_VID_CFG1_B_SEL 0x00001000 132 #define DSI_VID_CFG1_RGB_SWAP__MASK 0x00070000 133 #define DSI_VID_CFG1_RGB_SWAP__SHIFT 16 134 static inline uint32_t DSI_VID_CFG1_RGB_SWAP(enum dsi_rgb_swap val) 135 { 136 return ((val) << DSI_VID_CFG1_RGB_SWAP__SHIFT) & DSI_VID_CFG1_RGB_SWAP__MASK; 137 } 138 #define DSI_VID_CFG1_INTERLEAVE_MAX__MASK 0x00f00000 139 #define DSI_VID_CFG1_INTERLEAVE_MAX__SHIFT 20 140 static inline uint32_t DSI_VID_CFG1_INTERLEAVE_MAX(uint32_t val) 141 { 142 return ((val) << DSI_VID_CFG1_INTERLEAVE_MAX__SHIFT) & DSI_VID_CFG1_INTERLEAVE_MAX__MASK; 143 } 144 145 #define REG_DSI_ACTIVE_H 0x00000020 146 #define DSI_ACTIVE_H_START__MASK 0x00000fff 147 #define DSI_ACTIVE_H_START__SHIFT 0 148 static inline uint32_t DSI_ACTIVE_H_START(uint32_t val) 149 { 150 return ((val) << DSI_ACTIVE_H_START__SHIFT) & DSI_ACTIVE_H_START__MASK; 151 } 152 #define DSI_ACTIVE_H_END__MASK 0x0fff0000 153 #define DSI_ACTIVE_H_END__SHIFT 16 154 static inline uint32_t DSI_ACTIVE_H_END(uint32_t val) 155 { 156 return ((val) << DSI_ACTIVE_H_END__SHIFT) & DSI_ACTIVE_H_END__MASK; 157 } 158 159 #define REG_DSI_ACTIVE_V 0x00000024 160 #define DSI_ACTIVE_V_START__MASK 0x00000fff 161 #define DSI_ACTIVE_V_START__SHIFT 0 162 static inline uint32_t DSI_ACTIVE_V_START(uint32_t val) 163 { 164 return ((val) << DSI_ACTIVE_V_START__SHIFT) & DSI_ACTIVE_V_START__MASK; 165 } 166 #define DSI_ACTIVE_V_END__MASK 0x0fff0000 167 #define DSI_ACTIVE_V_END__SHIFT 16 168 static inline uint32_t DSI_ACTIVE_V_END(uint32_t val) 169 { 170 return ((val) << DSI_ACTIVE_V_END__SHIFT) & DSI_ACTIVE_V_END__MASK; 171 } 172 173 #define REG_DSI_TOTAL 0x00000028 174 #define DSI_TOTAL_H_TOTAL__MASK 0x00000fff 175 #define DSI_TOTAL_H_TOTAL__SHIFT 0 176 static inline uint32_t DSI_TOTAL_H_TOTAL(uint32_t val) 177 { 178 return ((val) << DSI_TOTAL_H_TOTAL__SHIFT) & DSI_TOTAL_H_TOTAL__MASK; 179 } 180 #define DSI_TOTAL_V_TOTAL__MASK 0x0fff0000 181 #define DSI_TOTAL_V_TOTAL__SHIFT 16 182 static inline uint32_t DSI_TOTAL_V_TOTAL(uint32_t val) 183 { 184 return ((val) << DSI_TOTAL_V_TOTAL__SHIFT) & DSI_TOTAL_V_TOTAL__MASK; 185 } 186 187 #define REG_DSI_ACTIVE_HSYNC 0x0000002c 188 #define DSI_ACTIVE_HSYNC_START__MASK 0x00000fff 189 #define DSI_ACTIVE_HSYNC_START__SHIFT 0 190 static inline uint32_t DSI_ACTIVE_HSYNC_START(uint32_t val) 191 { 192 return ((val) << DSI_ACTIVE_HSYNC_START__SHIFT) & DSI_ACTIVE_HSYNC_START__MASK; 193 } 194 #define DSI_ACTIVE_HSYNC_END__MASK 0x0fff0000 195 #define DSI_ACTIVE_HSYNC_END__SHIFT 16 196 static inline uint32_t DSI_ACTIVE_HSYNC_END(uint32_t val) 197 { 198 return ((val) << DSI_ACTIVE_HSYNC_END__SHIFT) & DSI_ACTIVE_HSYNC_END__MASK; 199 } 200 201 #define REG_DSI_ACTIVE_VSYNC 0x00000034 202 #define DSI_ACTIVE_VSYNC_START__MASK 0x00000fff 203 #define DSI_ACTIVE_VSYNC_START__SHIFT 0 204 static inline uint32_t DSI_ACTIVE_VSYNC_START(uint32_t val) 205 { 206 return ((val) << DSI_ACTIVE_VSYNC_START__SHIFT) & DSI_ACTIVE_VSYNC_START__MASK; 207 } 208 #define DSI_ACTIVE_VSYNC_END__MASK 0x0fff0000 209 #define DSI_ACTIVE_VSYNC_END__SHIFT 16 210 static inline uint32_t DSI_ACTIVE_VSYNC_END(uint32_t val) 211 { 212 return ((val) << DSI_ACTIVE_VSYNC_END__SHIFT) & DSI_ACTIVE_VSYNC_END__MASK; 213 } 214 215 #define REG_DSI_CMD_DMA_CTRL 0x00000038 216 #define DSI_CMD_DMA_CTRL_FROM_FRAME_BUFFER 0x10000000 217 #define DSI_CMD_DMA_CTRL_LOW_POWER 0x04000000 218 219 #define REG_DSI_CMD_CFG0 0x0000003c 220 221 #define REG_DSI_CMD_CFG1 0x00000040 222 223 #define REG_DSI_DMA_BASE 0x00000044 224 225 #define REG_DSI_DMA_LEN 0x00000048 226 227 #define REG_DSI_ACK_ERR_STATUS 0x00000064 228 229 static inline uint32_t REG_DSI_RDBK(uint32_t i0) { return 0x00000068 + 0x4*i0; } 230 231 static inline uint32_t REG_DSI_RDBK_DATA(uint32_t i0) { return 0x00000068 + 0x4*i0; } 232 233 #define REG_DSI_TRIG_CTRL 0x00000080 234 #define DSI_TRIG_CTRL_DMA_TRIGGER__MASK 0x0000000f 235 #define DSI_TRIG_CTRL_DMA_TRIGGER__SHIFT 0 236 static inline uint32_t DSI_TRIG_CTRL_DMA_TRIGGER(enum dsi_cmd_trigger val) 237 { 238 return ((val) << DSI_TRIG_CTRL_DMA_TRIGGER__SHIFT) & DSI_TRIG_CTRL_DMA_TRIGGER__MASK; 239 } 240 #define DSI_TRIG_CTRL_MDP_TRIGGER__MASK 0x000000f0 241 #define DSI_TRIG_CTRL_MDP_TRIGGER__SHIFT 4 242 static inline uint32_t DSI_TRIG_CTRL_MDP_TRIGGER(enum dsi_cmd_trigger val) 243 { 244 return ((val) << DSI_TRIG_CTRL_MDP_TRIGGER__SHIFT) & DSI_TRIG_CTRL_MDP_TRIGGER__MASK; 245 } 246 #define DSI_TRIG_CTRL_STREAM 0x00000100 247 #define DSI_TRIG_CTRL_TE 0x80000000 248 249 #define REG_DSI_TRIG_DMA 0x0000008c 250 251 #define REG_DSI_DLN0_PHY_ERR 0x000000b0 252 253 #define REG_DSI_TIMEOUT_STATUS 0x000000bc 254 255 #define REG_DSI_CLKOUT_TIMING_CTRL 0x000000c0 256 #define DSI_CLKOUT_TIMING_CTRL_T_CLK_PRE__MASK 0x0000003f 257 #define DSI_CLKOUT_TIMING_CTRL_T_CLK_PRE__SHIFT 0 258 static inline uint32_t DSI_CLKOUT_TIMING_CTRL_T_CLK_PRE(uint32_t val) 259 { 260 return ((val) << DSI_CLKOUT_TIMING_CTRL_T_CLK_PRE__SHIFT) & DSI_CLKOUT_TIMING_CTRL_T_CLK_PRE__MASK; 261 } 262 #define DSI_CLKOUT_TIMING_CTRL_T_CLK_POST__MASK 0x00003f00 263 #define DSI_CLKOUT_TIMING_CTRL_T_CLK_POST__SHIFT 8 264 static inline uint32_t DSI_CLKOUT_TIMING_CTRL_T_CLK_POST(uint32_t val) 265 { 266 return ((val) << DSI_CLKOUT_TIMING_CTRL_T_CLK_POST__SHIFT) & DSI_CLKOUT_TIMING_CTRL_T_CLK_POST__MASK; 267 } 268 269 #define REG_DSI_EOT_PACKET_CTRL 0x000000c8 270 #define DSI_EOT_PACKET_CTRL_TX_EOT_APPEND 0x00000001 271 #define DSI_EOT_PACKET_CTRL_RX_EOT_IGNORE 0x00000010 272 273 #define REG_DSI_LANE_SWAP_CTRL 0x000000ac 274 275 #define REG_DSI_ERR_INT_MASK0 0x00000108 276 277 #define REG_DSI_INTR_CTRL 0x0000010c 278 279 #define REG_DSI_RESET 0x00000114 280 281 #define REG_DSI_CLK_CTRL 0x00000118 282 283 #define REG_DSI_PHY_RESET 0x00000128 284 285 #define REG_DSI_PHY_PLL_CTRL_0 0x00000200 286 #define DSI_PHY_PLL_CTRL_0_ENABLE 0x00000001 287 288 #define REG_DSI_PHY_PLL_CTRL_1 0x00000204 289 290 #define REG_DSI_PHY_PLL_CTRL_2 0x00000208 291 292 #define REG_DSI_PHY_PLL_CTRL_3 0x0000020c 293 294 #define REG_DSI_PHY_PLL_CTRL_4 0x00000210 295 296 #define REG_DSI_PHY_PLL_CTRL_5 0x00000214 297 298 #define REG_DSI_PHY_PLL_CTRL_6 0x00000218 299 300 #define REG_DSI_PHY_PLL_CTRL_7 0x0000021c 301 302 #define REG_DSI_PHY_PLL_CTRL_8 0x00000220 303 304 #define REG_DSI_PHY_PLL_CTRL_9 0x00000224 305 306 #define REG_DSI_PHY_PLL_CTRL_10 0x00000228 307 308 #define REG_DSI_PHY_PLL_CTRL_11 0x0000022c 309 310 #define REG_DSI_PHY_PLL_CTRL_12 0x00000230 311 312 #define REG_DSI_PHY_PLL_CTRL_13 0x00000234 313 314 #define REG_DSI_PHY_PLL_CTRL_14 0x00000238 315 316 #define REG_DSI_PHY_PLL_CTRL_15 0x0000023c 317 318 #define REG_DSI_PHY_PLL_CTRL_16 0x00000240 319 320 #define REG_DSI_PHY_PLL_CTRL_17 0x00000244 321 322 #define REG_DSI_PHY_PLL_CTRL_18 0x00000248 323 324 #define REG_DSI_PHY_PLL_CTRL_19 0x0000024c 325 326 #define REG_DSI_PHY_PLL_CTRL_20 0x00000250 327 328 #define REG_DSI_PHY_PLL_STATUS 0x00000280 329 #define DSI_PHY_PLL_STATUS_PLL_BUSY 0x00000001 330 331 #define REG_DSI_8x60_PHY_TPA_CTRL_1 0x00000258 332 333 #define REG_DSI_8x60_PHY_TPA_CTRL_2 0x0000025c 334 335 #define REG_DSI_8x60_PHY_TIMING_CTRL_0 0x00000260 336 337 #define REG_DSI_8x60_PHY_TIMING_CTRL_1 0x00000264 338 339 #define REG_DSI_8x60_PHY_TIMING_CTRL_2 0x00000268 340 341 #define REG_DSI_8x60_PHY_TIMING_CTRL_3 0x0000026c 342 343 #define REG_DSI_8x60_PHY_TIMING_CTRL_4 0x00000270 344 345 #define REG_DSI_8x60_PHY_TIMING_CTRL_5 0x00000274 346 347 #define REG_DSI_8x60_PHY_TIMING_CTRL_6 0x00000278 348 349 #define REG_DSI_8x60_PHY_TIMING_CTRL_7 0x0000027c 350 351 #define REG_DSI_8x60_PHY_TIMING_CTRL_8 0x00000280 352 353 #define REG_DSI_8x60_PHY_TIMING_CTRL_9 0x00000284 354 355 #define REG_DSI_8x60_PHY_TIMING_CTRL_10 0x00000288 356 357 #define REG_DSI_8x60_PHY_TIMING_CTRL_11 0x0000028c 358 359 #define REG_DSI_8x60_PHY_CTRL_0 0x00000290 360 361 #define REG_DSI_8x60_PHY_CTRL_1 0x00000294 362 363 #define REG_DSI_8x60_PHY_CTRL_2 0x00000298 364 365 #define REG_DSI_8x60_PHY_CTRL_3 0x0000029c 366 367 #define REG_DSI_8x60_PHY_STRENGTH_0 0x000002a0 368 369 #define REG_DSI_8x60_PHY_STRENGTH_1 0x000002a4 370 371 #define REG_DSI_8x60_PHY_STRENGTH_2 0x000002a8 372 373 #define REG_DSI_8x60_PHY_STRENGTH_3 0x000002ac 374 375 #define REG_DSI_8x60_PHY_REGULATOR_CTRL_0 0x000002cc 376 377 #define REG_DSI_8x60_PHY_REGULATOR_CTRL_1 0x000002d0 378 379 #define REG_DSI_8x60_PHY_REGULATOR_CTRL_2 0x000002d4 380 381 #define REG_DSI_8x60_PHY_REGULATOR_CTRL_3 0x000002d8 382 383 #define REG_DSI_8x60_PHY_REGULATOR_CTRL_4 0x000002dc 384 385 #define REG_DSI_8x60_PHY_CAL_HW_TRIGGER 0x000000f0 386 387 #define REG_DSI_8x60_PHY_CAL_CTRL 0x000000f4 388 389 #define REG_DSI_8x60_PHY_CAL_STATUS 0x000000fc 390 #define DSI_8x60_PHY_CAL_STATUS_CAL_BUSY 0x10000000 391 392 static inline uint32_t REG_DSI_8960_LN(uint32_t i0) { return 0x00000300 + 0x40*i0; } 393 394 static inline uint32_t REG_DSI_8960_LN_CFG_0(uint32_t i0) { return 0x00000300 + 0x40*i0; } 395 396 static inline uint32_t REG_DSI_8960_LN_CFG_1(uint32_t i0) { return 0x00000304 + 0x40*i0; } 397 398 static inline uint32_t REG_DSI_8960_LN_CFG_2(uint32_t i0) { return 0x00000308 + 0x40*i0; } 399 400 static inline uint32_t REG_DSI_8960_LN_TEST_DATAPATH(uint32_t i0) { return 0x0000030c + 0x40*i0; } 401 402 static inline uint32_t REG_DSI_8960_LN_TEST_STR_0(uint32_t i0) { return 0x00000314 + 0x40*i0; } 403 404 static inline uint32_t REG_DSI_8960_LN_TEST_STR_1(uint32_t i0) { return 0x00000318 + 0x40*i0; } 405 406 #define REG_DSI_8960_PHY_LNCK_CFG_0 0x00000400 407 408 #define REG_DSI_8960_PHY_LNCK_CFG_1 0x00000404 409 410 #define REG_DSI_8960_PHY_LNCK_CFG_2 0x00000408 411 412 #define REG_DSI_8960_PHY_LNCK_TEST_DATAPATH 0x0000040c 413 414 #define REG_DSI_8960_PHY_LNCK_TEST_STR0 0x00000414 415 416 #define REG_DSI_8960_PHY_LNCK_TEST_STR1 0x00000418 417 418 #define REG_DSI_8960_PHY_TIMING_CTRL_0 0x00000440 419 420 #define REG_DSI_8960_PHY_TIMING_CTRL_1 0x00000444 421 422 #define REG_DSI_8960_PHY_TIMING_CTRL_2 0x00000448 423 424 #define REG_DSI_8960_PHY_TIMING_CTRL_3 0x0000044c 425 426 #define REG_DSI_8960_PHY_TIMING_CTRL_4 0x00000450 427 428 #define REG_DSI_8960_PHY_TIMING_CTRL_5 0x00000454 429 430 #define REG_DSI_8960_PHY_TIMING_CTRL_6 0x00000458 431 432 #define REG_DSI_8960_PHY_TIMING_CTRL_7 0x0000045c 433 434 #define REG_DSI_8960_PHY_TIMING_CTRL_8 0x00000460 435 436 #define REG_DSI_8960_PHY_TIMING_CTRL_9 0x00000464 437 438 #define REG_DSI_8960_PHY_TIMING_CTRL_10 0x00000468 439 440 #define REG_DSI_8960_PHY_TIMING_CTRL_11 0x0000046c 441 442 #define REG_DSI_8960_PHY_CTRL_0 0x00000470 443 444 #define REG_DSI_8960_PHY_CTRL_1 0x00000474 445 446 #define REG_DSI_8960_PHY_CTRL_2 0x00000478 447 448 #define REG_DSI_8960_PHY_CTRL_3 0x0000047c 449 450 #define REG_DSI_8960_PHY_STRENGTH_0 0x00000480 451 452 #define REG_DSI_8960_PHY_STRENGTH_1 0x00000484 453 454 #define REG_DSI_8960_PHY_STRENGTH_2 0x00000488 455 456 #define REG_DSI_8960_PHY_BIST_CTRL_0 0x0000048c 457 458 #define REG_DSI_8960_PHY_BIST_CTRL_1 0x00000490 459 460 #define REG_DSI_8960_PHY_BIST_CTRL_2 0x00000494 461 462 #define REG_DSI_8960_PHY_BIST_CTRL_3 0x00000498 463 464 #define REG_DSI_8960_PHY_BIST_CTRL_4 0x0000049c 465 466 #define REG_DSI_8960_PHY_LDO_CTRL 0x000004b0 467 468 #define REG_DSI_8960_PHY_REGULATOR_CTRL_0 0x00000500 469 470 #define REG_DSI_8960_PHY_REGULATOR_CTRL_1 0x00000504 471 472 #define REG_DSI_8960_PHY_REGULATOR_CTRL_2 0x00000508 473 474 #define REG_DSI_8960_PHY_REGULATOR_CTRL_3 0x0000050c 475 476 #define REG_DSI_8960_PHY_REGULATOR_CTRL_4 0x00000510 477 478 #define REG_DSI_8960_PHY_REGULATOR_CAL_PWR_CFG 0x00000518 479 480 #define REG_DSI_8960_PHY_CAL_HW_TRIGGER 0x00000528 481 482 #define REG_DSI_8960_PHY_CAL_SW_CFG_0 0x0000052c 483 484 #define REG_DSI_8960_PHY_CAL_SW_CFG_1 0x00000530 485 486 #define REG_DSI_8960_PHY_CAL_SW_CFG_2 0x00000534 487 488 #define REG_DSI_8960_PHY_CAL_HW_CFG_0 0x00000538 489 490 #define REG_DSI_8960_PHY_CAL_HW_CFG_1 0x0000053c 491 492 #define REG_DSI_8960_PHY_CAL_HW_CFG_2 0x00000540 493 494 #define REG_DSI_8960_PHY_CAL_HW_CFG_3 0x00000544 495 496 #define REG_DSI_8960_PHY_CAL_HW_CFG_4 0x00000548 497 498 #define REG_DSI_8960_PHY_CAL_STATUS 0x00000550 499 #define DSI_8960_PHY_CAL_STATUS_CAL_BUSY 0x00000010 500 501 502 #endif /* DSI_XML */ 503