summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-04-26 14:48:32 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-07 20:01:49 +0300
commitcca35017ca0dadae632ced71a11a7e0b7083af6c (patch)
treebe103d24062e0f3539b909e3381a79903e20d02a /include/video
parentc50e86ce7c2961a41f2f7aa6e4fd6c99229ba205 (diff)
downloadlinux-cca35017ca0dadae632ced71a11a7e0b7083af6c.tar.bz2
OMAPDSS: HDMI: Move GPIO handling to HDMI driver
We currently manage HDMI GPIOs in the board files via platform_enable/disable calls. This won't work with device tree, and in any case the correct place to manage the GPIOs is in the HDMI driver. This patch moves the handling of the GPIOs to the HDMI driver. The GPIO handling is moved to the common hdmi.c file, and this probably needs to be revisited when adding OMAP5 HDMI support to see if the GPIO handling needs to be moved to IP specific files. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 9c7cca3746e1..a5572d5ee8d1 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -605,6 +605,8 @@ struct omap_dss_device {
struct omap_dss_hdmi_data
{
+ int ct_cp_hpd_gpio;
+ int ls_oe_gpio;
int hpd_gpio;
};