diff options
author | Werner Johansson <werner.johansson@sonymobile.com> | 2015-10-31 01:38:26 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-11-24 10:25:14 +0100 |
commit | 6e8c9e33760d0d0f8450f5ac55d10b085e07e136 (patch) | |
tree | 72426017bdedd80d9ed6b09246e104a1e56bd7dd /include/drm/drm_mipi_dsi.h | |
parent | drm/panel: Add Panasonic VVX10F034N00 MIPI DSI panel (diff) | |
download | linux-6e8c9e33760d0d0f8450f5ac55d10b085e07e136.tar.xz linux-6e8c9e33760d0d0f8450f5ac55d10b085e07e136.zip |
drm/dsi: Add Turn On/Shutdown Peripheral command helpers
The MIPI_DSI_TURN_ON_PERIPHERAL and MIPI_DSI_SHUTDOWN_PERIPHERAL packets
are required for some panels, for example the Panasonic VVX10F034N00.
Signed-off-by: Werner Johansson <werner.johansson@sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 4396c9f22af5..1b3b1f8c8cdf 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -191,6 +191,8 @@ static inline int mipi_dsi_pixel_format_to_bpp(enum mipi_dsi_pixel_format fmt) 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_shutdown_peripheral(struct mipi_dsi_device *dsi); +int mipi_dsi_turn_on_peripheral(struct mipi_dsi_device *dsi); int mipi_dsi_set_maximum_return_packet_size(struct mipi_dsi_device *dsi, u16 value); |