From patchwork Tue May 10 13:25:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: MAYURESH JANORKAR X-Patchwork-Id: 774262 X-Patchwork-Delegate: tomi.valkeinen@nokia.com 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 p4ACw9wE020399 for ; Tue, 10 May 2011 12:58:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753089Ab1EJM6H (ORCPT ); Tue, 10 May 2011 08:58:07 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:60085 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157Ab1EJM6G (ORCPT ); Tue, 10 May 2011 08:58:06 -0400 Received: from dlep35.itg.ti.com ([157.170.170.118]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p4ACw6Ei005835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 10 May 2011 07:58:06 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id p4ACw4fe025085; Tue, 10 May 2011 07:58:04 -0500 (CDT) 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 p4ACw2f03114; Tue, 10 May 2011 07:58:02 -0500 (CDT) From: Mayuresh Janorkar To: linux-omap@vger.kernel.org Cc: tomi.valkeinen@ti.com, Mayuresh Janorkar Subject: [PATCH v4 1/4] OMAP: DSS: Adding a header file for picodlp data Date: Tue, 10 May 2011 18:55:44 +0530 Message-Id: <1305033947-4521-2-git-send-email-mayur@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1305033947-4521-1-git-send-email-mayur@ti.com> References: <1305033947-4521-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 (demeter1.kernel.org [140.211.167.41]); Tue, 10 May 2011 12:58:09 +0000 (UTC) picodlp is a TI projector supported by OMAP picodlp is interfaced with host processor using pwrgood and emu_done pins. In programming sequence it is required to send high to pwrgood to low wait for a fraction of seconds and then wait for emu_done signal to go low. picodlp would be ready to send/ receive i2c commands 500 mili-seconds after emu_done goes low. 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 v3: Nil Changes since v2: Changed gpio names to emu_done_gpio and pwrgood_gpio Changes since v1: Nil arch/arm/plat-omap/include/plat/panel-picodlp.h | 23 +++++++++++++++++++++++ 1 files changed, 23 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..333f7d6 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/panel-picodlp.h @@ -0,0 +1,23 @@ +/* + * 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 emu_done_gpio; + int pwrgood_gpio; +}; +#endif /* __ARCH_ARM_PLAT_PANEL_PICODLP_H */