blob: 68c31d79c5717621502b0facb24e4de9fdc637a1 [file] [log] [blame]
Tomi Valkeinenba2eac92011-09-01 09:17:41 +03001/*
Tomi Valkeinen2e6f2ee2012-03-05 14:29:28 +02002 * Header for TFP410 chip driver
Tomi Valkeinenba2eac92011-09-01 09:17:41 +03003 *
4 * Copyright (C) 2011 Texas Instruments Inc
5 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
Tomi Valkeinen2e6f2ee2012-03-05 14:29:28 +020020#ifndef __OMAP_PANEL_TFP410_H
21#define __OMAP_PANEL_TFP410_H
Tomi Valkeinenba2eac92011-09-01 09:17:41 +030022
23struct omap_dss_device;
24
25/**
Tomi Valkeinen2e6f2ee2012-03-05 14:29:28 +020026 * struct tfp410_platform_data - panel driver configuration data
Tomi Valkeinenba2eac92011-09-01 09:17:41 +030027 * @i2c_bus_num: i2c bus id for the panel
Tomi Valkeinen2da35192011-12-22 10:37:33 +020028 * @power_down_gpio: gpio number for PD pin (or -1 if not available)
Tomi Valkeinenba2eac92011-09-01 09:17:41 +030029 */
Tomi Valkeinen2e6f2ee2012-03-05 14:29:28 +020030struct tfp410_platform_data {
Tomi Valkeinenba2eac92011-09-01 09:17:41 +030031 u16 i2c_bus_num;
Tomi Valkeinen2da35192011-12-22 10:37:33 +020032 int power_down_gpio;
Tomi Valkeinenba2eac92011-09-01 09:17:41 +030033};
34
Tomi Valkeinen2e6f2ee2012-03-05 14:29:28 +020035#endif /* __OMAP_PANEL_TFP410_H */