From patchwork Mon May 2 14:52:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: MAYURESH JANORKAR X-Patchwork-Id: 747432 X-Patchwork-Delegate: tomi.valkeinen@nokia.com 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 p42EqPVt016512 for ; Mon, 2 May 2011 14:52:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759922Ab1EBOji (ORCPT ); Mon, 2 May 2011 10:39:38 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:56068 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759779Ab1EBOjh (ORCPT ); Mon, 2 May 2011 10:39:37 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p42EdbrG025882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 May 2011 09:39:37 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id p42Ed40A011381; Mon, 2 May 2011 09:39:04 -0500 (CDT) Received: from localhost (ldc-172024137131.apr.dhcp.ti.com [172.24.137.131]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id p42Ed3f05674; Mon, 2 May 2011 09:39:03 -0500 (CDT) From: Mayuresh Janorkar To: linux-omap@vger.kernel.org Cc: tomi.valkeinen@ti.com, Mayuresh Janorkar Subject: [PATCH v2 1/7] OMAP: DSS: Adding a header file for picodlp panel data Date: Mon, 2 May 2011 20:22:45 +0530 Message-Id: <1304347971-1504-2-git-send-email-mayur@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1304347971-1504-1-git-send-email-mayur@ti.com> References: <1304347971-1504-1-git-send-email-mayur@ti.com> 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]); Mon, 02 May 2011 14:52:26 +0000 (UTC) picodlp is a TI projector panel supported by OMAP picodlp makes use of i2c interface for transferring commands to the panel panel data is required for identifying i2c_adapter id and dlp GPIOs A new header file has been added for panel data and picodlp_panel_data struct has been introduced Signed-off-by: Mayuresh Janorkar --- Changes since v1: Nil arch/arm/plat-omap/include/plat/panel-picodlp.h | 25 +++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 arch/arm/plat-omap/include/plat/panel-picodlp.h diff --git a/arch/arm/plat-omap/include/plat/panel-picodlp.h b/arch/arm/plat-omap/include/plat/panel-picodlp.h new file mode 100644 index 0000000..89ac4b9 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/panel-picodlp.h @@ -0,0 +1,25 @@ +/* + * panel data for picodlp panel + * + * Copyright (C) 2011 Texas Instruments + * + * Author: Mayuresh Janorkar + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#ifndef __ARCH_ARM_PLAT_PANEL_PICODLP_H +#define __ARCH_ARM_PLAT_PANEL_PICODLP_H +/** + * struct : picodlp panel data + * picodlp_adapter_id: i2c_adapter number for picodlp + */ +struct picodlp_panel_data { + int picodlp_adapter_id; + int phy_reset_gpio; + int ready_reset_gpio; + int park_gpio; + int display_sel_gpio; +}; +#endif /* __ARCH_ARM_PLAT_PANEL_PICODLP_H */