tegra_hdmireg.h revision 1.2 1 1.2 jmcneill /* $NetBSD: tegra_hdmireg.h,v 1.2 2015/07/23 14:31:05 jmcneill Exp $ */
2 1.1 jmcneill
3 1.1 jmcneill /*-
4 1.1 jmcneill * Copyright (c) 2015 Jared D. McNeill <jmcneill (at) invisible.ca>
5 1.1 jmcneill * All rights reserved.
6 1.1 jmcneill *
7 1.1 jmcneill * Redistribution and use in source and binary forms, with or without
8 1.1 jmcneill * modification, are permitted provided that the following conditions
9 1.1 jmcneill * are met:
10 1.1 jmcneill * 1. Redistributions of source code must retain the above copyright
11 1.1 jmcneill * notice, this list of conditions and the following disclaimer.
12 1.1 jmcneill * 2. Redistributions in binary form must reproduce the above copyright
13 1.1 jmcneill * notice, this list of conditions and the following disclaimer in the
14 1.1 jmcneill * documentation and/or other materials provided with the distribution.
15 1.1 jmcneill *
16 1.1 jmcneill * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 1.1 jmcneill * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 1.1 jmcneill * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 1.1 jmcneill * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 1.1 jmcneill * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21 1.1 jmcneill * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 1.1 jmcneill * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23 1.1 jmcneill * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 1.1 jmcneill * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 1.1 jmcneill * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 1.1 jmcneill * SUCH DAMAGE.
27 1.1 jmcneill */
28 1.1 jmcneill
29 1.1 jmcneill #ifndef _ARM_TEGRA_HDMIREG_H
30 1.1 jmcneill #define _ARM_TEGRA_HDMIREG_H
31 1.1 jmcneill
32 1.1 jmcneill /*
33 1.1 jmcneill * HDMI Registers
34 1.1 jmcneill */
35 1.1 jmcneill #define HDMI_CTXSW_REG 0x000
36 1.1 jmcneill
37 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE0_REG 0x004
38 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE0_UPDATE __BIT(0)
39 1.1 jmcneill
40 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE1_REG 0x008
41 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE1_ARM_SHOW_VGA __BIT(4)
42 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE1_ATTACHED __BIT(3)
43 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE1_ASY_ORMODE __BIT(2)
44 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE1_ASY_HEAD_OPMODE __BITS(1,0)
45 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE1_ASY_HEAD_OPMODE_SLEEP 0
46 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE1_ASY_HEAD_OPMODE_SNOOZE 1
47 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE1_ASY_HEAD_OPMODE_AWAKE 2
48 1.1 jmcneill
49 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE2_REG 0x00c
50 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE2_ASY_DEPOL __BIT(14)
51 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE2_ASY_VSYNCPOL __BIT(13)
52 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE2_ASY_HSYNCPOL __BIT(12)
53 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE2_ASY_PROTOCOL __BITS(11,8)
54 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE2_ASY_CRCMODE __BITS(7,6)
55 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE2_ASY_SUBOWNER __BITS(5,4)
56 1.1 jmcneill #define HDMI_NV_PDISP_SOR_STATE2_ASY_OWNER __BITS(3,0)
57 1.1 jmcneill
58 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_EMU0_REG 0x068
59 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_EMU_RDATA0_REG 0x06c
60 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_EMU1_REG 0x070
61 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_EMU2_REG 0x074
62 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_INFOFRAME_CTRL_REG 0x078
63 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_INFOFRAME_STATUS_REG 0x07c
64 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_INFOFRAME_HEADER_REG 0x080
65 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_INFOFRAME_SUBPACK0_LOW_REG 0x084
66 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AUDIO_INFOFRAME_SUBPACK0_HIGH_REG 0x088
67 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AVI_INFOFRAME_CTRL_REG 0x08c
68 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AVI_INFOFRAME_STATUS_REG 0x090
69 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AVI_INFOFRAME_HEADER_REG 0x094
70 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AVI_INFOFRAME_SUBPACK0_LOW_REG 0x098
71 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AVI_INFOFRAME_SUBPACK0_HIGH_REG 0x09c
72 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AVI_INFOFRAME_SUBPACK1_LOW_REG 0x0a0
73 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_AVI_INFOFRAME_SUBPACK1_HIGH_REG 0x0a4
74 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_CTRL_REG 0x0a8
75 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_STATUS_REG 0x0ac
76 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_HEADER_REG 0x0b0
77 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_INFOFRAME_SUBPACK0_LOW_REG 0x0b4
78 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_INFOFRAME_SUBPACK0_HIGH_REG 0x0b8
79 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_INFOFRAME_SUBPACK1_LOW_REG 0x0bc
80 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_INFOFRAME_SUBPACK1_HIGH_REG 0x0c0
81 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_INFOFRAME_SUBPACK2_LOW_REG 0x0c4
82 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_INFOFRAME_SUBPACK2_HIGH_REG 0x0c8
83 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_INFOFRAME_SUBPACK3_LOW_REG 0x0cc
84 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GENERIC_INFOFRAME_SUBPACK3_HIGH_REG 0x0d0
85 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_CTRL_REG 0x0d4
86 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0320_SUBPACK_LOW_REG 0x0d8
87 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0320_SUBPACK_HIGH_REG 0x0dc
88 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0441_SUBPACK_LOW_REG 0x0e0
89 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0441_SUBPACK_HIGH_REG 0x0e4
90 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0882_SUBPACK_LOW_REG 0x0e8
91 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0882_SUBPACK_HIGH_REG 0x0ec
92 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_1764_SUBPACK_LOW_REG 0x0f0
93 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_1764_SUBPACK_HIGH_REG 0x0f4
94 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0480_SUBPACK_LOW_REG 0x0f8
95 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0480_SUBPACK_HIGH_REG 0x0fc
96 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0960_SUBPACK_LOW_REG 0x100
97 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_0960_SUBPACK_HIGH_REG 0x104
98 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_1920_SUBPACK_LOW_REG 0x108
99 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_ACR_1920_SUBPACK_HIGH_REG 0x10c
100 1.1 jmcneill
101 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_REG 0x110
102 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_ENABLE __BIT(30)
103 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_CA_SELECT __BIT(28)
104 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_SS_SELECT __BIT(27)
105 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_SF_SELECT __BIT(26)
106 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_CC_SELECT __BIT(25)
107 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_CT_SELECT __BIT(24)
108 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_MAX_AC_PACKET __BITS(20,16)
109 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_SAMPLE_FLAT __BIT(12)
110 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_AUDIO_LAYOUT_SELECT __BIT(10)
111 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_AUDIO_LAYOUT __BIT(8)
112 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CTRL_REKEY __BITS(6,0)
113 1.1 jmcneill
114 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSYNC_KEEPOUT_REG 0x114
115 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSYNC_WINDOW_REG 0x118
116 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GCP_CTRL_REG 0x11c
117 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GCP_STATUS_REG 0x120
118 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_GCP_SUBPACK_REG 0x124
119 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CHANNEL_STATUS1_REG 0x128
120 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_CHANNEL_STATUS2_REG 0x12c
121 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_EMU0_REG 0x130
122 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_EMU1_REG 0x134
123 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_EMU1_RDATA_REG 0x138
124 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_SPARE_REG 0x13c
125 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_SPDIF_CHN_STATUS1_REG 0x140
126 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_SPDIF_CHN_STAUTS2_REG 0x144
127 1.1 jmcneill #define HDMI_NV_PDISP_CRC_CONTROL_REG 0x258
128 1.1 jmcneill
129 1.1 jmcneill #define HDMI_NV_PDISP_INPUT_CONTROL_REG 0x25c
130 1.1 jmcneill #define HDMI_NV_PDISP_INPUT_CONTROL_ARM_VIDEO_RANGE __BIT(1)
131 1.1 jmcneill #define HDMI_NV_PDISP_INPUT_CONTROL_HDMI_SRC_SELECT __BIT(0)
132 1.1 jmcneill
133 1.1 jmcneill #define HDMI_NV_PDISP_SCRATCH_REG 0x260
134 1.1 jmcneill #define HDMI_NV_PDISP_PE_CURRENT_REG 0x264
135 1.1 jmcneill #define HDMI_NV_PDISP_KEY_CTRL_REG 0x268
136 1.1 jmcneill #define HDMI_NV_PDISP_KEY_DEBUG0_REG 0x26c
137 1.1 jmcneill #define HDMI_NV_PDISP_KEY_DEBUG1_REG 0x270
138 1.1 jmcneill #define HDMI_NV_PDISP_KEY_DEBUG2_REG 0x274
139 1.1 jmcneill #define HDMI_NV_PDISP_KEY_HDCP_KEY_0_REG 0x278
140 1.1 jmcneill #define HDMI_NV_PDISP_KEY_HDCP_KEY_1_REG 0x27c
141 1.1 jmcneill #define HDMI_NV_PDISP_KEY_HDCP_KEY_2_REG 0x280
142 1.1 jmcneill #define HDMI_NV_PDISP_KEY_HDCP_KEY_3_REG 0x284
143 1.1 jmcneill #define HDMI_NV_PDISP_KEY_HDCP_KEY_TRIG_REG 0x288
144 1.1 jmcneill #define HDMI_NV_PDISP_KEY_SKEY_INDEX_REG 0x28c
145 1.1 jmcneill #define HDMI_NV_PDISP_INT_STATUS_REG 0x330
146 1.1 jmcneill #define HDMI_NV_PDISP_INT_MASK_REG 0x334
147 1.1 jmcneill #define HDMI_NV_PDISP_INT_ENABLE_REG 0x338
148 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_CTRL_REG 0x358
149 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_STATUS_REG 0x35c
150 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_HEADER_REG 0x360
151 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_SUBPACK0_LOW_REG 0x364
152 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_SUBPACK0_HIGH_REG 0x368
153 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_SUBPACK1_LOW_REG 0x36c
154 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_SUBPACK1_HIGH_REG 0x370
155 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_SUBPACK2_LOW_REG 0x374
156 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_SUBPACK2_HIGH_REG 0x378
157 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_SUBPACK3_LOW_REG 0x37c
158 1.1 jmcneill #define HDMI_NV_PDISP_HDMI_VSI_INFOFRAME_SUBPACK3_HIGH_REG 0x380
159 1.1 jmcneill
160 1.1 jmcneill /*
161 1.1 jmcneill * Serial Output Resource Registers
162 1.1 jmcneill */
163 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PWR_REG 0x154
164 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PWR_SETTING_NEW __BIT(31)
165 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PWR_MODE __BIT(28)
166 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PWR_HALT_DELAY __BIT(24)
167 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PWR_SAFE_START __BIT(17)
168 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PWR_SAFE_STATE __BIT(16)
169 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PWR_NORMAL_START __BIT(1)
170 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PWR_NORMAL_STATE __BIT(0)
171 1.1 jmcneill
172 1.1 jmcneill #define HDMI_NV_PDISP_SOR_TEST_REG 0x158
173 1.1 jmcneill
174 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_REG 0x15c
175 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_TX_REG_LOAD __BITS(29,28)
176 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_ICHPMP __BITS(27,24)
177 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_FILTER __BITS(19,16)
178 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_BG_V17_S __BITS(15,12)
179 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_VCOCAP __BITS(11,8)
180 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_PULLDOWN __BIT(5)
181 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_RESISTORSEL __BIT(4)
182 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_PDPORT __BIT(3)
183 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_VCOPD __BIT(2)
184 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_PDBG __BIT(1)
185 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL0_PWR __BIT(0)
186 1.1 jmcneill
187 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL1_REG 0x160
188 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PLL2_REG 0x164
189 1.1 jmcneill
190 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_REG 0x168
191 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_ROTDAT __BITS(30,28)
192 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_ROTCLK __BITS(27,24)
193 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PLLDIV __BIT(21)
194 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_BALANCED __BIT(19)
195 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_NEW_MODE __BIT(18)
196 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_DUP_SYNC __BIT(17)
197 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_LVDS_EN __BIT(16)
198 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_LINKACTB __BIT(15)
199 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_LINKACTA __BIT(14)
200 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_MODE __BITS(13,12)
201 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_MODE_LVDS 0
202 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_MODE_TMDS 1
203 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_UPPER __BIT(11)
204 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXCB __BIT(9)
205 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXCA __BIT(8)
206 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXDB_3 __BIT(7)
207 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXDB_2 __BIT(6)
208 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXDB_1 __BIT(5)
209 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXDB_0 __BIT(4)
210 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXDA_3 __BIT(3)
211 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXDA_2 __BIT(2)
212 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXDA_1 __BIT(1)
213 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CSTM_PD_TXDA_0 __BIT(0)
214 1.1 jmcneill
215 1.1 jmcneill #define HDMI_NV_PDISP_SOR_LVDS_REG 0x16c
216 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CRCA_REG 0x170
217 1.1 jmcneill #define HDMI_NV_PDISP_SOR_CRCB_REG 0x174
218 1.1 jmcneill #define HDMI_NV_PDISP_SOR_BLANK_REG 0x178
219 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_CTL_REG 0x17c
220 1.2 jmcneill
221 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST0_REG 0x180
222 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST1_REG 0x184
223 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST2_REG 0x188
224 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST3_REG 0x18c
225 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST4_REG 0x190
226 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST5_REG 0x194
227 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST6_REG 0x198
228 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST7_REG 0x19c
229 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST8_REG 0x1a0
230 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST9_REG 0x1a4
231 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INSTA_REG 0x1a8
232 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INSTB_REG 0x1ac
233 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INSTC_REG 0x1b0
234 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INSTD_REG 0x1b4
235 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INSTE_REG 0x1b8
236 1.1 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INSTF_REG 0x1bc
237 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_PLL_PULLDOWN __BIT(31)
238 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_POWERDOWN_MACRO __BIT(30)
239 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_ASSERT_PLL_RESETV __BIT(29)
240 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_BLANK_V __BIT(28)
241 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_BLANK_H __BIT(27)
242 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_BLANK_DE __BIT(26)
243 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_BLACK_DATA __BIT(25)
244 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_TRISTATE_IOS __BIT(24)
245 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_DRIVE_PWM_OUT_LO __BIT(23)
246 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_PIN_B __BIT(22)
247 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_PIN_A __BIT(21)
248 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_HALT __BIT(15)
249 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_WAIT_UNITS __BITS(13,12)
250 1.2 jmcneill #define HDMI_NV_PDISP_SOR_SEQ_INST_WAIT_TIME __BITS(9,0)
251 1.2 jmcneill
252 1.1 jmcneill #define HDMI_NV_PDISP_SOR_LANE_DRIVE_CURRENT_REG 0x1f8
253 1.1 jmcneill
254 1.1 jmcneill #define HDMI_NV_PDISP_SOR_REFCLK_REG 0x254
255 1.1 jmcneill #define HDMI_NV_PDISP_SOR_REFCLK_DIV_INT __BITS(15,8)
256 1.1 jmcneill #define HDMI_NV_PDISP_SOR_REFCLK_DIV_FRAC __BITS(7,6)
257 1.1 jmcneill
258 1.1 jmcneill #define HDMI_NV_PDISP_SOR_IO_PEAK_CURRENT_REG 0x344
259 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PAD_CTLS0_REG 0x348
260 1.1 jmcneill #define HDMI_NV_PDISP_SOR_PAD_CTLS1_REG 0x34c
261 1.1 jmcneill
262 1.1 jmcneill /*
263 1.1 jmcneill * Audio Registers
264 1.1 jmcneill */
265 1.1 jmcneill #define HDMI_NV_PDISP_AUDIO_N_REG 0x230
266 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_CNTRL0_REG 0x2b0
267 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_DEBUG_REG 0x2b4
268 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_SPARE0_REG 0x2b8
269 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_NVAL_0320_REG 0x2bc
270 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_NVAL_0441_REG 0x2c0
271 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_NVAL_0882_REG 0x2c4
272 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_NVAL_1764_REG 0x2c8
273 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_NVAL_0480_REG 0x2cc
274 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_NVAL_0960_REG 0x2d0
275 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_NVAL_1920_REG 0x2d4
276 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_SCRATCH0_REG 0x2d8
277 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_SCRATCH1_REG 0x2dc
278 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_SCRATCH2_REG 0x2e0
279 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_SCRATCH3_REG 0x2e4
280 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_CODEC_SCRATCH0_REG 0x2e8
281 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_CODEC_SCRATCH1_REG 0x2ec
282 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_ELF_BUFWR_REG 0x2f0
283 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_PRESENSE_REG 0x2f4
284 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_HDA_CP_REG 0x2f8
285 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_AVAL_0320_REG 0x2fc
286 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_AVAL_0441_REG 0x300
287 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_AVAL_0882_REG 0x304
288 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_AVAL_1764_REG 0x308
289 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_AVAL_0480_REG 0x30c
290 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_AVAL_0960_REG 0x310
291 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_AVAL_1920_REG 0x314
292 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_AVAL_DEFAULT_REG 0x318
293 1.1 jmcneill #define HDMI_NV_PDISP_SOR_AUDIO_GEN_CTRL_REG 0x31c
294 1.1 jmcneill #define HDMI_NV_HDACODEC_AUDIO_GEN_CTL_REG 0x354
295 1.1 jmcneill
296 1.1 jmcneill #endif /* _ARM_TEGRA_HDMIREG_H */
297