From mboxrd@z Thu Jan 1 00:00:00 1970 From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD) Date: Wed, 25 May 2011 09:39:33 +0200 Subject: [PATCH] AT91: Add VSYNC pin definition for AT91SAM9263 silicon In-Reply-To: <1306305101-27285-1-git-send-email-hong.xu@atmel.com> References: <1306305101-27285-1-git-send-email-hong.xu@atmel.com> Message-ID: <20110525073933.GH863@game.jcrosoft.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 14:31 Wed 25 May , Hong Xu wrote: > On Atmel's AT91SAM9263-EK board, the LCD panel does not need VSYNC > signal. But this signal is useful for the boards from other > vendors, as suggested by Nicholas Kinar. > > This small patch adds the VSYNC pin definition by default. > > Reported-by: Nicholas Kinar > Signed-off-by: Hong Xu > --- > arch/arm/mach-at91/at91sam9263_devices.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c > index fb5c23a..7dab33e 100644 > --- a/arch/arm/mach-at91/at91sam9263_devices.c > +++ b/arch/arm/mach-at91/at91sam9263_devices.c > @@ -832,6 +832,7 @@ void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data) > if (!data) > return; > > + at91_set_A_periph(AT91_PIN_PC0, 0); /* LCDVSYNC */ this must be optionnal we need to update this with somethink like done on avr32 Best Regards, J.