From d4c753a482630644148c77c076ae64e87ae9ecf6 Mon Sep 17 00:00:00 2001 From: chzhang Date: Wed, 15 Dec 2010 14:29:21 -0800 Subject: HDMI stereo support - kernel code changes Signed-off-by: Chong Zhang Change-Id: I53eea3b14852aecd589dfbd0461258e064835cc9 Reviewed-on: http://git-master/r/11405 Reviewed-by: Daniel Willemsen --- drivers/video/tegra/dc/hdmi.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'drivers/video/tegra/dc/hdmi.h') diff --git a/drivers/video/tegra/dc/hdmi.h b/drivers/video/tegra/dc/hdmi.h index 0189f08719fe..5f0fc2e3f73e 100644 --- a/drivers/video/tegra/dc/hdmi.h +++ b/drivers/video/tegra/dc/hdmi.h @@ -180,4 +180,35 @@ struct hdmi_audio_infoframe { #define HDMI_AUDIO_CXT_HE_AAC_V2 0x2 #define HDMI_AUDIO_CXT_MPEG_SURROUND 0x3 + +/* all fields little endian */ +struct hdmi_stereo_infoframe { + /* PB0 */ + u8 csum; + + /* PB1 */ + u8 regid0; + + /* PB2 */ + u8 regid1; + + /* PB3 */ + u8 regid2; + + /* PB4 */ + unsigned res1:5; + unsigned hdmi_video_format:3; + + /* PB5 */ + unsigned res2:4; + unsigned _3d_structure:4; + + /* PB6*/ + unsigned res3:4; + unsigned _3d_ext_data:4; + +} __attribute__((packed)); + +#define HDMI_VENDOR_VERSION 0x01 + #endif -- cgit v1.2.3