From mboxrd@z Thu Jan 1 00:00:00 1970 From: Omar Ramirez Luna Subject: [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP Date: Tue, 23 Nov 2010 19:00:02 -0600 Message-ID: <1290560402-2507-1-git-send-email-omar.ramirez@ti.com> Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:43335 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755504Ab0KXBKv (ORCPT ); Tue, 23 Nov 2010 20:10:51 -0500 Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tomi Valkeinen Cc: Tony Lindgren , Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Yanick Saugy , Omar Ramirez Luna From: Yanick Saugy The PIN which controls LCD's reset signal (VGA_nRESET/h_GPIO_96) was not configured as a GPIO. We had to modify the OMAP MUX, and select this PIN (CAM_XCLKA) as an output GPIO (OMAP_MUX_MODE4). (kernel 2.6.35) Be aware of changing this PIN will probably disable the camera, because it was previously configured as a camera clock. Signed-off-by: Yanick Saugy Acked-by: Tony Lindgren Signed-off-by: Omar Ramirez Luna --- I'm not sure if this patch was forgotten, hence resending. Without it, a blanks screen is seen on zoom2 board. Original patch: http://patchwork.kernel.org/patch/196922/ arch/arm/mach-omap2/board-zoom2.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c index 1cd6414..8fe578c 100644 --- a/arch/arm/mach-omap2/board-zoom2.c +++ b/arch/arm/mach-omap2/board-zoom2.c @@ -51,6 +51,8 @@ static struct omap_board_mux board_mux[] __initdata = { OMAP3_MUX(ETK_D4, OMAP_MUX_MODE2 | OMAP_PIN_INPUT_PULLUP), OMAP3_MUX(ETK_D5, OMAP_MUX_MODE2 | OMAP_PIN_INPUT_PULLUP), OMAP3_MUX(ETK_D6, OMAP_MUX_MODE2 | OMAP_PIN_INPUT_PULLUP), + /* LCD Panel reset (PROD) - GPIO 96 */ + OMAP3_MUX(CAM_XCLKA, OMAP_MUX_MODE4 | OMAP_PIN_OUTPUT), { .reg_offset = OMAP_MUX_TERMINATOR }, }; #else -- 1.7.1