summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/include/mach/mxc_edid.h
diff options
context:
space:
mode:
authorDanny Nold <dannynold@freescale.com>2011-09-02 16:45:14 -0500
committerJason Liu <r64343@freescale.com>2012-07-20 13:15:56 +0800
commit609a06efed0637962c3c455b569f8034b44c7eda (patch)
treeae8e1a9f8e40ad0a8deb76b671ff73b080f62723 /arch/arm/plat-mxc/include/mach/mxc_edid.h
parent501a1ff0548c5c300b126bc2a6043fe44ec49228 (diff)
ENGR00154436-1 - MACH-MX6: MXC HDMI updates to support full feature set
- Corrected logic bug in how GPR registers are set - Add support for configurable ipu-to-hdmi mappings - Add aspect ratio to EDID mode data - Expanded HDMI register field defines - Removed HDMI platform data now handled by HDMI core in MFD Signed-off-by: Danny Nold <dannynold@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mxc_edid.h')
-rwxr-xr-xarch/arm/plat-mxc/include/mach/mxc_edid.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc_edid.h b/arch/arm/plat-mxc/include/mach/mxc_edid.h
index ec65a5fa9bd5..7f76bebb95fd 100755
--- a/arch/arm/plat-mxc/include/mach/mxc_edid.h
+++ b/arch/arm/plat-mxc/include/mach/mxc_edid.h
@@ -26,6 +26,9 @@
#ifndef MXC_EDID_H
#define MXC_EDID_H
+#define FB_MODE_ASPECT_4_3 0x10
+#define FB_MODE_ASPECT_16_9 0x20
+
struct mxc_edid_cfg {
bool cea_underscan;
bool cea_basicaudio;
@@ -42,6 +45,7 @@ struct mxc_edid_cfg {
};
int mxc_edid_var_to_vic(struct fb_var_screeninfo *var);
+int mxc_edid_mode_to_vic(const struct fb_videomode *mode);
int mxc_edid_read(struct i2c_adapter *adp, unsigned short addr,
unsigned char *edid, struct mxc_edid_cfg *cfg, struct fb_info *fbi);