From d7f49b9378547c3a57b96bcdb907fc44616beb3d Mon Sep 17 00:00:00 2001 From: "Ye.Li" Date: Thu, 12 Jun 2014 17:10:32 +0800 Subject: ENGR00315894-70 iMX6SX:Video Update MXS LCDIF driver Add a new interface "mxs_lcd_panel_setup" to setup fb parameters and specifies the LCDIF controller for multiple controllers of iMX6SX. Pass fb parameters via "videomode" env remains work if the new interface is not called before video initialization. Modify LCDIF clock interface "mxs_set_lcdclk" to support multiple LCDIF controllers on iMX6SX. Signed-off-by: Ye.Li (cherry picked from commit 054fed6bab5b05a054c7e3cb5362635a40e6ee18) Signed-off-by: Peng Fan --- include/mxsfb.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/mxsfb.h (limited to 'include/mxsfb.h') diff --git a/include/mxsfb.h b/include/mxsfb.h new file mode 100644 index 0000000..a4e27a8 --- /dev/null +++ b/include/mxsfb.h @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2014 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __MXSFB_H__ +#define __MXSFB_H__ + +#ifdef CONFIG_VIDEO_MXS +int mxs_lcd_panel_setup(struct fb_videomode mode, int bpp, + uint32_t base_addr); +#endif + +#endif /* __MXSFB_H__ */ -- cgit v1.1