UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 21 Mar 2016 09:31:07 +0000 (17:31 +0800)
commit09a32545ef58d42f611a6954895a1ad1a99e3b70
tree3e1f5cea14287beea725bf809a67f2b83cb26376
parent47f42e3653f50ab3db71d754849a89b43a501475
UPSTREAM: 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.

(cherry picked from commit a9fa852886fd5a7ccec3b7e9eff75f85072f009c)

Change-Id: Ie300bdc95027269f4a6b0d7fef8d6f0ca4017f06
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
drivers/gpu/drm/exynos/exynos_dp_core.c