* LCD on Zoom2 dev board with DSS
@ 2010-09-13 12:43 Yanick Saugy
2010-09-13 12:52 ` Felipe Balbi
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Yanick Saugy @ 2010-09-13 12:43 UTC (permalink / raw)
To: linux-omap
Hi all,
I'm working on a zoom2 dev board (omap34x-II MDP). There is my actual config :
I've built kernel 2.6.35 from git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
and then applied the following patchs :
[PATCH 1/2 V7] OMAP: ZOOM2/3&SDP3630: Add display board file for zoom boards <http://marc.info/?l=linux-omap&m=127445506720934&w=2>
[PATCH 2/2 V7] OMAP: ZOOM2/3&SDP3630: Add display board file for zoom boards <http://marc.info/?l=linux-omap&m=127445522921326&w=2>
[PATCH V6] OMAP: DSS: Add NEC NL8048HL11-01B display panel <http://marc.info/?l=linux-omap&m=127445535621669&w=2>
Finally I've enabled DSS and lcd NEC_NL8048HL11 in kernel config file.
At this time the kernel boots well, and my LCD backlight turns on but I can't see TUX while booting, and I can't draw anything after logging in.
I've checked, the framebuffer device is present and configured with size of 800x480.
I've played with sys filesystem like on this wiki, but nothing happened:
<http://www.omappedia.org/wiki/Bootargs_for_enabling_display>
To enable DSS at boot time, I passed following boot options:
vram=10M omapdss.def_disp=lcd
Perhaps I've missed something?
Thank you in advance.
---
Yanick
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: LCD on Zoom2 dev board with DSS
2010-09-13 12:43 LCD on Zoom2 dev board with DSS Yanick Saugy
@ 2010-09-13 12:52 ` Felipe Balbi
2010-09-16 12:56 ` Yanick Saugy
2010-09-21 12:21 ` [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP Yanick Saugy
2 siblings, 0 replies; 10+ messages in thread
From: Felipe Balbi @ 2010-09-13 12:52 UTC (permalink / raw)
To: Yanick Saugy; +Cc: linux-omap@vger.kernel.org
Hi,
On Mon, Sep 13, 2010 at 07:43:27AM -0500, Yanick Saugy wrote:
>Finally I've enabled DSS and lcd NEC_NL8048HL11 in kernel config file.
>
>At this time the kernel boots well, and my LCD backlight turns on but I
>can't see TUX while booting, and I can't draw anything after logging
to see tux you need to enable CONFIG_LOGO_LINUX_CLUT224 at least. Then
you also might want to enable the framebuffer console, just to get some
output on the screen.
--
balbi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: LCD on Zoom2 dev board with DSS
2010-09-13 12:43 LCD on Zoom2 dev board with DSS Yanick Saugy
2010-09-13 12:52 ` Felipe Balbi
@ 2010-09-16 12:56 ` Yanick Saugy
2010-09-16 20:42 ` Tony Lindgren
2010-09-21 12:21 ` [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP Yanick Saugy
2 siblings, 1 reply; 10+ messages in thread
From: Yanick Saugy @ 2010-09-16 12:56 UTC (permalink / raw)
To: linux-omap@vger.kernel.org
Hi,
I solved my problem. It appeared the PIN which controls LCD's reset
signal (VGA_nRESET/h_GPIO_96) was not configured as a GPIO, and the
driver tries to use it as GPIO, so the logical value was 0. We had to
modify the OMAP MUX, and select this PIN (CAM_XCLKA) as an output GPIO
(OMAP_MUX_MODE4).
Be aware of changing this PIN will probably disable the camera, because
it was previously configured as a clock.
There is the patch for the LCD (diff -Naur):
--- a/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 15:27:05.148399721
+0200
+++ b/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 14:46:09.792900019
+0200
@@ -71,6 +71,7 @@
#ifdef CONFIG_OMAP_MUX
static struct omap_board_mux board_mux[] __initdata = {
+ OMAP3_MUX(CAM_XCLKA, OMAP_MUX_MODE4 | OMAP_PIN_OUTPUT),
{ .reg_offset = OMAP_MUX_TERMINATOR },
};
#else
Le lundi 13 septembre 2010 à 14:43 +0200, Yanick Saugy a écrit :
> Hi all,
>
> I'm working on a zoom2 dev board (omap34x-II MDP). There is my actual config :
>
> I've built kernel 2.6.35 from git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
> and then applied the following patchs :
> [PATCH 1/2 V7] OMAP: ZOOM2/3&SDP3630: Add display board file for zoom boards <http://marc.info/?l=linux-omap&m=127445506720934&w=2>
> [PATCH 2/2 V7] OMAP: ZOOM2/3&SDP3630: Add display board file for zoom boards <http://marc.info/?l=linux-omap&m=127445522921326&w=2>
> [PATCH V6] OMAP: DSS: Add NEC NL8048HL11-01B display panel <http://marc.info/?l=linux-omap&m=127445535621669&w=2>
>
> Finally I've enabled DSS and lcd NEC_NL8048HL11 in kernel config file.
>
> At this time the kernel boots well, and my LCD backlight turns on but I can't see TUX while booting, and I can't draw anything after logging in.
> I've checked, the framebuffer device is present and configured with size of 800x480.
>
> I've played with sys filesystem like on this wiki, but nothing happened:
> <http://www.omappedia.org/wiki/Bootargs_for_enabling_display>
>
> To enable DSS at boot time, I passed following boot options:
> vram=10M omapdss.def_disp=lcd
>
>
> Perhaps I've missed something?
>
> Thank you in advance.
>
> ---
> Yanick
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: LCD on Zoom2 dev board with DSS
2010-09-16 12:56 ` Yanick Saugy
@ 2010-09-16 20:42 ` Tony Lindgren
0 siblings, 0 replies; 10+ messages in thread
From: Tony Lindgren @ 2010-09-16 20:42 UTC (permalink / raw)
To: Yanick Saugy; +Cc: linux-omap@vger.kernel.org
* Yanick Saugy <yanick.saugy@heig-vd.ch> [100916 05:48]:
> Hi,
>
> I solved my problem. It appeared the PIN which controls LCD's reset
> signal (VGA_nRESET/h_GPIO_96) was not configured as a GPIO, and the
> driver tries to use it as GPIO, so the logical value was 0. We had to
> modify the OMAP MUX, and select this PIN (CAM_XCLKA) as an output GPIO
> (OMAP_MUX_MODE4).
>
> Be aware of changing this PIN will probably disable the camera, because
> it was previously configured as a clock.
>
> There is the patch for the LCD (diff -Naur):
>
> --- a/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 15:27:05.148399721
> +0200
> +++ b/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 14:46:09.792900019
> +0200
> @@ -71,6 +71,7 @@
>
> #ifdef CONFIG_OMAP_MUX
> static struct omap_board_mux board_mux[] __initdata = {
> + OMAP3_MUX(CAM_XCLKA, OMAP_MUX_MODE4 | OMAP_PIN_OUTPUT),
> { .reg_offset = OMAP_MUX_TERMINATOR },
> };
> #else
Please repost with proper Signed-off-by. You might want to also
Cc Tomi Valkeinen.
Regards,
Tony
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP
2010-09-13 12:43 LCD on Zoom2 dev board with DSS Yanick Saugy
2010-09-13 12:52 ` Felipe Balbi
2010-09-16 12:56 ` Yanick Saugy
@ 2010-09-21 12:21 ` Yanick Saugy
2010-09-28 21:31 ` Tony Lindgren
2010-09-29 7:35 ` Tomi Valkeinen
2 siblings, 2 replies; 10+ messages in thread
From: Yanick Saugy @ 2010-09-21 12:21 UTC (permalink / raw)
To: linux-omap@vger.kernel.org; +Cc: tomi.valkeinen@nokia.com, Rajkumar N
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>
--- a/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 15:27:05.148399721 +0200
+++ b/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 14:46:09.792900019 +0200
@@ -71,6 +71,7 @@ static struct twl4030_platform_data zoom
#ifdef CONFIG_OMAP_MUX
static struct omap_board_mux board_mux[] __initdata = {
+ OMAP3_MUX(CAM_XCLKA, OMAP_MUX_MODE4 | OMAP_PIN_OUTPUT),
{ .reg_offset = OMAP_MUX_TERMINATOR },
};
#else
@@ -82,6 +83,7 @@ static void __init omap_zoom2_init(void)
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
zoom_peripherals_init();
zoom_debugboard_init();
+ zoom_display_init(OMAP_DSS_VENC_TYPE_COMPOSITE);
}
static void __init omap_zoom2_map_io(void)
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP
2010-09-21 12:21 ` [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP Yanick Saugy
@ 2010-09-28 21:31 ` Tony Lindgren
2010-09-29 7:35 ` Tomi Valkeinen
1 sibling, 0 replies; 10+ messages in thread
From: Tony Lindgren @ 2010-09-28 21:31 UTC (permalink / raw)
To: Yanick Saugy
Cc: linux-omap@vger.kernel.org, tomi.valkeinen@nokia.com, Rajkumar N
* Yanick Saugy <yanick.saugy@heig-vd.ch> [100921 05:13]:
> 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>
I'm assuming Tomi is queuing this.
Acked-by: Tony Lindgren <tony@atomide.com>
>
> --- a/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 15:27:05.148399721 +0200
> +++ b/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 14:46:09.792900019 +0200
> @@ -71,6 +71,7 @@ static struct twl4030_platform_data zoom
>
> #ifdef CONFIG_OMAP_MUX
> static struct omap_board_mux board_mux[] __initdata = {
> + OMAP3_MUX(CAM_XCLKA, OMAP_MUX_MODE4 | OMAP_PIN_OUTPUT),
> { .reg_offset = OMAP_MUX_TERMINATOR },
> };
> #else
> @@ -82,6 +83,7 @@ static void __init omap_zoom2_init(void)
> omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
> zoom_peripherals_init();
> zoom_debugboard_init();
> + zoom_display_init(OMAP_DSS_VENC_TYPE_COMPOSITE);
> }
>
> static void __init omap_zoom2_map_io(void)
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP
2010-09-21 12:21 ` [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP Yanick Saugy
2010-09-28 21:31 ` Tony Lindgren
@ 2010-09-29 7:35 ` Tomi Valkeinen
1 sibling, 0 replies; 10+ messages in thread
From: Tomi Valkeinen @ 2010-09-29 7:35 UTC (permalink / raw)
To: ext Yanick Saugy; +Cc: linux-omap@vger.kernel.org, Rajkumar N
Hi,
On Tue, 2010-09-21 at 14:21 +0200, ext Yanick Saugy wrote:
> 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>
>
> --- a/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 15:27:05.148399721 +0200
> +++ b/arch/arm/mach-omap2/board-zoom2.c 2010-09-15 14:46:09.792900019 +0200
> @@ -71,6 +71,7 @@ static struct twl4030_platform_data zoom
>
> #ifdef CONFIG_OMAP_MUX
> static struct omap_board_mux board_mux[] __initdata = {
> + OMAP3_MUX(CAM_XCLKA, OMAP_MUX_MODE4 | OMAP_PIN_OUTPUT),
> { .reg_offset = OMAP_MUX_TERMINATOR },
> };
> #else
> @@ -82,6 +83,7 @@ static void __init omap_zoom2_init(void)
> omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
> zoom_peripherals_init();
> zoom_debugboard_init();
> + zoom_display_init(OMAP_DSS_VENC_TYPE_COMPOSITE);
> }
>
> static void __init omap_zoom2_map_io(void)
How did you create this patch? It doesn't look like standard one, and
git am chokes on it. Also, it doesn't apply to the latest linux tree, so
you need to rebase.
Tomi
^ permalink raw reply [flat|nested] 10+ messages in thread
* [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; 10+ messages in thread
From: Omar Ramirez Luna @ 2010-11-24 1:00 UTC (permalink / raw)
To: Tomi Valkeinen
Cc: Tony Lindgren, Russell King, linux-omap, linux-arm-kernel,
Yanick Saugy, Omar Ramirez Luna
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] 10+ messages in thread* Re: [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
2010-11-30 23:33 ` Ramirez Luna, Omar
0 siblings, 1 reply; 10+ messages in thread
From: Tomi Valkeinen @ 2010-11-24 8:47 UTC (permalink / raw)
To: ext Omar Ramirez Luna
Cc: Tony Lindgren, Russell King, linux-omap, linux-arm-kernel,
Yanick Saugy
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] 10+ messages in thread
* Re: [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; 10+ messages in thread
From: Ramirez Luna, Omar @ 2010-11-30 23:33 UTC (permalink / raw)
To: Tomi Valkeinen
Cc: Tony Lindgren, Russell King, linux-omap, linux-arm-kernel,
Yanick Saugy
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] 10+ messages in thread
end of thread, other threads:[~2010-11-30 23:33 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-13 12:43 LCD on Zoom2 dev board with DSS Yanick Saugy
2010-09-13 12:52 ` Felipe Balbi
2010-09-16 12:56 ` Yanick Saugy
2010-09-16 20:42 ` Tony Lindgren
2010-09-21 12:21 ` [PATCH] OMAP: ZOOM2: Change GPIO to enable LCD NEC NL8048HL11-01B on OMAP34x-II MDP Yanick Saugy
2010-09-28 21:31 ` Tony Lindgren
2010-09-29 7:35 ` Tomi Valkeinen
-- strict thread matches above, loose matches on Subject: below --
2010-11-24 1:00 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).