diff options
author | Luke Huang <lhuang@nvidia.com> | 2011-08-10 19:27:47 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:18 -0800 |
commit | 37be64ec26d4d3459fccbef989d7aa2f3a2060d9 (patch) | |
tree | 6c695027e3a02777c207ade658725fcf9cef7b1c /arch/arm/mach-tegra | |
parent | 12a1db271f54b696fcb0d4509aae056686d80c55 (diff) |
arm: tegra: enterprise: avoid contention on lcd_de
Set the LCD_DE to be GPIO input pin if one shot mode is not enable to
avoid contention.
Bug 863546
Original-Change-Id: If6d3bd52ffb81012bdcc7ea493a8edce5216ce59
Reviewed-on: http://git-master/r/47018
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R571c57cd21c8e73c4b80b987ea28952bf843eeec
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-panel.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-panel.c b/arch/arm/mach-tegra/board-enterprise-panel.c index b0b749a3404a..b92199b993f5 100644 --- a/arch/arm/mach-tegra/board-enterprise-panel.c +++ b/arch/arm/mach-tegra/board-enterprise-panel.c @@ -58,6 +58,8 @@ #define ENTERPRISE_STEREO_LANDSCAPE 0 #define ENTERPRISE_STEREO_PORTRAIT 1 +#define enterprise_lcd_te TEGRA_GPIO_PJ1 + static struct regulator *enterprise_dsi_reg = NULL; static struct regulator *enterprise_hdmi_reg; @@ -703,6 +705,12 @@ int __init enterprise_panel_init(void) gpio_direction_output(enterprise_lcd_swp_pl, 0); enterprise_stereo_set_orientation(enterprise_stereo.orientation); +#if(DC_CTRL_MODE != TEGRA_DC_OUT_ONE_SHOT_MODE) + tegra_gpio_enable(enterprise_lcd_te); + gpio_request(enterprise_lcd_swp_pl, "lcd_te"); + gpio_direction_input(enterprise_lcd_te); +#endif + err = platform_add_devices(enterprise_gfx_devices, ARRAY_SIZE(enterprise_gfx_devices)); |