From: Peter Ujfalusi Date: Thu, 22 Sep 2016 10:35:25 +0000 (+0300) Subject: video: display_timing: Add flags to select the edge when the sync is driven X-Git-Tag: v4.14-rc1~1925^2~40^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e886fecbe7b22a5ce18bb253c7b3ac2ae4f01e86;p=platform%2Fkernel%2Flinux-rpi.git video: display_timing: Add flags to select the edge when the sync is driven The sync can be - and for some panels it must be - driven on different edge then the data. Signed-off-by: Peter Ujfalusi CC: Rob Herring CC: Mark Rutland CC: devicetree@vger.kernel.org Signed-off-by: Tomi Valkeinen --- diff --git a/include/video/display_timing.h b/include/video/display_timing.h index 28d9d0d..3d289e9 100644 --- a/include/video/display_timing.h +++ b/include/video/display_timing.h @@ -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), }; /*