video: display_timing: Add flags to select the edge when the sync is driven
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 22 Sep 2016 10:35:25 +0000 (13:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 2 Nov 2016 08:48:18 +0000 (10:48 +0200)
The sync can be - and for some panels it must be - driven on different edge
then the data.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
CC: Rob Herring <robh+dt@kernel.org>
CC: Mark Rutland <mark.rutland@arm.com>
CC: devicetree@vger.kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
include/video/display_timing.h

index 28d9d0d566cacf8d2e61f5fed0434421aca696ed..3d289e990aca14f7debf1db1dbf92ab79fc71f47 100644 (file)
@@ -28,6 +28,10 @@ enum display_flags {
        DISPLAY_FLAGS_INTERLACED        = BIT(8),
        DISPLAY_FLAGS_DOUBLESCAN        = BIT(9),
        DISPLAY_FLAGS_DOUBLECLK         = BIT(10),
+       /* drive sync on pos. edge */
+       DISPLAY_FLAGS_SYNC_POSEDGE      = BIT(11),
+       /* drive sync on neg. edge */
+       DISPLAY_FLAGS_SYNC_NEGEDGE      = BIT(12),
 };
 
 /*