From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> References: <1305033947-4521-1-git-send-email-mayur@ti.com> Return-path: 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 In-Reply-To: <1305033947-4521-1-git-send-email-mayur@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap@vger.kernel.org Cc: tomi.valkeinen@ti.com, Mayuresh Janorkar 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 */ -- 1.7.1