diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2014-07-24 09:46:58 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2014-07-24 09:46:58 +0200 |
commit | 278ca22a59e3df4dd1e1494e8920a01c172118af (patch) | |
tree | 68e145ad2271a1909146ded03a42771f991d1176 | |
parent | 9d41458a8095fc58e355e3ecca6f96aa7d98d725 (diff) |
drivers/video/tegra.c: only mux used LCD pinsColibri_T30_LinuxImageV2.3Beta1_20140804Colibri_T20_LinuxImageV2.3_20150320Colibri_T20_LinuxImageV2.3Beta7_20150203Colibri_T20_LinuxImageV2.3Beta5_20141219Colibri_T20_LinuxImageV2.3Beta3_20141031Colibri_T20_LinuxImageV2.3Beta1_20140804Apalis_T30_LinuxImageV2.3Beta2_20140903Apalis_T30_LinuxImageV2.3Beta1_20140804colibri
The Colibri T20 uses only a subset of the LCD pins.
Only mux the used pins and don't touch the unused pins.
-rw-r--r-- | drivers/video/tegra.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c index 90ad31e6bf9..662b3158ef0 100644 --- a/drivers/video/tegra.c +++ b/drivers/video/tegra.c @@ -80,7 +80,12 @@ ushort lcd_cursor_height; {PINGRP_##grp, PMUX_FUNC_##mux, PMUX_PULL_##pupd, PMUX_TRI_##tri} struct pingroup_config pinmux_cros_1[] = { +/* The Colibri T20 uses only a subset of the LCD pins, + * don't touch those unused pins . + */ +#ifndef CONFIG_COLIBRI_T20 PINMUX(GPU, PWM, NORMAL, NORMAL), +#endif PINMUX(LD0, DISPA, NORMAL, NORMAL), PINMUX(LD1, DISPA, NORMAL, NORMAL), PINMUX(LD10, DISPA, NORMAL, NORMAL), @@ -99,21 +104,29 @@ struct pingroup_config pinmux_cros_1[] = { PINMUX(LD7, DISPA, NORMAL, NORMAL), PINMUX(LD8, DISPA, NORMAL, NORMAL), PINMUX(LD9, DISPA, NORMAL, NORMAL), +#ifndef CONFIG_COLIBRI_T20 PINMUX(LDI, DISPA, NORMAL, NORMAL), PINMUX(LHP0, DISPA, NORMAL, NORMAL), PINMUX(LHP1, DISPA, NORMAL, NORMAL), PINMUX(LHP2, DISPA, NORMAL, NORMAL), +#endif PINMUX(LHS, DISPA, NORMAL, NORMAL), +#ifndef CONFIG_COLIBRI_T20 PINMUX(LM0, RSVD4, NORMAL, NORMAL), PINMUX(LPP, DISPA, NORMAL, NORMAL), PINMUX(LPW0, RSVD4, NORMAL, NORMAL), PINMUX(LPW1, RSVD4, NORMAL, TRISTATE), PINMUX(LPW2, RSVD4, NORMAL, NORMAL), +#endif PINMUX(LSC0, DISPA, NORMAL, NORMAL), PINMUX(LSPI, DISPA, NORMAL, NORMAL), +#ifndef CONFIG_COLIBRI_T20 PINMUX(LVP1, DISPA, NORMAL, NORMAL), +#endif PINMUX(LVS, DISPA, NORMAL, NORMAL), +#ifndef CONFIG_COLIBRI_T20 PINMUX(SLXD, SPDIF, NORMAL, NORMAL), +#endif }; #endif |