hdmi.xml.h 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  1. #ifndef HDMI_XML
  2. #define HDMI_XML
  3. /* Autogenerated file, DO NOT EDIT manually!
  4. This file was generated by the rules-ng-ng headergen tool in this git repository:
  5. http://github.com/freedreno/envytools/
  6. git clone https://github.com/freedreno/envytools.git
  7. The rules-ng-ng source files this header was generated from are:
  8. - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2015-05-20 20:03:14)
  9. - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2015-05-20 20:03:07)
  10. - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2015-05-20 20:03:14)
  11. - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2015-09-18 12:07:28)
  12. - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 37194 bytes, from 2015-09-18 12:07:28)
  13. - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 27887 bytes, from 2015-10-22 16:34:52)
  14. - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2015-10-22 16:35:02)
  15. - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2015-05-20 20:03:14)
  16. - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2015-05-20 20:03:07)
  17. - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 29154 bytes, from 2015-08-10 21:25:43)
  18. - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2015-05-20 20:03:14)
  19. Copyright (C) 2013-2015 by the following authors:
  20. - Rob Clark <robdclark@gmail.com> (robclark)
  21. Permission is hereby granted, free of charge, to any person obtaining
  22. a copy of this software and associated documentation files (the
  23. "Software"), to deal in the Software without restriction, including
  24. without limitation the rights to use, copy, modify, merge, publish,
  25. distribute, sublicense, and/or sell copies of the Software, and to
  26. permit persons to whom the Software is furnished to do so, subject to
  27. the following conditions:
  28. The above copyright notice and this permission notice (including the
  29. next paragraph) shall be included in all copies or substantial
  30. portions of the Software.
  31. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  32. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  33. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  34. IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
  35. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  36. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  37. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  38. */
  39. enum hdmi_hdcp_key_state {
  40. HDCP_KEYS_STATE_NO_KEYS = 0,
  41. HDCP_KEYS_STATE_NOT_CHECKED = 1,
  42. HDCP_KEYS_STATE_CHECKING = 2,
  43. HDCP_KEYS_STATE_VALID = 3,
  44. HDCP_KEYS_STATE_AKSV_NOT_VALID = 4,
  45. HDCP_KEYS_STATE_CHKSUM_MISMATCH = 5,
  46. HDCP_KEYS_STATE_PROD_AKSV = 6,
  47. HDCP_KEYS_STATE_RESERVED = 7,
  48. };
  49. enum hdmi_ddc_read_write {
  50. DDC_WRITE = 0,
  51. DDC_READ = 1,
  52. };
  53. enum hdmi_acr_cts {
  54. ACR_NONE = 0,
  55. ACR_32 = 1,
  56. ACR_44 = 2,
  57. ACR_48 = 3,
  58. };
  59. #define REG_HDMI_CTRL 0x00000000
  60. #define HDMI_CTRL_ENABLE 0x00000001
  61. #define HDMI_CTRL_HDMI 0x00000002
  62. #define HDMI_CTRL_ENCRYPTED 0x00000004
  63. #define REG_HDMI_AUDIO_PKT_CTRL1 0x00000020
  64. #define HDMI_AUDIO_PKT_CTRL1_AUDIO_SAMPLE_SEND 0x00000001
  65. #define REG_HDMI_ACR_PKT_CTRL 0x00000024
  66. #define HDMI_ACR_PKT_CTRL_CONT 0x00000001
  67. #define HDMI_ACR_PKT_CTRL_SEND 0x00000002
  68. #define HDMI_ACR_PKT_CTRL_SELECT__MASK 0x00000030
  69. #define HDMI_ACR_PKT_CTRL_SELECT__SHIFT 4
  70. static inline uint32_t HDMI_ACR_PKT_CTRL_SELECT(enum hdmi_acr_cts val)
  71. {
  72. return ((val) << HDMI_ACR_PKT_CTRL_SELECT__SHIFT) & HDMI_ACR_PKT_CTRL_SELECT__MASK;
  73. }
  74. #define HDMI_ACR_PKT_CTRL_SOURCE 0x00000100
  75. #define HDMI_ACR_PKT_CTRL_N_MULTIPLIER__MASK 0x00070000
  76. #define HDMI_ACR_PKT_CTRL_N_MULTIPLIER__SHIFT 16
  77. static inline uint32_t HDMI_ACR_PKT_CTRL_N_MULTIPLIER(uint32_t val)
  78. {
  79. return ((val) << HDMI_ACR_PKT_CTRL_N_MULTIPLIER__SHIFT) & HDMI_ACR_PKT_CTRL_N_MULTIPLIER__MASK;
  80. }
  81. #define HDMI_ACR_PKT_CTRL_AUDIO_PRIORITY 0x80000000
  82. #define REG_HDMI_VBI_PKT_CTRL 0x00000028
  83. #define HDMI_VBI_PKT_CTRL_GC_ENABLE 0x00000010
  84. #define HDMI_VBI_PKT_CTRL_GC_EVERY_FRAME 0x00000020
  85. #define HDMI_VBI_PKT_CTRL_ISRC_SEND 0x00000100
  86. #define HDMI_VBI_PKT_CTRL_ISRC_CONTINUOUS 0x00000200
  87. #define HDMI_VBI_PKT_CTRL_ACP_SEND 0x00001000
  88. #define HDMI_VBI_PKT_CTRL_ACP_SRC_SW 0x00002000
  89. #define REG_HDMI_INFOFRAME_CTRL0 0x0000002c
  90. #define HDMI_INFOFRAME_CTRL0_AVI_SEND 0x00000001
  91. #define HDMI_INFOFRAME_CTRL0_AVI_CONT 0x00000002
  92. #define HDMI_INFOFRAME_CTRL0_AUDIO_INFO_SEND 0x00000010
  93. #define HDMI_INFOFRAME_CTRL0_AUDIO_INFO_CONT 0x00000020
  94. #define HDMI_INFOFRAME_CTRL0_AUDIO_INFO_SOURCE 0x00000040
  95. #define HDMI_INFOFRAME_CTRL0_AUDIO_INFO_UPDATE 0x00000080
  96. #define REG_HDMI_GEN_PKT_CTRL 0x00000034
  97. #define HDMI_GEN_PKT_CTRL_GENERIC0_SEND 0x00000001
  98. #define HDMI_GEN_PKT_CTRL_GENERIC0_CONT 0x00000002
  99. #define HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE__MASK 0x0000000c
  100. #define HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE__SHIFT 2
  101. static inline uint32_t HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE(uint32_t val)
  102. {
  103. return ((val) << HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE__SHIFT) & HDMI_GEN_PKT_CTRL_GENERIC0_UPDATE__MASK;
  104. }
  105. #define HDMI_GEN_PKT_CTRL_GENERIC1_SEND 0x00000010
  106. #define HDMI_GEN_PKT_CTRL_GENERIC1_CONT 0x00000020
  107. #define HDMI_GEN_PKT_CTRL_GENERIC0_LINE__MASK 0x003f0000
  108. #define HDMI_GEN_PKT_CTRL_GENERIC0_LINE__SHIFT 16
  109. static inline uint32_t HDMI_GEN_PKT_CTRL_GENERIC0_LINE(uint32_t val)
  110. {
  111. return ((val) << HDMI_GEN_PKT_CTRL_GENERIC0_LINE__SHIFT) & HDMI_GEN_PKT_CTRL_GENERIC0_LINE__MASK;
  112. }
  113. #define HDMI_GEN_PKT_CTRL_GENERIC1_LINE__MASK 0x3f000000
  114. #define HDMI_GEN_PKT_CTRL_GENERIC1_LINE__SHIFT 24
  115. static inline uint32_t HDMI_GEN_PKT_CTRL_GENERIC1_LINE(uint32_t val)
  116. {
  117. return ((val) << HDMI_GEN_PKT_CTRL_GENERIC1_LINE__SHIFT) & HDMI_GEN_PKT_CTRL_GENERIC1_LINE__MASK;
  118. }
  119. #define REG_HDMI_GC 0x00000040
  120. #define HDMI_GC_MUTE 0x00000001
  121. #define REG_HDMI_AUDIO_PKT_CTRL2 0x00000044
  122. #define HDMI_AUDIO_PKT_CTRL2_OVERRIDE 0x00000001
  123. #define HDMI_AUDIO_PKT_CTRL2_LAYOUT 0x00000002
  124. static inline uint32_t REG_HDMI_AVI_INFO(uint32_t i0) { return 0x0000006c + 0x4*i0; }
  125. #define REG_HDMI_GENERIC0_HDR 0x00000084
  126. static inline uint32_t REG_HDMI_GENERIC0(uint32_t i0) { return 0x00000088 + 0x4*i0; }
  127. #define REG_HDMI_GENERIC1_HDR 0x000000a4
  128. static inline uint32_t REG_HDMI_GENERIC1(uint32_t i0) { return 0x000000a8 + 0x4*i0; }
  129. static inline uint32_t REG_HDMI_ACR(enum hdmi_acr_cts i0) { return 0x000000c4 + 0x8*i0; }
  130. static inline uint32_t REG_HDMI_ACR_0(enum hdmi_acr_cts i0) { return 0x000000c4 + 0x8*i0; }
  131. #define HDMI_ACR_0_CTS__MASK 0xfffff000
  132. #define HDMI_ACR_0_CTS__SHIFT 12
  133. static inline uint32_t HDMI_ACR_0_CTS(uint32_t val)
  134. {
  135. return ((val) << HDMI_ACR_0_CTS__SHIFT) & HDMI_ACR_0_CTS__MASK;
  136. }
  137. static inline uint32_t REG_HDMI_ACR_1(enum hdmi_acr_cts i0) { return 0x000000c8 + 0x8*i0; }
  138. #define HDMI_ACR_1_N__MASK 0xffffffff
  139. #define HDMI_ACR_1_N__SHIFT 0
  140. static inline uint32_t HDMI_ACR_1_N(uint32_t val)
  141. {
  142. return ((val) << HDMI_ACR_1_N__SHIFT) & HDMI_ACR_1_N__MASK;
  143. }
  144. #define REG_HDMI_AUDIO_INFO0 0x000000e4
  145. #define HDMI_AUDIO_INFO0_CHECKSUM__MASK 0x000000ff
  146. #define HDMI_AUDIO_INFO0_CHECKSUM__SHIFT 0
  147. static inline uint32_t HDMI_AUDIO_INFO0_CHECKSUM(uint32_t val)
  148. {
  149. return ((val) << HDMI_AUDIO_INFO0_CHECKSUM__SHIFT) & HDMI_AUDIO_INFO0_CHECKSUM__MASK;
  150. }
  151. #define HDMI_AUDIO_INFO0_CC__MASK 0x00000700
  152. #define HDMI_AUDIO_INFO0_CC__SHIFT 8
  153. static inline uint32_t HDMI_AUDIO_INFO0_CC(uint32_t val)
  154. {
  155. return ((val) << HDMI_AUDIO_INFO0_CC__SHIFT) & HDMI_AUDIO_INFO0_CC__MASK;
  156. }
  157. #define REG_HDMI_AUDIO_INFO1 0x000000e8
  158. #define HDMI_AUDIO_INFO1_CA__MASK 0x000000ff
  159. #define HDMI_AUDIO_INFO1_CA__SHIFT 0
  160. static inline uint32_t HDMI_AUDIO_INFO1_CA(uint32_t val)
  161. {
  162. return ((val) << HDMI_AUDIO_INFO1_CA__SHIFT) & HDMI_AUDIO_INFO1_CA__MASK;
  163. }
  164. #define HDMI_AUDIO_INFO1_LSV__MASK 0x00007800
  165. #define HDMI_AUDIO_INFO1_LSV__SHIFT 11
  166. static inline uint32_t HDMI_AUDIO_INFO1_LSV(uint32_t val)
  167. {
  168. return ((val) << HDMI_AUDIO_INFO1_LSV__SHIFT) & HDMI_AUDIO_INFO1_LSV__MASK;
  169. }
  170. #define HDMI_AUDIO_INFO1_DM_INH 0x00008000
  171. #define REG_HDMI_HDCP_CTRL 0x00000110
  172. #define HDMI_HDCP_CTRL_ENABLE 0x00000001
  173. #define HDMI_HDCP_CTRL_ENCRYPTION_ENABLE 0x00000100
  174. #define REG_HDMI_HDCP_DEBUG_CTRL 0x00000114
  175. #define HDMI_HDCP_DEBUG_CTRL_RNG_CIPHER 0x00000004
  176. #define REG_HDMI_HDCP_INT_CTRL 0x00000118
  177. #define HDMI_HDCP_INT_CTRL_AUTH_SUCCESS_INT 0x00000001
  178. #define HDMI_HDCP_INT_CTRL_AUTH_SUCCESS_ACK 0x00000002
  179. #define HDMI_HDCP_INT_CTRL_AUTH_SUCCESS_MASK 0x00000004
  180. #define HDMI_HDCP_INT_CTRL_AUTH_FAIL_INT 0x00000010
  181. #define HDMI_HDCP_INT_CTRL_AUTH_FAIL_ACK 0x00000020
  182. #define HDMI_HDCP_INT_CTRL_AUTH_FAIL_MASK 0x00000040
  183. #define HDMI_HDCP_INT_CTRL_AUTH_FAIL_INFO_ACK 0x00000080
  184. #define HDMI_HDCP_INT_CTRL_AUTH_XFER_REQ_INT 0x00000100
  185. #define HDMI_HDCP_INT_CTRL_AUTH_XFER_REQ_ACK 0x00000200
  186. #define HDMI_HDCP_INT_CTRL_AUTH_XFER_REQ_MASK 0x00000400
  187. #define HDMI_HDCP_INT_CTRL_AUTH_XFER_DONE_INT 0x00001000
  188. #define HDMI_HDCP_INT_CTRL_AUTH_XFER_DONE_ACK 0x00002000
  189. #define HDMI_HDCP_INT_CTRL_AUTH_XFER_DONE_MASK 0x00004000
  190. #define REG_HDMI_HDCP_LINK0_STATUS 0x0000011c
  191. #define HDMI_HDCP_LINK0_STATUS_AN_0_READY 0x00000100
  192. #define HDMI_HDCP_LINK0_STATUS_AN_1_READY 0x00000200
  193. #define HDMI_HDCP_LINK0_STATUS_RI_MATCHES 0x00001000
  194. #define HDMI_HDCP_LINK0_STATUS_V_MATCHES 0x00100000
  195. #define HDMI_HDCP_LINK0_STATUS_KEY_STATE__MASK 0x70000000
  196. #define HDMI_HDCP_LINK0_STATUS_KEY_STATE__SHIFT 28
  197. static inline uint32_t HDMI_HDCP_LINK0_STATUS_KEY_STATE(enum hdmi_hdcp_key_state val)
  198. {
  199. return ((val) << HDMI_HDCP_LINK0_STATUS_KEY_STATE__SHIFT) & HDMI_HDCP_LINK0_STATUS_KEY_STATE__MASK;
  200. }
  201. #define REG_HDMI_HDCP_DDC_CTRL_0 0x00000120
  202. #define HDMI_HDCP_DDC_CTRL_0_DISABLE 0x00000001
  203. #define REG_HDMI_HDCP_DDC_CTRL_1 0x00000124
  204. #define HDMI_HDCP_DDC_CTRL_1_FAILED_ACK 0x00000001
  205. #define REG_HDMI_HDCP_DDC_STATUS 0x00000128
  206. #define HDMI_HDCP_DDC_STATUS_XFER_REQ 0x00000010
  207. #define HDMI_HDCP_DDC_STATUS_XFER_DONE 0x00000400
  208. #define HDMI_HDCP_DDC_STATUS_ABORTED 0x00001000
  209. #define HDMI_HDCP_DDC_STATUS_TIMEOUT 0x00002000
  210. #define HDMI_HDCP_DDC_STATUS_NACK0 0x00004000
  211. #define HDMI_HDCP_DDC_STATUS_NACK1 0x00008000
  212. #define HDMI_HDCP_DDC_STATUS_FAILED 0x00010000
  213. #define REG_HDMI_HDCP_ENTROPY_CTRL0 0x0000012c
  214. #define REG_HDMI_HDCP_ENTROPY_CTRL1 0x0000025c
  215. #define REG_HDMI_HDCP_RESET 0x00000130
  216. #define HDMI_HDCP_RESET_LINK0_DEAUTHENTICATE 0x00000001
  217. #define REG_HDMI_HDCP_RCVPORT_DATA0 0x00000134
  218. #define REG_HDMI_HDCP_RCVPORT_DATA1 0x00000138
  219. #define REG_HDMI_HDCP_RCVPORT_DATA2_0 0x0000013c
  220. #define REG_HDMI_HDCP_RCVPORT_DATA2_1 0x00000140
  221. #define REG_HDMI_HDCP_RCVPORT_DATA3 0x00000144
  222. #define REG_HDMI_HDCP_RCVPORT_DATA4 0x00000148
  223. #define REG_HDMI_HDCP_RCVPORT_DATA5 0x0000014c
  224. #define REG_HDMI_HDCP_RCVPORT_DATA6 0x00000150
  225. #define REG_HDMI_HDCP_RCVPORT_DATA7 0x00000154
  226. #define REG_HDMI_HDCP_RCVPORT_DATA8 0x00000158
  227. #define REG_HDMI_HDCP_RCVPORT_DATA9 0x0000015c
  228. #define REG_HDMI_HDCP_RCVPORT_DATA10 0x00000160
  229. #define REG_HDMI_HDCP_RCVPORT_DATA11 0x00000164
  230. #define REG_HDMI_HDCP_RCVPORT_DATA12 0x00000168
  231. #define REG_HDMI_VENSPEC_INFO0 0x0000016c
  232. #define REG_HDMI_VENSPEC_INFO1 0x00000170
  233. #define REG_HDMI_VENSPEC_INFO2 0x00000174
  234. #define REG_HDMI_VENSPEC_INFO3 0x00000178
  235. #define REG_HDMI_VENSPEC_INFO4 0x0000017c
  236. #define REG_HDMI_VENSPEC_INFO5 0x00000180
  237. #define REG_HDMI_VENSPEC_INFO6 0x00000184
  238. #define REG_HDMI_AUDIO_CFG 0x000001d0
  239. #define HDMI_AUDIO_CFG_ENGINE_ENABLE 0x00000001
  240. #define HDMI_AUDIO_CFG_FIFO_WATERMARK__MASK 0x000000f0
  241. #define HDMI_AUDIO_CFG_FIFO_WATERMARK__SHIFT 4
  242. static inline uint32_t HDMI_AUDIO_CFG_FIFO_WATERMARK(uint32_t val)
  243. {
  244. return ((val) << HDMI_AUDIO_CFG_FIFO_WATERMARK__SHIFT) & HDMI_AUDIO_CFG_FIFO_WATERMARK__MASK;
  245. }
  246. #define REG_HDMI_USEC_REFTIMER 0x00000208
  247. #define REG_HDMI_DDC_CTRL 0x0000020c
  248. #define HDMI_DDC_CTRL_GO 0x00000001
  249. #define HDMI_DDC_CTRL_SOFT_RESET 0x00000002
  250. #define HDMI_DDC_CTRL_SEND_RESET 0x00000004
  251. #define HDMI_DDC_CTRL_SW_STATUS_RESET 0x00000008
  252. #define HDMI_DDC_CTRL_TRANSACTION_CNT__MASK 0x00300000
  253. #define HDMI_DDC_CTRL_TRANSACTION_CNT__SHIFT 20
  254. static inline uint32_t HDMI_DDC_CTRL_TRANSACTION_CNT(uint32_t val)
  255. {
  256. return ((val) << HDMI_DDC_CTRL_TRANSACTION_CNT__SHIFT) & HDMI_DDC_CTRL_TRANSACTION_CNT__MASK;
  257. }
  258. #define REG_HDMI_DDC_ARBITRATION 0x00000210
  259. #define HDMI_DDC_ARBITRATION_HW_ARBITRATION 0x00000010
  260. #define REG_HDMI_DDC_INT_CTRL 0x00000214
  261. #define HDMI_DDC_INT_CTRL_SW_DONE_INT 0x00000001
  262. #define HDMI_DDC_INT_CTRL_SW_DONE_ACK 0x00000002
  263. #define HDMI_DDC_INT_CTRL_SW_DONE_MASK 0x00000004
  264. #define REG_HDMI_DDC_SW_STATUS 0x00000218
  265. #define HDMI_DDC_SW_STATUS_NACK0 0x00001000
  266. #define HDMI_DDC_SW_STATUS_NACK1 0x00002000
  267. #define HDMI_DDC_SW_STATUS_NACK2 0x00004000
  268. #define HDMI_DDC_SW_STATUS_NACK3 0x00008000
  269. #define REG_HDMI_DDC_HW_STATUS 0x0000021c
  270. #define HDMI_DDC_HW_STATUS_DONE 0x00000008
  271. #define REG_HDMI_DDC_SPEED 0x00000220
  272. #define HDMI_DDC_SPEED_THRESHOLD__MASK 0x00000003
  273. #define HDMI_DDC_SPEED_THRESHOLD__SHIFT 0
  274. static inline uint32_t HDMI_DDC_SPEED_THRESHOLD(uint32_t val)
  275. {
  276. return ((val) << HDMI_DDC_SPEED_THRESHOLD__SHIFT) & HDMI_DDC_SPEED_THRESHOLD__MASK;
  277. }
  278. #define HDMI_DDC_SPEED_PRESCALE__MASK 0xffff0000
  279. #define HDMI_DDC_SPEED_PRESCALE__SHIFT 16
  280. static inline uint32_t HDMI_DDC_SPEED_PRESCALE(uint32_t val)
  281. {
  282. return ((val) << HDMI_DDC_SPEED_PRESCALE__SHIFT) & HDMI_DDC_SPEED_PRESCALE__MASK;
  283. }
  284. #define REG_HDMI_DDC_SETUP 0x00000224
  285. #define HDMI_DDC_SETUP_TIMEOUT__MASK 0xff000000
  286. #define HDMI_DDC_SETUP_TIMEOUT__SHIFT 24
  287. static inline uint32_t HDMI_DDC_SETUP_TIMEOUT(uint32_t val)
  288. {
  289. return ((val) << HDMI_DDC_SETUP_TIMEOUT__SHIFT) & HDMI_DDC_SETUP_TIMEOUT__MASK;
  290. }
  291. static inline uint32_t REG_HDMI_I2C_TRANSACTION(uint32_t i0) { return 0x00000228 + 0x4*i0; }
  292. static inline uint32_t REG_HDMI_I2C_TRANSACTION_REG(uint32_t i0) { return 0x00000228 + 0x4*i0; }
  293. #define HDMI_I2C_TRANSACTION_REG_RW__MASK 0x00000001
  294. #define HDMI_I2C_TRANSACTION_REG_RW__SHIFT 0
  295. static inline uint32_t HDMI_I2C_TRANSACTION_REG_RW(enum hdmi_ddc_read_write val)
  296. {
  297. return ((val) << HDMI_I2C_TRANSACTION_REG_RW__SHIFT) & HDMI_I2C_TRANSACTION_REG_RW__MASK;
  298. }
  299. #define HDMI_I2C_TRANSACTION_REG_STOP_ON_NACK 0x00000100
  300. #define HDMI_I2C_TRANSACTION_REG_START 0x00001000
  301. #define HDMI_I2C_TRANSACTION_REG_STOP 0x00002000
  302. #define HDMI_I2C_TRANSACTION_REG_CNT__MASK 0x00ff0000
  303. #define HDMI_I2C_TRANSACTION_REG_CNT__SHIFT 16
  304. static inline uint32_t HDMI_I2C_TRANSACTION_REG_CNT(uint32_t val)
  305. {
  306. return ((val) << HDMI_I2C_TRANSACTION_REG_CNT__SHIFT) & HDMI_I2C_TRANSACTION_REG_CNT__MASK;
  307. }
  308. #define REG_HDMI_DDC_DATA 0x00000238
  309. #define HDMI_DDC_DATA_DATA_RW__MASK 0x00000001
  310. #define HDMI_DDC_DATA_DATA_RW__SHIFT 0
  311. static inline uint32_t HDMI_DDC_DATA_DATA_RW(enum hdmi_ddc_read_write val)
  312. {
  313. return ((val) << HDMI_DDC_DATA_DATA_RW__SHIFT) & HDMI_DDC_DATA_DATA_RW__MASK;
  314. }
  315. #define HDMI_DDC_DATA_DATA__MASK 0x0000ff00
  316. #define HDMI_DDC_DATA_DATA__SHIFT 8
  317. static inline uint32_t HDMI_DDC_DATA_DATA(uint32_t val)
  318. {
  319. return ((val) << HDMI_DDC_DATA_DATA__SHIFT) & HDMI_DDC_DATA_DATA__MASK;
  320. }
  321. #define HDMI_DDC_DATA_INDEX__MASK 0x00ff0000
  322. #define HDMI_DDC_DATA_INDEX__SHIFT 16
  323. static inline uint32_t HDMI_DDC_DATA_INDEX(uint32_t val)
  324. {
  325. return ((val) << HDMI_DDC_DATA_INDEX__SHIFT) & HDMI_DDC_DATA_INDEX__MASK;
  326. }
  327. #define HDMI_DDC_DATA_INDEX_WRITE 0x80000000
  328. #define REG_HDMI_HDCP_SHA_CTRL 0x0000023c
  329. #define REG_HDMI_HDCP_SHA_STATUS 0x00000240
  330. #define HDMI_HDCP_SHA_STATUS_BLOCK_DONE 0x00000001
  331. #define HDMI_HDCP_SHA_STATUS_COMP_DONE 0x00000010
  332. #define REG_HDMI_HDCP_SHA_DATA 0x00000244
  333. #define HDMI_HDCP_SHA_DATA_DONE 0x00000001
  334. #define REG_HDMI_HPD_INT_STATUS 0x00000250
  335. #define HDMI_HPD_INT_STATUS_INT 0x00000001
  336. #define HDMI_HPD_INT_STATUS_CABLE_DETECTED 0x00000002
  337. #define REG_HDMI_HPD_INT_CTRL 0x00000254
  338. #define HDMI_HPD_INT_CTRL_INT_ACK 0x00000001
  339. #define HDMI_HPD_INT_CTRL_INT_CONNECT 0x00000002
  340. #define HDMI_HPD_INT_CTRL_INT_EN 0x00000004
  341. #define HDMI_HPD_INT_CTRL_RX_INT_ACK 0x00000010
  342. #define HDMI_HPD_INT_CTRL_RX_INT_EN 0x00000020
  343. #define HDMI_HPD_INT_CTRL_RCV_PLUGIN_DET_MASK 0x00000200
  344. #define REG_HDMI_HPD_CTRL 0x00000258
  345. #define HDMI_HPD_CTRL_TIMEOUT__MASK 0x00001fff
  346. #define HDMI_HPD_CTRL_TIMEOUT__SHIFT 0
  347. static inline uint32_t HDMI_HPD_CTRL_TIMEOUT(uint32_t val)
  348. {
  349. return ((val) << HDMI_HPD_CTRL_TIMEOUT__SHIFT) & HDMI_HPD_CTRL_TIMEOUT__MASK;
  350. }
  351. #define HDMI_HPD_CTRL_ENABLE 0x10000000
  352. #define REG_HDMI_DDC_REF 0x0000027c
  353. #define HDMI_DDC_REF_REFTIMER_ENABLE 0x00010000
  354. #define HDMI_DDC_REF_REFTIMER__MASK 0x0000ffff
  355. #define HDMI_DDC_REF_REFTIMER__SHIFT 0
  356. static inline uint32_t HDMI_DDC_REF_REFTIMER(uint32_t val)
  357. {
  358. return ((val) << HDMI_DDC_REF_REFTIMER__SHIFT) & HDMI_DDC_REF_REFTIMER__MASK;
  359. }
  360. #define REG_HDMI_HDCP_SW_UPPER_AKSV 0x00000284
  361. #define REG_HDMI_HDCP_SW_LOWER_AKSV 0x00000288
  362. #define REG_HDMI_CEC_CTRL 0x0000028c
  363. #define REG_HDMI_CEC_WR_DATA 0x00000290
  364. #define REG_HDMI_CEC_CEC_RETRANSMIT 0x00000294
  365. #define REG_HDMI_CEC_STATUS 0x00000298
  366. #define REG_HDMI_CEC_INT 0x0000029c
  367. #define REG_HDMI_CEC_ADDR 0x000002a0
  368. #define REG_HDMI_CEC_TIME 0x000002a4
  369. #define REG_HDMI_CEC_REFTIMER 0x000002a8
  370. #define REG_HDMI_CEC_RD_DATA 0x000002ac
  371. #define REG_HDMI_CEC_RD_FILTER 0x000002b0
  372. #define REG_HDMI_ACTIVE_HSYNC 0x000002b4
  373. #define HDMI_ACTIVE_HSYNC_START__MASK 0x00000fff
  374. #define HDMI_ACTIVE_HSYNC_START__SHIFT 0
  375. static inline uint32_t HDMI_ACTIVE_HSYNC_START(uint32_t val)
  376. {
  377. return ((val) << HDMI_ACTIVE_HSYNC_START__SHIFT) & HDMI_ACTIVE_HSYNC_START__MASK;
  378. }
  379. #define HDMI_ACTIVE_HSYNC_END__MASK 0x0fff0000
  380. #define HDMI_ACTIVE_HSYNC_END__SHIFT 16
  381. static inline uint32_t HDMI_ACTIVE_HSYNC_END(uint32_t val)
  382. {
  383. return ((val) << HDMI_ACTIVE_HSYNC_END__SHIFT) & HDMI_ACTIVE_HSYNC_END__MASK;
  384. }
  385. #define REG_HDMI_ACTIVE_VSYNC 0x000002b8
  386. #define HDMI_ACTIVE_VSYNC_START__MASK 0x00000fff
  387. #define HDMI_ACTIVE_VSYNC_START__SHIFT 0
  388. static inline uint32_t HDMI_ACTIVE_VSYNC_START(uint32_t val)
  389. {
  390. return ((val) << HDMI_ACTIVE_VSYNC_START__SHIFT) & HDMI_ACTIVE_VSYNC_START__MASK;
  391. }
  392. #define HDMI_ACTIVE_VSYNC_END__MASK 0x0fff0000
  393. #define HDMI_ACTIVE_VSYNC_END__SHIFT 16
  394. static inline uint32_t HDMI_ACTIVE_VSYNC_END(uint32_t val)
  395. {
  396. return ((val) << HDMI_ACTIVE_VSYNC_END__SHIFT) & HDMI_ACTIVE_VSYNC_END__MASK;
  397. }
  398. #define REG_HDMI_VSYNC_ACTIVE_F2 0x000002bc
  399. #define HDMI_VSYNC_ACTIVE_F2_START__MASK 0x00000fff
  400. #define HDMI_VSYNC_ACTIVE_F2_START__SHIFT 0
  401. static inline uint32_t HDMI_VSYNC_ACTIVE_F2_START(uint32_t val)
  402. {
  403. return ((val) << HDMI_VSYNC_ACTIVE_F2_START__SHIFT) & HDMI_VSYNC_ACTIVE_F2_START__MASK;
  404. }
  405. #define HDMI_VSYNC_ACTIVE_F2_END__MASK 0x0fff0000
  406. #define HDMI_VSYNC_ACTIVE_F2_END__SHIFT 16
  407. static inline uint32_t HDMI_VSYNC_ACTIVE_F2_END(uint32_t val)
  408. {
  409. return ((val) << HDMI_VSYNC_ACTIVE_F2_END__SHIFT) & HDMI_VSYNC_ACTIVE_F2_END__MASK;
  410. }
  411. #define REG_HDMI_TOTAL 0x000002c0
  412. #define HDMI_TOTAL_H_TOTAL__MASK 0x00000fff
  413. #define HDMI_TOTAL_H_TOTAL__SHIFT 0
  414. static inline uint32_t HDMI_TOTAL_H_TOTAL(uint32_t val)
  415. {
  416. return ((val) << HDMI_TOTAL_H_TOTAL__SHIFT) & HDMI_TOTAL_H_TOTAL__MASK;
  417. }
  418. #define HDMI_TOTAL_V_TOTAL__MASK 0x0fff0000
  419. #define HDMI_TOTAL_V_TOTAL__SHIFT 16
  420. static inline uint32_t HDMI_TOTAL_V_TOTAL(uint32_t val)
  421. {
  422. return ((val) << HDMI_TOTAL_V_TOTAL__SHIFT) & HDMI_TOTAL_V_TOTAL__MASK;
  423. }
  424. #define REG_HDMI_VSYNC_TOTAL_F2 0x000002c4
  425. #define HDMI_VSYNC_TOTAL_F2_V_TOTAL__MASK 0x00000fff
  426. #define HDMI_VSYNC_TOTAL_F2_V_TOTAL__SHIFT 0
  427. static inline uint32_t HDMI_VSYNC_TOTAL_F2_V_TOTAL(uint32_t val)
  428. {
  429. return ((val) << HDMI_VSYNC_TOTAL_F2_V_TOTAL__SHIFT) & HDMI_VSYNC_TOTAL_F2_V_TOTAL__MASK;
  430. }
  431. #define REG_HDMI_FRAME_CTRL 0x000002c8
  432. #define HDMI_FRAME_CTRL_RGB_MUX_SEL_BGR 0x00001000
  433. #define HDMI_FRAME_CTRL_VSYNC_LOW 0x10000000
  434. #define HDMI_FRAME_CTRL_HSYNC_LOW 0x20000000
  435. #define HDMI_FRAME_CTRL_INTERLACED_EN 0x80000000
  436. #define REG_HDMI_AUD_INT 0x000002cc
  437. #define HDMI_AUD_INT_AUD_FIFO_URUN_INT 0x00000001
  438. #define HDMI_AUD_INT_AUD_FIFO_URAN_MASK 0x00000002
  439. #define HDMI_AUD_INT_AUD_SAM_DROP_INT 0x00000004
  440. #define HDMI_AUD_INT_AUD_SAM_DROP_MASK 0x00000008
  441. #define REG_HDMI_PHY_CTRL 0x000002d4
  442. #define HDMI_PHY_CTRL_SW_RESET_PLL 0x00000001
  443. #define HDMI_PHY_CTRL_SW_RESET_PLL_LOW 0x00000002
  444. #define HDMI_PHY_CTRL_SW_RESET 0x00000004
  445. #define HDMI_PHY_CTRL_SW_RESET_LOW 0x00000008
  446. #define REG_HDMI_CEC_WR_RANGE 0x000002dc
  447. #define REG_HDMI_CEC_RD_RANGE 0x000002e0
  448. #define REG_HDMI_VERSION 0x000002e4
  449. #define REG_HDMI_CEC_COMPL_CTL 0x00000360
  450. #define REG_HDMI_CEC_RD_START_RANGE 0x00000364
  451. #define REG_HDMI_CEC_RD_TOTAL_RANGE 0x00000368
  452. #define REG_HDMI_CEC_RD_ERR_RESP_LO 0x0000036c
  453. #define REG_HDMI_CEC_WR_CHECK_CONFIG 0x00000370
  454. #define REG_HDMI_8x60_PHY_REG0 0x00000300
  455. #define HDMI_8x60_PHY_REG0_DESER_DEL_CTRL__MASK 0x0000001c
  456. #define HDMI_8x60_PHY_REG0_DESER_DEL_CTRL__SHIFT 2
  457. static inline uint32_t HDMI_8x60_PHY_REG0_DESER_DEL_CTRL(uint32_t val)
  458. {
  459. return ((val) << HDMI_8x60_PHY_REG0_DESER_DEL_CTRL__SHIFT) & HDMI_8x60_PHY_REG0_DESER_DEL_CTRL__MASK;
  460. }
  461. #define REG_HDMI_8x60_PHY_REG1 0x00000304
  462. #define HDMI_8x60_PHY_REG1_DTEST_MUX_SEL__MASK 0x000000f0
  463. #define HDMI_8x60_PHY_REG1_DTEST_MUX_SEL__SHIFT 4
  464. static inline uint32_t HDMI_8x60_PHY_REG1_DTEST_MUX_SEL(uint32_t val)
  465. {
  466. return ((val) << HDMI_8x60_PHY_REG1_DTEST_MUX_SEL__SHIFT) & HDMI_8x60_PHY_REG1_DTEST_MUX_SEL__MASK;
  467. }
  468. #define HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL__MASK 0x0000000f
  469. #define HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL__SHIFT 0
  470. static inline uint32_t HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL(uint32_t val)
  471. {
  472. return ((val) << HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL__SHIFT) & HDMI_8x60_PHY_REG1_OUTVOL_SWING_CTRL__MASK;
  473. }
  474. #define REG_HDMI_8x60_PHY_REG2 0x00000308
  475. #define HDMI_8x60_PHY_REG2_PD_DESER 0x00000001
  476. #define HDMI_8x60_PHY_REG2_PD_DRIVE_1 0x00000002
  477. #define HDMI_8x60_PHY_REG2_PD_DRIVE_2 0x00000004
  478. #define HDMI_8x60_PHY_REG2_PD_DRIVE_3 0x00000008
  479. #define HDMI_8x60_PHY_REG2_PD_DRIVE_4 0x00000010
  480. #define HDMI_8x60_PHY_REG2_PD_PLL 0x00000020
  481. #define HDMI_8x60_PHY_REG2_PD_PWRGEN 0x00000040
  482. #define HDMI_8x60_PHY_REG2_RCV_SENSE_EN 0x00000080
  483. #define REG_HDMI_8x60_PHY_REG3 0x0000030c
  484. #define HDMI_8x60_PHY_REG3_PLL_ENABLE 0x00000001
  485. #define REG_HDMI_8x60_PHY_REG4 0x00000310
  486. #define REG_HDMI_8x60_PHY_REG5 0x00000314
  487. #define REG_HDMI_8x60_PHY_REG6 0x00000318
  488. #define REG_HDMI_8x60_PHY_REG7 0x0000031c
  489. #define REG_HDMI_8x60_PHY_REG8 0x00000320
  490. #define REG_HDMI_8x60_PHY_REG9 0x00000324
  491. #define REG_HDMI_8x60_PHY_REG10 0x00000328
  492. #define REG_HDMI_8x60_PHY_REG11 0x0000032c
  493. #define REG_HDMI_8x60_PHY_REG12 0x00000330
  494. #define HDMI_8x60_PHY_REG12_RETIMING_EN 0x00000001
  495. #define HDMI_8x60_PHY_REG12_PLL_LOCK_DETECT_EN 0x00000002
  496. #define HDMI_8x60_PHY_REG12_FORCE_LOCK 0x00000010
  497. #define REG_HDMI_8960_PHY_REG0 0x00000400
  498. #define REG_HDMI_8960_PHY_REG1 0x00000404
  499. #define REG_HDMI_8960_PHY_REG2 0x00000408
  500. #define REG_HDMI_8960_PHY_REG3 0x0000040c
  501. #define REG_HDMI_8960_PHY_REG4 0x00000410
  502. #define REG_HDMI_8960_PHY_REG5 0x00000414
  503. #define REG_HDMI_8960_PHY_REG6 0x00000418
  504. #define REG_HDMI_8960_PHY_REG7 0x0000041c
  505. #define REG_HDMI_8960_PHY_REG8 0x00000420
  506. #define REG_HDMI_8960_PHY_REG9 0x00000424
  507. #define REG_HDMI_8960_PHY_REG10 0x00000428
  508. #define REG_HDMI_8960_PHY_REG11 0x0000042c
  509. #define REG_HDMI_8960_PHY_REG12 0x00000430
  510. #define HDMI_8960_PHY_REG12_SW_RESET 0x00000020
  511. #define HDMI_8960_PHY_REG12_PWRDN_B 0x00000080
  512. #define REG_HDMI_8960_PHY_REG_BIST_CFG 0x00000434
  513. #define REG_HDMI_8960_PHY_DEBUG_BUS_SEL 0x00000438
  514. #define REG_HDMI_8960_PHY_REG_MISC0 0x0000043c
  515. #define REG_HDMI_8960_PHY_REG13 0x00000440
  516. #define REG_HDMI_8960_PHY_REG14 0x00000444
  517. #define REG_HDMI_8960_PHY_REG15 0x00000448
  518. #define REG_HDMI_8960_PHY_PLL_REFCLK_CFG 0x00000500
  519. #define REG_HDMI_8960_PHY_PLL_CHRG_PUMP_CFG 0x00000504
  520. #define REG_HDMI_8960_PHY_PLL_LOOP_FLT_CFG0 0x00000508
  521. #define REG_HDMI_8960_PHY_PLL_LOOP_FLT_CFG1 0x0000050c
  522. #define REG_HDMI_8960_PHY_PLL_IDAC_ADJ_CFG 0x00000510
  523. #define REG_HDMI_8960_PHY_PLL_I_VI_KVCO_CFG 0x00000514
  524. #define REG_HDMI_8960_PHY_PLL_PWRDN_B 0x00000518
  525. #define HDMI_8960_PHY_PLL_PWRDN_B_PD_PLL 0x00000002
  526. #define HDMI_8960_PHY_PLL_PWRDN_B_PLL_PWRDN_B 0x00000008
  527. #define REG_HDMI_8960_PHY_PLL_SDM_CFG0 0x0000051c
  528. #define REG_HDMI_8960_PHY_PLL_SDM_CFG1 0x00000520
  529. #define REG_HDMI_8960_PHY_PLL_SDM_CFG2 0x00000524
  530. #define REG_HDMI_8960_PHY_PLL_SDM_CFG3 0x00000528
  531. #define REG_HDMI_8960_PHY_PLL_SDM_CFG4 0x0000052c
  532. #define REG_HDMI_8960_PHY_PLL_SSC_CFG0 0x00000530
  533. #define REG_HDMI_8960_PHY_PLL_SSC_CFG1 0x00000534
  534. #define REG_HDMI_8960_PHY_PLL_SSC_CFG2 0x00000538
  535. #define REG_HDMI_8960_PHY_PLL_SSC_CFG3 0x0000053c
  536. #define REG_HDMI_8960_PHY_PLL_LOCKDET_CFG0 0x00000540
  537. #define REG_HDMI_8960_PHY_PLL_LOCKDET_CFG1 0x00000544
  538. #define REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2 0x00000548
  539. #define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG0 0x0000054c
  540. #define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG1 0x00000550
  541. #define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG2 0x00000554
  542. #define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG3 0x00000558
  543. #define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG4 0x0000055c
  544. #define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG5 0x00000560
  545. #define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG6 0x00000564
  546. #define REG_HDMI_8960_PHY_PLL_VCOCAL_CFG7 0x00000568
  547. #define REG_HDMI_8960_PHY_PLL_DEBUG_SEL 0x0000056c
  548. #define REG_HDMI_8960_PHY_PLL_MISC0 0x00000570
  549. #define REG_HDMI_8960_PHY_PLL_MISC1 0x00000574
  550. #define REG_HDMI_8960_PHY_PLL_MISC2 0x00000578
  551. #define REG_HDMI_8960_PHY_PLL_MISC3 0x0000057c
  552. #define REG_HDMI_8960_PHY_PLL_MISC4 0x00000580
  553. #define REG_HDMI_8960_PHY_PLL_MISC5 0x00000584
  554. #define REG_HDMI_8960_PHY_PLL_MISC6 0x00000588
  555. #define REG_HDMI_8960_PHY_PLL_DEBUG_BUS0 0x0000058c
  556. #define REG_HDMI_8960_PHY_PLL_DEBUG_BUS1 0x00000590
  557. #define REG_HDMI_8960_PHY_PLL_DEBUG_BUS2 0x00000594
  558. #define REG_HDMI_8960_PHY_PLL_STATUS0 0x00000598
  559. #define HDMI_8960_PHY_PLL_STATUS0_PLL_LOCK 0x00000001
  560. #define REG_HDMI_8960_PHY_PLL_STATUS1 0x0000059c
  561. #define REG_HDMI_8x74_ANA_CFG0 0x00000000
  562. #define REG_HDMI_8x74_ANA_CFG1 0x00000004
  563. #define REG_HDMI_8x74_PD_CTRL0 0x00000010
  564. #define REG_HDMI_8x74_PD_CTRL1 0x00000014
  565. #define REG_HDMI_8x74_BIST_CFG0 0x00000034
  566. #define REG_HDMI_8x74_BIST_PATN0 0x0000003c
  567. #define REG_HDMI_8x74_BIST_PATN1 0x00000040
  568. #define REG_HDMI_8x74_BIST_PATN2 0x00000044
  569. #define REG_HDMI_8x74_BIST_PATN3 0x00000048
  570. #define REG_HDMI_28nm_PHY_PLL_REFCLK_CFG 0x00000000
  571. #define REG_HDMI_28nm_PHY_PLL_POSTDIV1_CFG 0x00000004
  572. #define REG_HDMI_28nm_PHY_PLL_CHGPUMP_CFG 0x00000008
  573. #define REG_HDMI_28nm_PHY_PLL_VCOLPF_CFG 0x0000000c
  574. #define REG_HDMI_28nm_PHY_PLL_VREG_CFG 0x00000010
  575. #define REG_HDMI_28nm_PHY_PLL_PWRGEN_CFG 0x00000014
  576. #define REG_HDMI_28nm_PHY_PLL_DMUX_CFG 0x00000018
  577. #define REG_HDMI_28nm_PHY_PLL_AMUX_CFG 0x0000001c
  578. #define REG_HDMI_28nm_PHY_PLL_GLB_CFG 0x00000020
  579. #define HDMI_28nm_PHY_PLL_GLB_CFG_PLL_PWRDN_B 0x00000001
  580. #define HDMI_28nm_PHY_PLL_GLB_CFG_PLL_LDO_PWRDN_B 0x00000002
  581. #define HDMI_28nm_PHY_PLL_GLB_CFG_PLL_PWRGEN_PWRDN_B 0x00000004
  582. #define HDMI_28nm_PHY_PLL_GLB_CFG_PLL_ENABLE 0x00000008
  583. #define REG_HDMI_28nm_PHY_PLL_POSTDIV2_CFG 0x00000024
  584. #define REG_HDMI_28nm_PHY_PLL_POSTDIV3_CFG 0x00000028
  585. #define REG_HDMI_28nm_PHY_PLL_LPFR_CFG 0x0000002c
  586. #define REG_HDMI_28nm_PHY_PLL_LPFC1_CFG 0x00000030
  587. #define REG_HDMI_28nm_PHY_PLL_LPFC2_CFG 0x00000034
  588. #define REG_HDMI_28nm_PHY_PLL_SDM_CFG0 0x00000038
  589. #define REG_HDMI_28nm_PHY_PLL_SDM_CFG1 0x0000003c
  590. #define REG_HDMI_28nm_PHY_PLL_SDM_CFG2 0x00000040
  591. #define REG_HDMI_28nm_PHY_PLL_SDM_CFG3 0x00000044
  592. #define REG_HDMI_28nm_PHY_PLL_SDM_CFG4 0x00000048
  593. #define REG_HDMI_28nm_PHY_PLL_SSC_CFG0 0x0000004c
  594. #define REG_HDMI_28nm_PHY_PLL_SSC_CFG1 0x00000050
  595. #define REG_HDMI_28nm_PHY_PLL_SSC_CFG2 0x00000054
  596. #define REG_HDMI_28nm_PHY_PLL_SSC_CFG3 0x00000058
  597. #define REG_HDMI_28nm_PHY_PLL_LKDET_CFG0 0x0000005c
  598. #define REG_HDMI_28nm_PHY_PLL_LKDET_CFG1 0x00000060
  599. #define REG_HDMI_28nm_PHY_PLL_LKDET_CFG2 0x00000064
  600. #define REG_HDMI_28nm_PHY_PLL_TEST_CFG 0x00000068
  601. #define HDMI_28nm_PHY_PLL_TEST_CFG_PLL_SW_RESET 0x00000001
  602. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG0 0x0000006c
  603. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG1 0x00000070
  604. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG2 0x00000074
  605. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG3 0x00000078
  606. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG4 0x0000007c
  607. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG5 0x00000080
  608. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG6 0x00000084
  609. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG7 0x00000088
  610. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG8 0x0000008c
  611. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG9 0x00000090
  612. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG10 0x00000094
  613. #define REG_HDMI_28nm_PHY_PLL_CAL_CFG11 0x00000098
  614. #define REG_HDMI_28nm_PHY_PLL_EFUSE_CFG 0x0000009c
  615. #define REG_HDMI_28nm_PHY_PLL_DEBUG_BUS_SEL 0x000000a0
  616. #endif /* HDMI_XML */