2 * Copyright 2009-2011 Freescale Semiconductor, Inc. All Rights Reserved.
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
15 * @defgroup Framebuffer Framebuffer Driver for SDC and ADC.
21 * @brief MXC EDID tools
23 * @ingroup Framebuffer
29 #define FB_MODE_ASPECT_4_3 0x10
30 #define FB_MODE_ASPECT_16_9 0x20
47 int mxc_edid_var_to_vic(struct fb_var_screeninfo *var);
48 int mxc_edid_mode_to_vic(const struct fb_videomode *mode);
49 int mxc_edid_read(struct i2c_adapter *adp, unsigned short addr,
50 unsigned char *edid, struct mxc_edid_cfg *cfg, struct fb_info *fbi);