video: of: display_timing: Add support for syncclk-active property
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 22 Sep 2016 10:35:26 +0000 (13:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 2 Nov 2016 08:48:18 +0000 (10:48 +0200)
commitbd9642b9b8d329bcb0b187aee34c89fc182f2c4d
treece0386e0ce0deda300830fe8deaf2fde5b221074
parente886fecbe7b22a5ce18bb253c7b3ac2ae4f01e86
video: of: display_timing: Add support for syncclk-active property

Configure the DISPLAY_FLAGS_SYNC_POSEDGE/NEGEDGE flags according to the
binding document.
If the syncclk-active is present in DT, configure the flags accordingly, if
it is omitted it means that the SYNC edge is following the pixdata
configuration.

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>
drivers/video/of_display_timing.c