From patchwork Tue May 17 12:19:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: MAYURESH JANORKAR X-Patchwork-Id: 791302 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4HBs0Eo010785 for ; Tue, 17 May 2011 11:54:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754459Ab1EQLx7 (ORCPT ); Tue, 17 May 2011 07:53:59 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:38448 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754455Ab1EQLx6 (ORCPT ); Tue, 17 May 2011 07:53:58 -0400 Received: from dlep35.itg.ti.com ([157.170.170.118]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id p4HBrw5E010097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 May 2011 06:53:58 -0500 Received: from dlep26.itg.ti.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id p4HBrwoU013795 for ; Tue, 17 May 2011 06:53:58 -0500 (CDT) Received: from dlee74.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p4HBrvdJ002921; Tue, 17 May 2011 06:53:57 -0500 (CDT) Received: from dlelxv24.itg.ti.com (172.17.1.199) by dlee74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 8.3.106.1; Tue, 17 May 2011 06:53:58 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id p4HBrv1a008663; Tue, 17 May 2011 06:53:57 -0500 Received: from localhost (ldc.apr.dhcp.ti.com [172.24.137.131]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id p4HBruf28665; Tue, 17 May 2011 06:53:56 -0500 (CDT) From: Mayuresh Janorkar To: CC: , Mayuresh Janorkar , Mythri P K Subject: [PATCH v5 4/4] OMAP4: DSS: Adding a picodlp in OMAP4430 SDP board file Date: Tue, 17 May 2011 17:49:43 +0530 Message-ID: <1305634783-21265-5-git-send-email-mayur@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1305634783-21265-1-git-send-email-mayur@ti.com> References: <1305634783-21265-1-git-send-email-mayur@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 17 May 2011 11:54:00 +0000 (UTC) An on-board projector named picodlp is available for OMAP4430 SDP. Entry for this picodlp as a panel is being added in dss_devices array to the board file. It needs 4 GPIO pins for interfacing with host processor and these are defined and two of them are configured in board file. Two GPIOs power_on and display_select are configured here. picodlp also needs an i2c client over i2c controller-2 at address 0x1b. Signed-off-by: Mayuresh Janorkar Signed-off-by: Mythri P K --- Changes since v4: Reorder this patch to be the patch in this series Changes since v3: All GPIOs are requested here and assigned to init value. Changes since v2: Changed GPIO names to power_on, emu_done and pwrgood arch/arm/mach-omap2/board-4430sdp.c | 55 +++++++++++++++++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index af0f59f..0366fdc 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -38,6 +38,7 @@ #include #include