summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/drm.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-04-27 15:12:39 +0200
committerThierry Reding <treding@nvidia.com>2015-08-13 13:47:40 +0200
commitfb36d0eed4fe3359aca8e6000c1bd92cc5199718 (patch)
tree0ff57c5b778de577b391b961b3fa9e446c21164e /drivers/gpu/drm/tegra/drm.h
parentdrm/tegra: Use SIMPLE_DEV_PM_OPS (diff)
downloadlinux-fb36d0eed4fe3359aca8e6000c1bd92cc5199718.tar.xz
linux-fb36d0eed4fe3359aca8e6000c1bd92cc5199718.zip
drm/tegra: output: Support low-active hotplug detect
Support low-active hotplug detect signals by storing the GPIO flags parsed from device tree. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r--drivers/gpu/drm/tegra/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h
index 659b2fcc986d..ee66049521c3 100644
--- a/drivers/gpu/drm/tegra/drm.h
+++ b/drivers/gpu/drm/tegra/drm.h
@@ -12,6 +12,7 @@
#include <uapi/drm/tegra_drm.h>
#include <linux/host1x.h>
+#include <linux/of_gpio.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
@@ -200,6 +201,7 @@ struct tegra_output {
const struct edid *edid;
unsigned int hpd_irq;
int hpd_gpio;
+ enum of_gpio_flags hpd_gpio_flags;
struct drm_encoder encoder;
struct drm_connector connector;