Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Ujfalusi and committed by
Tomi Valkeinen
e886fecb 86f46565

+4
+4
include/video/display_timing.h
··· 28 28 DISPLAY_FLAGS_INTERLACED = BIT(8), 29 29 DISPLAY_FLAGS_DOUBLESCAN = BIT(9), 30 30 DISPLAY_FLAGS_DOUBLECLK = BIT(10), 31 + /* drive sync on pos. edge */ 32 + DISPLAY_FLAGS_SYNC_POSEDGE = BIT(11), 33 + /* drive sync on neg. edge */ 34 + DISPLAY_FLAGS_SYNC_NEGEDGE = BIT(12), 31 35 }; 32 36 33 37 /*