diff options
author | 2016-09-22 13:35:25 +0300 | |
---|---|---|
committer | 2016-11-02 10:48:18 +0200 | |
commit | e886fecbe7b22a5ce18bb253c7b3ac2ae4f01e86 (patch) | |
tree | 5765d790d68e57624f6a72f976853aca6e72ff13 /include/video/display_timing.h | |
parent | dt-bindings: display: display-timing: Add property to configure sync drive edge (diff) | |
download | linux-e886fecbe7b22a5ce18bb253c7b3ac2ae4f01e86.tar.gz linux-e886fecbe7b22a5ce18bb253c7b3ac2ae4f01e86.tar.bz2 linux-e886fecbe7b22a5ce18bb253c7b3ac2ae4f01e86.zip |
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 <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>
Diffstat (limited to 'include/video/display_timing.h')
-rw-r--r-- | include/video/display_timing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/video/display_timing.h b/include/video/display_timing.h index 28d9d0d566ca..3d289e990aca 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), }; /* |