diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-04-27 16:11:32 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-04-27 16:11:32 +0200 |
commit | b8fd3a6dc54188208249b4e5c7d6c05fcafd5900 (patch) | |
tree | e09d0338c5817c374cc422628e20a748ed8cff36 /board | |
parent | 7dcf1584f72dc1533db33f233ee9548735eb69e6 (diff) |
colibri_t20: add LCD display support
Add LCD display support defaulting to VESA VGA resolution. Different
resolutions configurable via device-tree.
Diffstat (limited to 'board')
-rw-r--r-- | board/toradex/colibri_t20/colibri_t20.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 8ae9ccf5384..cf57650cbd4 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 |