From patchwork Wed May 25 06:03:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hong Xu X-Patchwork-Id: 815022 Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4P635Ym006464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 May 2011 06:03:26 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QP79O-0002RH-0b; Wed, 25 May 2011 06:00:58 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QP79M-00079K-Da; Wed, 25 May 2011 06:00:56 +0000 Received: from newsmtp5.atmel.com ([204.2.163.5] helo=sjogate2.atmel.com) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QP79I-000790-MI for linux-arm-kernel@lists.infradead.org; Wed, 25 May 2011 06:00:53 +0000 Received: from localhost.localdomain ([10.217.2.49]) by sjogate2.atmel.com (8.13.6/8.13.6) with ESMTP id p4P5vf7M012747; Tue, 24 May 2011 22:57:42 -0700 (PDT) From: Hong Xu To: linux-arm-kernel@lists.infradead.org, n.kinar@usask.ca Subject: [PATCH] AT91: Add VSYNC pin definition for AT91SAM9RL silicon Date: Wed, 25 May 2011 14:03:27 +0800 Message-Id: <1306303407-23659-1-git-send-email-hong.xu@atmel.com> X-Mailer: git-send-email 1.7.3.3 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110525_020052_951938_56AA4EB7 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Cc: plagnioj@jcrosoft.com, Hong Xu , nicolas.ferre@atmel.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 25 May 2011 06:03:26 +0000 (UTC) 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. Reported-by: Nicholas Kinar Signed-off-by: Hong Xu --- arch/arm/mach-at91/at91sam9rl_devices.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index c49262b..87a49d9 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c @@ -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 */