Tomi Valkeinen | ba2eac9 | 2011-09-01 09:17:41 +0300 | [diff] [blame] | 1 | /* |
Tomi Valkeinen | 2e6f2ee | 2012-03-05 14:29:28 +0200 | [diff] [blame] | 2 | * Header for TFP410 chip driver |
Tomi Valkeinen | ba2eac9 | 2011-09-01 09:17:41 +0300 | [diff] [blame] | 3 | * |
| 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 Valkeinen | 2e6f2ee | 2012-03-05 14:29:28 +0200 | [diff] [blame] | 20 | #ifndef __OMAP_PANEL_TFP410_H |
| 21 | #define __OMAP_PANEL_TFP410_H |
Tomi Valkeinen | ba2eac9 | 2011-09-01 09:17:41 +0300 | [diff] [blame] | 22 | |
| 23 | struct omap_dss_device; |
| 24 | |
| 25 | /** |
Tomi Valkeinen | 2e6f2ee | 2012-03-05 14:29:28 +0200 | [diff] [blame] | 26 | * struct tfp410_platform_data - panel driver configuration data |
Tomi Valkeinen | ba2eac9 | 2011-09-01 09:17:41 +0300 | [diff] [blame] | 27 | * @i2c_bus_num: i2c bus id for the panel |
Tomi Valkeinen | 2da3519 | 2011-12-22 10:37:33 +0200 | [diff] [blame] | 28 | * @power_down_gpio: gpio number for PD pin (or -1 if not available) |
Tomi Valkeinen | ba2eac9 | 2011-09-01 09:17:41 +0300 | [diff] [blame] | 29 | */ |
Tomi Valkeinen | 2e6f2ee | 2012-03-05 14:29:28 +0200 | [diff] [blame] | 30 | struct tfp410_platform_data { |
Tomi Valkeinen | ca2e16f | 2012-11-22 10:39:56 +0200 | [diff] [blame] | 31 | int i2c_bus_num; |
Tomi Valkeinen | 2da3519 | 2011-12-22 10:37:33 +0200 | [diff] [blame] | 32 | int power_down_gpio; |
Tomi Valkeinen | ba2eac9 | 2011-09-01 09:17:41 +0300 | [diff] [blame] | 33 | }; |
| 34 | |
Tomi Valkeinen | 2e6f2ee | 2012-03-05 14:29:28 +0200 | [diff] [blame] | 35 | #endif /* __OMAP_PANEL_TFP410_H */ |