diff options
author | Thierry Reding <treding@nvidia.com> | 2014-08-06 08:53:39 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 13:56:14 +0100 |
commit | 3ef0592426da2e21bd3a265e9376cddffff931c1 (patch) | |
tree | 9ae8b9f708422585dfbf76db110f08beffa29e9a /include/drm/drm_mipi_dsi.h | |
parent | drm/dsi: Implement DCS set_{column,page}_address commands (diff) | |
download | linux-3ef0592426da2e21bd3a265e9376cddffff931c1.tar.xz linux-3ef0592426da2e21bd3a265e9376cddffff931c1.zip |
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>
Diffstat (limited to 'include/drm/drm_mipi_dsi.h')
-rw-r--r-- | include/drm/drm_mipi_dsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 061a792daf7d..ea0d982058c3 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -163,6 +163,7 @@ static inline struct mipi_dsi_device *to_mipi_dsi_device(struct device *dev) return container_of(dev, struct mipi_dsi_device, dev); } +struct mipi_dsi_device *of_find_mipi_dsi_device_by_node(struct device_node *np); int mipi_dsi_attach(struct mipi_dsi_device *dsi); int mipi_dsi_detach(struct mipi_dsi_device *dsi); int mipi_dsi_set_maximum_return_packet_size(struct mipi_dsi_device *dsi, |