diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-06-09 06:52:35 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-07-04 04:17:58 -0400 |
commit | bbcc14ebf913be0f11c08b346d070067f3fea332 (patch) | |
tree | 6ada0de0d58969f1279e7cd5e59e8aeaff57baba | |
parent | d0678c303fb70415da429ebcafebc1655c793055 (diff) |
OMAPDSS: HDMI: remove custom avi infoframe
We now use the common AVI infoframe support, so the OMAP specific AVI
infoframe code can be removed.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi.h | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi.h b/drivers/video/fbdev/omap2/dss/hdmi.h index 6cd4a755b0ac..e20fe5f70479 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi.h +++ b/drivers/video/fbdev/omap2/dss/hdmi.h | |||
@@ -179,54 +179,6 @@ enum hdmi_audio_mclk_mode { | |||
179 | HDMI_AUDIO_MCLK_192FS = 7 | 179 | HDMI_AUDIO_MCLK_192FS = 7 |
180 | }; | 180 | }; |
181 | 181 | ||
182 | /* INFOFRAME_AVI_ and INFOFRAME_AUDIO_ definitions */ | ||
183 | enum hdmi_core_infoframe { | ||
184 | HDMI_INFOFRAME_AVI_DB1Y_RGB = 0, | ||
185 | HDMI_INFOFRAME_AVI_DB1Y_YUV422 = 1, | ||
186 | HDMI_INFOFRAME_AVI_DB1Y_YUV444 = 2, | ||
187 | HDMI_INFOFRAME_AVI_DB1A_ACTIVE_FORMAT_OFF = 0, | ||
188 | HDMI_INFOFRAME_AVI_DB1A_ACTIVE_FORMAT_ON = 1, | ||
189 | HDMI_INFOFRAME_AVI_DB1B_NO = 0, | ||
190 | HDMI_INFOFRAME_AVI_DB1B_VERT = 1, | ||
191 | HDMI_INFOFRAME_AVI_DB1B_HORI = 2, | ||
192 | HDMI_INFOFRAME_AVI_DB1B_VERTHORI = 3, | ||
193 | HDMI_INFOFRAME_AVI_DB1S_0 = 0, | ||
194 | HDMI_INFOFRAME_AVI_DB1S_1 = 1, | ||
195 | HDMI_INFOFRAME_AVI_DB1S_2 = 2, | ||
196 | HDMI_INFOFRAME_AVI_DB2C_NO = 0, | ||
197 | HDMI_INFOFRAME_AVI_DB2C_ITU601 = 1, | ||
198 | HDMI_INFOFRAME_AVI_DB2C_ITU709 = 2, | ||
199 | HDMI_INFOFRAME_AVI_DB2C_EC_EXTENDED = 3, | ||
200 | HDMI_INFOFRAME_AVI_DB2M_NO = 0, | ||
201 | HDMI_INFOFRAME_AVI_DB2M_43 = 1, | ||
202 | HDMI_INFOFRAME_AVI_DB2M_169 = 2, | ||
203 | HDMI_INFOFRAME_AVI_DB2R_SAME = 8, | ||
204 | HDMI_INFOFRAME_AVI_DB2R_43 = 9, | ||
205 | HDMI_INFOFRAME_AVI_DB2R_169 = 10, | ||
206 | HDMI_INFOFRAME_AVI_DB2R_149 = 11, | ||
207 | HDMI_INFOFRAME_AVI_DB3ITC_NO = 0, | ||
208 | HDMI_INFOFRAME_AVI_DB3ITC_YES = 1, | ||
209 | HDMI_INFOFRAME_AVI_DB3EC_XVYUV601 = 0, | ||
210 | HDMI_INFOFRAME_AVI_DB3EC_XVYUV709 = 1, | ||
211 | HDMI_INFOFRAME_AVI_DB3Q_DEFAULT = 0, | ||
212 | HDMI_INFOFRAME_AVI_DB3Q_LR = 1, | ||
213 | HDMI_INFOFRAME_AVI_DB3Q_FR = 2, | ||
214 | HDMI_INFOFRAME_AVI_DB3SC_NO = 0, | ||
215 | HDMI_INFOFRAME_AVI_DB3SC_HORI = 1, | ||
216 | HDMI_INFOFRAME_AVI_DB3SC_VERT = 2, | ||
217 | HDMI_INFOFRAME_AVI_DB3SC_HORIVERT = 3, | ||
218 | HDMI_INFOFRAME_AVI_DB5PR_NO = 0, | ||
219 | HDMI_INFOFRAME_AVI_DB5PR_2 = 1, | ||
220 | HDMI_INFOFRAME_AVI_DB5PR_3 = 2, | ||
221 | HDMI_INFOFRAME_AVI_DB5PR_4 = 3, | ||
222 | HDMI_INFOFRAME_AVI_DB5PR_5 = 4, | ||
223 | HDMI_INFOFRAME_AVI_DB5PR_6 = 5, | ||
224 | HDMI_INFOFRAME_AVI_DB5PR_7 = 6, | ||
225 | HDMI_INFOFRAME_AVI_DB5PR_8 = 7, | ||
226 | HDMI_INFOFRAME_AVI_DB5PR_9 = 8, | ||
227 | HDMI_INFOFRAME_AVI_DB5PR_10 = 9, | ||
228 | }; | ||
229 | |||
230 | struct hdmi_cm { | 182 | struct hdmi_cm { |
231 | int code; | 183 | int code; |
232 | int mode; | 184 | int mode; |
@@ -299,47 +251,6 @@ struct hdmi_core_audio_config { | |||
299 | bool en_spdif; | 251 | bool en_spdif; |
300 | }; | 252 | }; |
301 | 253 | ||
302 | /* | ||
303 | * Refer to section 8.2 in HDMI 1.3 specification for | ||
304 | * details about infoframe databytes | ||
305 | */ | ||
306 | struct hdmi_core_infoframe_avi { | ||
307 | /* Y0, Y1 rgb,yCbCr */ | ||
308 | u8 db1_format; | ||
309 | /* A0 Active information Present */ | ||
310 | u8 db1_active_info; | ||
311 | /* B0, B1 Bar info data valid */ | ||
312 | u8 db1_bar_info_dv; | ||
313 | /* S0, S1 scan information */ | ||
314 | u8 db1_scan_info; | ||
315 | /* C0, C1 colorimetry */ | ||
316 | u8 db2_colorimetry; | ||
317 | /* M0, M1 Aspect ratio (4:3, 16:9) */ | ||
318 | u8 db2_aspect_ratio; | ||
319 | /* R0...R3 Active format aspect ratio */ | ||
320 | u8 db2_active_fmt_ar; | ||
321 | /* ITC IT content. */ | ||
322 | u8 db3_itc; | ||
323 | /* EC0, EC1, EC2 Extended colorimetry */ | ||
324 | u8 db3_ec; | ||
325 | /* Q1, Q0 Quantization range */ | ||
326 | u8 db3_q_range; | ||
327 | /* SC1, SC0 Non-uniform picture scaling */ | ||
328 | u8 db3_nup_scaling; | ||
329 | /* VIC0..6 Video format identification */ | ||
330 | u8 db4_videocode; | ||
331 | /* PR0..PR3 Pixel repetition factor */ | ||
332 | u8 db5_pixel_repeat; | ||
333 | /* Line number end of top bar */ | ||
334 | u16 db6_7_line_eoftop; | ||
335 | /* Line number start of bottom bar */ | ||
336 | u16 db8_9_line_sofbottom; | ||
337 | /* Pixel number end of left bar */ | ||
338 | u16 db10_11_pixel_eofleft; | ||
339 | /* Pixel number start of right bar */ | ||
340 | u16 db12_13_pixel_sofright; | ||
341 | }; | ||
342 | |||
343 | struct hdmi_wp_data { | 254 | struct hdmi_wp_data { |
344 | void __iomem *base; | 255 | void __iomem *base; |
345 | }; | 256 | }; |
@@ -360,7 +271,6 @@ struct hdmi_phy_data { | |||
360 | struct hdmi_core_data { | 271 | struct hdmi_core_data { |
361 | void __iomem *base; | 272 | void __iomem *base; |
362 | 273 | ||
363 | struct hdmi_core_infoframe_avi avi_cfg; | ||
364 | struct hdmi_avi_infoframe avi_infoframe; | 274 | struct hdmi_avi_infoframe avi_infoframe; |
365 | }; | 275 | }; |
366 | 276 | ||