summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-08-06 00:47:02 +0200
committerTom Warren <twarren@nvidia.com>2015-08-13 13:06:02 -0700
commitb2ea19b522410cf10f72dc6f4e5ded6379e373d5 (patch)
treef0081570171c5889e39d06a62ddc86c259d15d86 /board
parenta7841e7defd48abd5d3a49c8e71ff3b6c047d495 (diff)
downloadu-boot-imx-b2ea19b522410cf10f72dc6f4e5ded6379e373d5.zip
u-boot-imx-b2ea19b522410cf10f72dc6f4e5ded6379e373d5.tar.gz
u-boot-imx-b2ea19b522410cf10f72dc6f4e5ded6379e373d5.tar.bz2
colibri_t20: add lcd display support
Add LCD display support defaulting to VESA VGA resolution. Different resolutions configurable via device tree. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board')
-rw-r--r--board/toradex/colibri_t20/colibri_t20.c18
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 7210a8a..81d344c 100644
--- a/board/toradex/colibri_t20/colibri_t20.c
+++ b/board/toradex/colibri_t20/colibri_t20.c
@@ -75,3 +75,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