From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mayuresh Janorkar Subject: [PATCH v5 1/4] OMAP: DSS: Adding a header file for picodlp data Date: Tue, 17 May 2011 17:49:40 +0530 Message-ID: <1305634783-21265-2-git-send-email-mayur@ti.com> References: <1305634783-21265-1-git-send-email-mayur@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:39371 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754408Ab1EQLxt (ORCPT ); Tue, 17 May 2011 07:53:49 -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 p4HBrn2n022580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 May 2011 06:53:49 -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 p4HBrm9A013773 for ; Tue, 17 May 2011 06:53:48 -0500 (CDT) In-Reply-To: <1305634783-21265-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 v4: Header file introduced in include/video instead of arch/arm/plat-omap/include/plat Changes since v3: Nil Changes since v2: Changed gpio names to emu_done_gpio and pwrgood_gpio Changes since v1: Nil include/video/panel-picodlp.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 include/video/panel-picodlp.h diff --git a/include/video/panel-picodlp.h b/include/video/panel-picodlp.h new file mode 100644 index 0000000..1c342ef --- /dev/null +++ b/include/video/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 __PANEL_PICODLP_H +#define __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 /* __PANEL_PICODLP_H */ -- 1.7.1