drm/imx: imx-ldb: allow to determine bus format from the connected panel
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 2 Dec 2014 19:22:49 +0000 (20:22 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 31 Mar 2015 10:44:50 +0000 (12:44 +0200)
commit5e501ed7253b369a8a9ec553c35238a3d6808f28
tree06e52297f21c7c9c54e7c8ac0efd85aac6bc27f1
parent3973aff06585309f6215c66ed9d11d74656a9fa6
drm/imx: imx-ldb: allow to determine bus format from the connected panel

This patch makes the fsl,data-width and fsl,data-mapping device tree
properties optional if a panel is connected to the ldb output port
via the of_graph bindings. The data mapping is determined from the
display_info.bus_format field provided by the panel.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/imx-ldb.c