summaryrefslogtreecommitdiffstats
path: root/drivers/video/of_display_timing.c
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2013-05-27 14:33:34 +0200
committerDave Airlie <airlied@redhat.com>2013-06-03 10:42:34 +0200
commit2d178a4abb33916fb8e1dea540921acdafe53875 (patch)
treeda9081e054eb7d3a35af5544394af5135bb87802 /drivers/video/of_display_timing.c
parentvideo: display_timing: add doubleclk flag (diff)
downloadlinux-2d178a4abb33916fb8e1dea540921acdafe53875.tar.xz
linux-2d178a4abb33916fb8e1dea540921acdafe53875.zip
video: of: display_timing: add doubleclk flag
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/video/of_display_timing.c')
-rw-r--r--drivers/video/of_display_timing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c
index 85c1a419270f..2894e0300a33 100644
--- a/drivers/video/of_display_timing.c
+++ b/drivers/video/of_display_timing.c
@@ -98,6 +98,8 @@ static struct display_timing *of_get_display_timing(const struct device_node
dt->flags |= DISPLAY_FLAGS_INTERLACED;
if (of_property_read_bool(np, "doublescan"))
dt->flags |= DISPLAY_FLAGS_DOUBLESCAN;
+ if (of_property_read_bool(np, "doubleclk"))
+ dt->flags |= DISPLAY_FLAGS_DOUBLECLK;
if (ret) {
pr_err("%s: error reading timing properties\n",