]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/bridge: ti-tfp410: Set the bus_format
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 1 Apr 2019 12:41:43 +0000 (15:41 +0300)
committerAndrzej Hajda <a.hajda@samsung.com>
Fri, 12 Apr 2019 07:39:01 +0000 (09:39 +0200)
commit0eb2766dd6f366d42448121c383420bb0307bcc7
tree1ddec8cfe3e9d51fa00765157199dfeeac88471b
parent51c7b4477c8bf1b34b69f7697f70cd8396492ca6
drm/bridge: ti-tfp410: Set the bus_format

The TFP410 supports 24 bit, single-edge and 12 bit, dual-edge modes.
Depending on how many wires are used (24/12) the driver can set the correct
bus_format.

If the information is not available in DT then assume 24 bit, single-edge
setup.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190401124143.17179-3-peter.ujfalusi@ti.com
drivers/gpu/drm/bridge/ti-tfp410.c