summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-08-05 11:15:15 +0200
committerThierry Reding <treding@nvidia.com>2014-11-13 13:56:01 +0100
commit2f16b89737e24b729305dcd4a3573c175615aa4c (patch)
tree166168cf338b3abaf655c15e060c2938f891f509 /include
parent083d573fd013c9996d7462d39b894d360311d750 (diff)
downloadlinux-2f16b89737e24b729305dcd4a3573c175615aa4c.tar.gz
linux-2f16b89737e24b729305dcd4a3573c175615aa4c.tar.bz2
linux-2f16b89737e24b729305dcd4a3573c175615aa4c.zip
drm/dsi: Implement DCS soft_reset command
Provide a small convenience wrapper that transmits a DCS soft_reset command. Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_mipi_dsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h
index cbf44867e410..de1d94cba217 100644
--- a/include/drm/drm_mipi_dsi.h
+++ b/include/drm/drm_mipi_dsi.h
@@ -192,6 +192,7 @@ ssize_t mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, u8 cmd,
ssize_t mipi_dsi_dcs_read(struct mipi_dsi_device *dsi, u8 cmd, void *data,
size_t len);
int mipi_dsi_dcs_nop(struct mipi_dsi_device *dsi);
+int mipi_dsi_dcs_soft_reset(struct mipi_dsi_device *dsi);
int mipi_dsi_dcs_enter_sleep_mode(struct mipi_dsi_device *dsi);
int mipi_dsi_dcs_exit_sleep_mode(struct mipi_dsi_device *dsi);
int mipi_dsi_dcs_set_display_off(struct mipi_dsi_device *dsi);