video: of: display_timing: add doubleclk flag
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Mon, 27 May 2013 12:33:34 +0000 (12:33 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 3 Jun 2013 08:42:34 +0000 (18:42 +1000)
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Documentation/devicetree/bindings/video/display-timing.txt
drivers/video/of_display_timing.c

index 150038552bc3047bad9c28548270d63592e34700..e1d4a0b596128b0060bd5df2fa21bd16e542540f 100644 (file)
@@ -34,6 +34,7 @@ optional properties:
                        - ignored     = ignored
  - interlaced (bool): boolean to enable interlaced mode
  - doublescan (bool): boolean to enable doublescan mode
+ - doubleclk (bool): boolean to enable doubleclock mode
 
 All the optional properties that are not bool follow the following logic:
     <1>: high active
index 85c1a419270f4cc609c4da3079b8099975a1e0cb..2894e0300a33fb8676a7ca8f12b913b5b99ad76b 100644 (file)
@@ -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",