drm/dsi: Resolve MIPI DSI device from phandle
authorThierry Reding <treding@nvidia.com>
Wed, 6 Aug 2014 06:53:39 +0000 (08:53 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 12:56:14 +0000 (13:56 +0100)
commit3ef0592426da2e21bd3a265e9376cddffff931c1
tree9ae8b9f708422585dfbf76db110f08beffa29e9a
parent3b46d4a0def157e77000e252bf5caae7d3defe1b
drm/dsi: Resolve MIPI DSI device from phandle

Add a function, of_find_mipi_dsi_device_by_node(), that can be used to
resolve a phandle to a MIPI DSI device.

Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_mipi_dsi.c
include/drm/drm_mipi_dsi.h