drm/exynos: dp: add of_graph dt binding support for panel
authorInki Dae <inki.dae@samsung.com>
Thu, 26 Nov 2015 12:34:18 +0000 (21:34 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:49 +0000 (22:22 +0900)
commita9fa852886fd5a7ccec3b7e9eff75f85072f009c
tree5e11e8b276678a8006473c1fb7739ab08ac7ceba
parent69e048572effb1bac714a83a87d369d5ad12ad5c
drm/exynos: dp: add of_graph dt binding support for panel

This patch adds of_graph dt binding support for panel device
and also keeps the backward compatibility.

i.e.,
The dts file for Exynos5800 based peach pi board
has a panel property so we need to keep the backward compatibility.

Changelog v3:
- bind only one of two nodes outbound - panel or bridge.

Changelog v2:
- return -EINVAL if getting a port node failed.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
drivers/gpu/drm/exynos/exynos_dp_core.c