diff options
author | Sandor Yu <R01008@freescale.com> | 2012-09-28 13:12:52 +0800 |
---|---|---|
committer | Sandor Yu <R01008@freescale.com> | 2012-09-29 14:49:59 +0800 |
commit | 1f4417a88704f829d76bff994bdee477a5077882 (patch) | |
tree | 92ecc4dc46376ca2990ac6910d92afa32c85fa61 /include | |
parent | b8b8b618ccab19278228eda46fd5651b933f6ff7 (diff) |
ENGR00225960-02 FB: Support sii902x HDMI driver in ELCDIF FB
- Added mxcfb_elcdif_register_mode function.
- Create video mode list, and check default video mode
with video mode list before setting.
- Adjust elcdif pixel clock setting, reconfig elcdif pixel
parent clock video pll, get more accurate pixel clock
according video mode.
- Added video mode dump function for debug
Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mxcfb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mxcfb.h b/include/linux/mxcfb.h index e852a8af7369..be391e0b7e05 100644 --- a/include/linux/mxcfb.h +++ b/include/linux/mxcfb.h @@ -162,6 +162,11 @@ extern struct fb_videomode mxcfb_modedb[]; extern int mxcfb_modedb_sz; enum { + MXC_DISP_SPEC_DEV = 0, + MXC_DISP_DDC_DEV = 1, +}; + +enum { MXCFB_REFRESH_OFF, MXCFB_REFRESH_AUTO, MXCFB_REFRESH_PARTIAL, @@ -170,5 +175,8 @@ enum { int mxcfb_set_refresh_mode(struct fb_info *fbi, int mode, struct mxcfb_rect *update_region); int mxc_elcdif_frame_addr_setup(dma_addr_t phys); +void mxcfb_elcdif_register_mode(const struct fb_videomode *modedb, + int num_modes, int dev_mode); + #endif /* __KERNEL__ */ #endif |