aboutsummaryrefslogtreecommitdiffstats
path: root/include/video/omap-panel-dvi.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-12-22 03:37:33 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-09 03:51:04 -0400
commit2da35193dc81b574001a47347f41c4922b1266d3 (patch)
treeb9816c8b8fba317eae9bfdb6ff9fb31387a4e052 /include/video/omap-panel-dvi.h
parent66f75a5d028beaf67c931435fdc3e7823125730c (diff)
OMAPDSS: panel-dvi: add PD gpio handling
The driver for the TFP410 chip should handle the power-down signal of the chip, instead of the current way of handling it in the board files. This patch adds power_down_gpio into the device's platform data, and adds the necessary code in the driver to request and handle the GPIO. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video/omap-panel-dvi.h')
-rw-r--r--include/video/omap-panel-dvi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omap-panel-dvi.h b/include/video/omap-panel-dvi.h
index 87ad567b4229..4ad41fcc809c 100644
--- a/include/video/omap-panel-dvi.h
+++ b/include/video/omap-panel-dvi.h
@@ -27,11 +27,13 @@ struct omap_dss_device;
27 * @platform_enable: platform specific panel enable function 27 * @platform_enable: platform specific panel enable function
28 * @platform_disable: platform specific panel disable function 28 * @platform_disable: platform specific panel disable function
29 * @i2c_bus_num: i2c bus id for the panel 29 * @i2c_bus_num: i2c bus id for the panel
30 * @power_down_gpio: gpio number for PD pin (or -1 if not available)
30 */ 31 */
31struct panel_dvi_platform_data { 32struct panel_dvi_platform_data {
32 int (*platform_enable)(struct omap_dss_device *dssdev); 33 int (*platform_enable)(struct omap_dss_device *dssdev);
33 void (*platform_disable)(struct omap_dss_device *dssdev); 34 void (*platform_disable)(struct omap_dss_device *dssdev);
34 u16 i2c_bus_num; 35 u16 i2c_bus_num;
36 int power_down_gpio;
35}; 37};
36 38
37#endif /* __OMAP_PANEL_DVI_H */ 39#endif /* __OMAP_PANEL_DVI_H */