From b8fd3a6dc54188208249b4e5c7d6c05fcafd5900 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 27 Apr 2015 16:11:32 +0200 Subject: colibri_t20: add LCD display support Add LCD display support defaulting to VESA VGA resolution. Different resolutions configurable via device-tree. --- board/toradex/colibri_t20/colibri_t20.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'board') diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 8ae9ccf538..cf57650cbd 100644 --- a/board/toradex/colibri_t20/colibri_t20.c +++ b/board/toradex/colibri_t20/colibri_t20.c @@ -63,3 +63,21 @@ void pin_mux_usb(void) pinmux_tristate_disable(PMUX_PINGRP_SPIG); } #endif + +#ifdef CONFIG_VIDEO_TEGRA +/* + * Routine: pin_mux_display + * Description: setup the pin muxes/tristate values for the LCD interface) + */ +void pin_mux_display(void) +{ + /* + * Manually untristate BL_ON (PT4 - SODIMM 71) as specified through + * device-tree + */ + pinmux_tristate_disable(PMUX_PINGRP_DTA); + + pinmux_set_func(PMUX_PINGRP_SDC, PMUX_FUNC_PWM); + pinmux_tristate_disable(PMUX_PINGRP_SDC); +} +#endif -- cgit v1.2.3