From patchwork Tue Aug 31 09:22:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 144811 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o7V968Ix013515 for ; Tue, 31 Aug 2010 09:40:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754010Ab0HaJVD (ORCPT ); Tue, 31 Aug 2010 05:21:03 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:45825 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753952Ab0HaJVC (ORCPT ); Tue, 31 Aug 2010 05:21:02 -0400 Received: by pzk9 with SMTP id 9so2360463pzk.19 for ; Tue, 31 Aug 2010 02:21:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=zdlKh1ZgooLyjEIl70NZ1oLTQCzC7/3q1ZPhXizI1U8=; b=MBBqS8bLRQJuzarZcYCNatyLgpzru6KLfH4lcPJtpJvUtAFLBun3G83C+r0xSUxVdt yLJxaBXdpdxH3OtALGcmAhKzSlHnbuJcFhwijHPZXKKhH6E0ETCK61W3Q1jtcfJt9PKd ISEal8TtPRP/Bv0TwxpMdosGKAEdhJKRhyxrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=bktaMfCy4os4r3wO4j5dHeRP4r62Wo3pBJELG2HjoT/SvsdKbokx5l9SFeHER+sOhQ TfTgqUS450At5jzBZCK7FTmnfHCX/pbRmxRs9jI9LRIyf/n22AS8zHnAKrlFZ1avrY3Z FsAM7vu/rZxr1Gkd5YM2b0rakdL9fvDA7Vsu4= Received: by 10.143.9.19 with SMTP id m19mr5621919wfi.335.1283246461819; Tue, 31 Aug 2010 02:21:01 -0700 (PDT) Received: from [127.0.0.1] (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id q27sm10804844wfc.6.2010.08.31.02.21.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 31 Aug 2010 02:21:00 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Tue, 31 Aug 2010 18:22:36 +0900 Message-Id: <20100831092236.13809.80418.sendpatchset@t400s> Subject: [PATCH] ARM: mach-shmobile: Extend AP4EVB LCD comments Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 31 Aug 2010 09:40:21 +0000 (UTC) --- 0001/arch/arm/mach-shmobile/board-ap4evb.c +++ work/arch/arm/mach-shmobile/board-ap4evb.c 2010-08-19 13:47:23.000000000 +0900 @@ -951,8 +951,10 @@ static void __init ap4evb_init(void) ARRAY_SIZE(i2c1_devices)); #ifdef CONFIG_AP4EVB_QHD + /* - * QHD + * For QHD Panel (MIPI-DSI, CONFIG_AP4EVB_QHD=y) and + * IRQ28 for Touch Panel, set dip switches S3, S43 as OFF, ON. */ /* enable KEYSC */ @@ -996,8 +998,10 @@ static void __init ap4evb_init(void) #else /* - * WVGA + * For WVGA Panel (18-bit RGB, CONFIG_AP4EVB_WVGA=y) and + * IRQ7 for Touch Panel, set dip switches S3, S43 to ON, OFF. */ + gpio_request(GPIO_FN_LCDD17, NULL); gpio_request(GPIO_FN_LCDD16, NULL); gpio_request(GPIO_FN_LCDD15, NULL);