diff options
author | Priyanka Jain <Priyanka.Jain@freescale.com> | 2014-02-26 16:11:53 +0530 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-03-07 14:53:40 -0800 |
commit | 337b0c52b3296f371d04aef71a833e09110e0e6b (patch) | |
tree | a4c0f725f8ea2b19666bf42a8ab589b89e4a03ba /board/freescale/t1040qds/t1040qds_qixis.h | |
parent | bf4699db852f88b0a30b9d7e8b1bea83d01c0d92 (diff) | |
download | u-boot-imx-337b0c52b3296f371d04aef71a833e09110e0e6b.zip u-boot-imx-337b0c52b3296f371d04aef71a833e09110e0e6b.tar.gz u-boot-imx-337b0c52b3296f371d04aef71a833e09110e0e6b.tar.bz2 |
powerpc/t1040qds: Add Video - HDMI support
T1040 has internal display interface unit (DIU) for driving video.
T1040QDS supports video mode via
-LCD using TI enconder
-HDMI type interface via HDMI encoder
Chrontel, CH7301C encoder which is I2C programmable is used as
HDMI connector on T1040QDS.
This patch add support to
-enable Video interface for T1040QDS
-route qixis multiplexing to enable DIU-HDMI interface on board
-program DIU pixel clock gerenartor for T1040
-program HDMI encoder via I2C on board
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/t1040qds/t1040qds_qixis.h')
-rw-r--r-- | board/freescale/t1040qds/t1040qds_qixis.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/board/freescale/t1040qds/t1040qds_qixis.h b/board/freescale/t1040qds/t1040qds_qixis.h index 2ce8795..98d2d39 100644 --- a/board/freescale/t1040qds/t1040qds_qixis.h +++ b/board/freescale/t1040qds/t1040qds_qixis.h @@ -13,6 +13,18 @@ #define BRDCFG4_EMISEL_MASK 0xE0 #define BRDCFG4_EMISEL_SHIFT 5 +/* BRDCFG5[0:1] controls routing and use of I2C3 & I2C4 ports*/ +#define BRDCFG5_IMX_MASK 0xC0 +#define BRDCFG5_IMX_DIU 0x80 + +/* BRDCFG15[3] controls LCD Panel Powerdown*/ +#define BRDCFG15_LCDPD_MASK 0x10 +#define BRDCFG15_LCDPD_ENABLED 0x00 + +/* BRDCFG15[6:7] controls DIU MUX selction*/ +#define BRDCFG15_DIUSEL_MASK 0x03 +#define BRDCFG15_DIUSEL_HDMI 0x00 + /* SYSCLK */ #define QIXIS_SYSCLK_66 0x0 #define QIXIS_SYSCLK_83 0x1 |