diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-12-04 01:08:16 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-12-17 18:38:42 +0100 |
commit | be4ab3dd05504e771fb743d39f88186c4d8b1165 (patch) | |
tree | a11d6f7eb76f6601d88a4eb7ac9a54c765d20bfe /board/freescale/mx6sabresd | |
parent | 89cfd0f5757413093ad179478b80367d7bd34ecc (diff) | |
download | u-boot-imx-be4ab3dd05504e771fb743d39f88186c4d8b1165.zip u-boot-imx-be4ab3dd05504e771fb743d39f88186c4d8b1165.tar.gz u-boot-imx-be4ab3dd05504e771fb743d39f88186c4d8b1165.tar.bz2 |
mx6sabresd: Allow probing HSYNC, VSYNC and DISP_CLK signals
HSYNC, VSYNC and DISP_CLK are very useful display signals for debugging.
Configure them as active pins.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale/mx6sabresd')
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 3a1fb20..ecd2eab 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -135,6 +135,12 @@ static void setup_spi(void) imx_iomux_v3_setup_multiple_pads(ecspi1_pads, ARRAY_SIZE(ecspi1_pads)); } +iomux_v3_cfg_t const di0_pads[] = { + MX6_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK, /* DISP0_CLK */ + MX6_PAD_DI0_PIN2__IPU1_DI0_PIN02, /* DISP0_HSYNC */ + MX6_PAD_DI0_PIN3__IPU1_DI0_PIN03, /* DISP0_VSYNC */ +}; + static void setup_iomux_uart(void) { imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads)); @@ -386,6 +392,9 @@ static void setup_display(void) struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; int reg; + /* Setup HSYNC, VSYNC, DISP_CLK for debugging purposes */ + imx_iomux_v3_setup_multiple_pads(di0_pads, ARRAY_SIZE(di0_pads)); + enable_ipu_clock(); imx_setup_hdmi(); |