Skip to contentSkip to conversation

AT91: Add VSYNC pin definition for AT91SAM9RL silicon

PATCH New Hong Xu 2 participants 2 messages May 25, 2011

Subsystems (3)
lore
Share & tools
lore

Hong Xu

author
#0 lore raw

PATCH 1/1 AT91: Add VSYNC pin definition for AT91SAM9RL silicon

On Atmel's AT91SAM9RL-EK board, the LCD panel does not need VSYNC signal. But this signal is useful for the boards from other vendors, as reported by Nicholas Kinar.
This small patch adds the VSYNC pin definition by default.

---

 arch/arm/mach-at91/at91sam9rl_devices.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-at91/at91sam9rl_devices.c +1 -0
index c49262b..87a49d9 100644
@@ -538,6 +538,7 @@ void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data)
 	}
 
 	at91_set_B_periph(AT91_PIN_PC1, 0);	/* LCDPWR */
+	at91_set_A_periph(AT91_PIN_PC4, 0);	/* LCDVSYNC */
 	at91_set_A_periph(AT91_PIN_PC5, 0);	/* LCDHSYNC */
 	at91_set_A_periph(AT91_PIN_PC6, 0);	/* LCDDOTCK */
 	at91_set_A_periph(AT91_PIN_PC7, 0);	/* LCDDEN */
Signature · 1 line
1.7.3.3
#1 lore raw

PATCH 1/1 AT91: Add VSYNC pin definition for AT91SAM9RL silicon

Quoted 17 lines · Hong Xu

On Atmel's AT91SAM9RL-EK board, the LCD panel does not need VSYNC signal. But this signal is useful for the boards from other vendors, as reported by Nicholas Kinar.
This small patch adds the VSYNC pin definition by default.

---

 arch/arm/mach-at91/at91sam9rl_devices.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-at91/at91sam9rl_devices.c +0 -0
index c49262b..87a49d9 100644

arch/arm/mach-at91/at91sam9rl_devices.c void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data) · line 541

Quoted 4 lines
arch/arm/mach-at91/at91sam9rl_devices.c +1 -0
@@ -538,6 +538,7 @@ void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data)
 	}
 
 	at91_set_B_periph(AT91_PIN_PC1, 0);	/* LCDPWR */
+	at91_set_A_periph(AT91_PIN_PC4, 0);	/* LCDVSYNC */

same as for 9263

this must be optionnal

Best Regards,
J.