* [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP
@ 2010-11-24 1:00 Omar Ramirez Luna
2010-11-24 8:47 ` Tomi Valkeinen
0 siblings, 1 reply; 3+ messages in thread
From: Omar Ramirez Luna @ 2010-11-24 1:00 UTC (permalink / raw)
To: linux-arm-kernel
From: Yanick Saugy <yanick.saugy@heig-vd.ch>
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 <yanick.saugy@heig-vd.ch>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP
2010-11-24 1:00 [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP Omar Ramirez Luna
@ 2010-11-24 8:47 ` Tomi Valkeinen
2010-11-30 23:33 ` Ramirez Luna, Omar
0 siblings, 1 reply; 3+ messages in thread
From: Tomi Valkeinen @ 2010-11-24 8:47 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On Tue, 2010-11-23 at 19:00 -0600, ext Omar Ramirez Luna wrote:
> From: Yanick Saugy <yanick.saugy@heig-vd.ch>
>
> 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 <yanick.saugy@heig-vd.ch>
> Acked-by: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
> ---
>
> I'm not sure if this patch was forgotten, hence resending. Without
> it, a blanks screen is seen on zoom2 board.
Yes, I seem to have missed this.
But I'm a bit confused. You say that this will disable camera. Is there
a camera connected to the board, and it won't work after this?
Tomi
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP
2010-11-24 8:47 ` Tomi Valkeinen
@ 2010-11-30 23:33 ` Ramirez Luna, Omar
0 siblings, 0 replies; 3+ messages in thread
From: Ramirez Luna, Omar @ 2010-11-30 23:33 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Nov 24, 2010 at 2:47 AM, Tomi Valkeinen
<tomi.valkeinen@nokia.com> wrote:
> Hi,
>
> On Tue, 2010-11-23 at 19:00 -0600, ext Omar Ramirez Luna wrote:
>> From: Yanick Saugy <yanick.saugy@heig-vd.ch>
>>
>> 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 <yanick.saugy@heig-vd.ch>
>> Acked-by: Tony Lindgren <tony@atomide.com>
>> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
>> ---
>>
>> I'm not sure if this patch was forgotten, hence resending. Without
>> it, a blanks screen is seen on zoom2 board.
>
> Yes, I seem to have missed this.
>
> But I'm a bit confused. You say that this will disable camera. Is there
> a camera connected to the board, and it won't work after this?
I'm not quite familiar with the camera, but will try to check it
(might take some time).
Yes, there is a camera module connected to zoom2 board, but I don't
know for sure if both share this pin (which at least from author's
comment and existing code appears to be the case).
Regards,
Omar
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-30 23:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24 1:00 [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP Omar Ramirez Luna
2010-11-24 8:47 ` Tomi Valkeinen
2010-11-30 23:33 ` Ramirez Luna, Omar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).