diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-12 19:47:27 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:04:32 +0800 |
commit | a8e94954d8ccc44c41d77a5e356d6a99b3d45649 (patch) | |
tree | 928a7b851317e6609b7ed04e63e47c7e6c0aae44 /drivers/video/mxsfb.c | |
parent | b24cce0ad3ec9f386ca7aa231d8a2db33462f092 (diff) | |
download | u-boot-imx-a8e94954d8ccc44c41d77a5e356d6a99b3d45649.zip u-boot-imx-a8e94954d8ccc44c41d77a5e356d6a99b3d45649.tar.gz u-boot-imx-a8e94954d8ccc44c41d77a5e356d6a99b3d45649.tar.bz2 |
ENGR00315894-81 gis: Add gis module
Add gis module, current gis is support vadc input.
Add power down function to lcdif driver.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit a007b00dd8ef9f773dfdebef0b1deb0990281793)
(cherry picked from commit a31dcdafb0963381e7213c59f79a340ef27ec2e2)
(cherry picked from commit 02dfe2e4af5f51d39a51542fb0e81f93faf505bc)
Diffstat (limited to 'drivers/video/mxsfb.c')
-rw-r--r-- | drivers/video/mxsfb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index c2a3a48..fe53d2e 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -25,6 +25,9 @@ #include <linux/fb.h> #include <mxsfb.h> +#ifdef CONFIG_VIDEO_GIS +#include <gis.h> +#endif #define PS2KHZ(ps) (1000000000UL / (ps)) @@ -291,5 +294,10 @@ void *video_hw_init(void) mxs_dma_circ_start(MXS_DMA_CHANNEL_AHB_APBH_LCDIF, &desc); #endif +#ifdef CONFIG_VIDEO_GIS + /* Entry for GIS */ + mxc_enable_gis(); +#endif + return (void *)&panel; } |