* LCDVSYNC not set up in Atmel AT91SAM9RL device code
@ 2011-05-23 20:53 Nicholas Kinar
2011-05-25 6:18 ` Xu, Hong
0 siblings, 1 reply; 3+ messages in thread
From: Nicholas Kinar @ 2011-05-23 20:53 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
I've been setting up an LCD display interfaced to the Atmel AT91SAM9RL
processor, and I noticed that in the
/arch/arm/mach-at91/at91sam9rl_devices.c file, the GPIO pin AT91_PIN_PC4
is not switched over to the LCD peripheral.
To make the LCD display peripheral operate properly, I had to add the
following line to the at91_add_device_lcdc() function:
at91_set_A_periph(AT91_PIN_PC4, 0); /* LCDVSYNC */
Perhaps this could be patched? I do not know if a similar issue also
occurs in other device setup files.
Nicholas
^ permalink raw reply [flat|nested] 3+ messages in thread
* LCDVSYNC not set up in Atmel AT91SAM9RL device code
2011-05-23 20:53 LCDVSYNC not set up in Atmel AT91SAM9RL device code Nicholas Kinar
@ 2011-05-25 6:18 ` Xu, Hong
2011-05-25 17:03 ` Nicholas Kinar
0 siblings, 1 reply; 3+ messages in thread
From: Xu, Hong @ 2011-05-25 6:18 UTC (permalink / raw)
To: linux-arm-kernel
Hi Nicholas,
> -----Original Message-----
> From: linux-arm-kernel-bounces at lists.infradead.org
> [mailto:linux-arm-kernel-bounces at lists.infradead.org] On Behalf Of
> Nicholas Kinar
> Sent: Tuesday, May 24, 2011 4:53 AM
> To: linux-arm-kernel at lists.infradead.org
> Subject: LCDVSYNC not set up in Atmel AT91SAM9RL device code
>
> Hello,
>
> I've been setting up an LCD display interfaced to the Atmel AT91SAM9RL
> processor, and I noticed that in the
> /arch/arm/mach-at91/at91sam9rl_devices.c file, the GPIO pin AT91_PIN_PC4
> is not switched over to the LCD peripheral.
>
> To make the LCD display peripheral operate properly, I had to add the
> following line to the at91_add_device_lcdc() function:
>
> at91_set_A_periph(AT91_PIN_PC4, 0); /* LCDVSYNC */
You're right. Although the LCD panel on Atmel's AT91SAM9RL-EK does not need the VSYNC, you board needs. I just sent out a small patch about this and put you in the "Reported-by" line. Thanks.
> Perhaps this could be patched? I do not know if a similar issue also
> occurs in other device setup files.
AT91SAM9263-EK has the same issue as you specified, another patch will be sent out, thanks.
BR,
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* LCDVSYNC not set up in Atmel AT91SAM9RL device code
2011-05-25 6:18 ` Xu, Hong
@ 2011-05-25 17:03 ` Nicholas Kinar
0 siblings, 0 replies; 3+ messages in thread
From: Nicholas Kinar @ 2011-05-25 17:03 UTC (permalink / raw)
To: linux-arm-kernel
On 25/05/2011 12:18 AM, Xu, Hong wrote:
> Hi Nicholas,
>> -----Original Message-----
>> From: linux-arm-kernel-bounces at lists.infradead.org
>> [mailto:linux-arm-kernel-bounces at lists.infradead.org] On Behalf Of
>> Nicholas Kinar
>> Sent: Tuesday, May 24, 2011 4:53 AM
>> To: linux-arm-kernel at lists.infradead.org
>> Subject: LCDVSYNC not set up in Atmel AT91SAM9RL device code
>>
>> Hello,
>>
>> I've been setting up an LCD display interfaced to the Atmel AT91SAM9RL
>> processor, and I noticed that in the
>> /arch/arm/mach-at91/at91sam9rl_devices.c file, the GPIO pin AT91_PIN_PC4
>> is not switched over to the LCD peripheral.
>>
>> To make the LCD display peripheral operate properly, I had to add the
>> following line to the at91_add_device_lcdc() function:
>>
>> at91_set_A_periph(AT91_PIN_PC4, 0); /* LCDVSYNC */
> You're right. Although the LCD panel on Atmel's AT91SAM9RL-EK does not need the VSYNC, you board needs. I just sent out a small patch about this and put you in the "Reported-by" line. Thanks.
>
>> Perhaps this could be patched? I do not know if a similar issue also
>> occurs in other device setup files.
> AT91SAM9263-EK has the same issue as you specified, another patch will be sent out, thanks.
>
> BR,
> Eric
>
Thank you; this is very useful.
Nicholas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-25 17:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-23 20:53 LCDVSYNC not set up in Atmel AT91SAM9RL device code Nicholas Kinar
2011-05-25 6:18 ` Xu, Hong
2011-05-25 17:03 ` Nicholas Kinar
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).