ARM: tegra: cardhu: Removing panel reset from kernel
ankishore [Tue, 29 Mar 2011 09:51:10 +0000 (14:51 +0530)]
Since we are already resetting the panel in bootloader code, resetting in
kernel is not required

Original-Change-Id: Ie8106fdce34001ad3e6a21925d44d29c06177673
Reviewed-on: http://git-master/r/24663
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I1cdc04b3330a4cb92d7c5af22f6052b9c0e7cfc1

Rebase-Id: R74f52eb7ae21e781b93a2fe681d8e1459766a74e

arch/arm/mach-tegra/board-cardhu-panel.c

index 1062ba9..3a99f4a 100644 (file)
 #define DSI_PANEL_219 0
 #define DSI_PANEL_218 1
 #define AVDD_LCD PMU_TCA6416_GPIO_PORT17
-#define DSI_PANEL_RESET 1
+#define DSI_PANEL_RESET 0
 
 #define cardhu_lvds_shutdown   TEGRA_GPIO_PL2
 #define cardhu_bl_enb          TEGRA_GPIO_PH2
 #define cardhu_bl_pwm          TEGRA_GPIO_PH0
 #define cardhu_hdmi_hpd                TEGRA_GPIO_PN7
 
-#ifdef DSI_PANEL_219
+#if defined(DSI_PANEL_219) || defined(DSI_PANEL_218)
 #define cardhu_dsia_bl_enb     TEGRA_GPIO_PW1
 #define cardhu_dsib_bl_enb     TEGRA_GPIO_PW0
 #define cardhu_dsi_panel_reset TEGRA_GPIO_PD2