diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-01-30 16:31:35 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-01-30 16:31:35 +0100 |
commit | e40f10a4d146c8eab11d89fd01d2e098b2e30031 (patch) | |
tree | 7ead9d056c13fda77a806d043d27b7f81c230dc5 /drivers | |
parent | 0246918bf15df63925813b62b611d148686fa372 (diff) |
colibri_t20: hack backlight gpioColibri_T30_LinuxImageV2.1Beta2_20140206Colibri_T20_LinuxImageV2.1Beta2_20140207Apalis_T30_LinuxImageV2.1Beta2_20140206
Hack backlight GPIO by manually untristating respective pinmux group.
While at it add some comment to both the device-tree as well as the
gpio command that manual untristating will be required on GPIO pins.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/tegra_gpio.c | 3 | ||||
-rw-r--r-- | drivers/video/tegra.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/tegra_gpio.c b/drivers/gpio/tegra_gpio.c index 0268c61020c..c706affaa32 100644 --- a/drivers/gpio/tegra_gpio.c +++ b/drivers/gpio/tegra_gpio.c @@ -298,4 +298,7 @@ U_BOOT_CMD( " - using 'offset', set port:bit as output and drive low or high\n" " input offset\n" " - using 'offset', set port:bit as input and read value" +#ifdef CONFIG_TEGRA2 + "\nNote: GPIO pins require manual untristating respective pin group!\n" +#endif ); diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c index 9eea1ca62f2..90ad31e6bf9 100644 --- a/drivers/video/tegra.c +++ b/drivers/video/tegra.c @@ -264,6 +264,10 @@ static int handle_stage(const void *blob) #if defined(CONFIG_TEGRA2) /* TODO: put pinmux into the FDT */ pinmux_config_table(pinmux_cros_1, ARRAY_SIZE(pinmux_cros_1)); + + /* Hack: manually untristate BL_ON (PT4 - SODIMM 71) + as specified through device-tree */ + pinmux_tristate_disable(PINGRP_DTA); #endif fdt_setup_gpio(&config.panel_vdd); |