summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorYannick Fertré2019-05-27 12:21:38 +0200
committerAndrzej Hajda2019-06-12 09:09:18 +0200
commita3e69b86cf04b7c0b624572c181678ea74e83400 (patch)
tree4cbd7bc94f8b709fd74e0c710fe86e985662bb5e /include/drm
parentdrm/rockchip: dw_hdmi: Handle suspend/resume (diff)
downloadkernel-qcow2-linux-a3e69b86cf04b7c0b624572c181678ea74e83400.tar.gz
kernel-qcow2-linux-a3e69b86cf04b7c0b624572c181678ea74e83400.tar.xz
kernel-qcow2-linux-a3e69b86cf04b7c0b624572c181678ea74e83400.zip
drm/bridge/synopsys: dsi: add power on/off optional phy ops
Add power on & off optional physical operation functions, helpful to program specific registers of the DSI physical part. Signed-off-by: Yannick Fertré <yannick.fertre@st.com> Reviewed-by: Philippe Cornu <philippe.cornu@st.com> Tested-by: Philippe Cornu <philippe.cornu@st.com> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/1558952499-15418-2-git-send-email-yannick.fertre@st.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/bridge/dw_mipi_dsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/bridge/dw_mipi_dsi.h b/include/drm/bridge/dw_mipi_dsi.h
index 92cf9d1e1655..be8cdc2bf67d 100644
--- a/include/drm/bridge/dw_mipi_dsi.h
+++ b/include/drm/bridge/dw_mipi_dsi.h
@@ -22,6 +22,8 @@ struct platform_device;
struct dw_mipi_dsi_phy_ops {
int (*init)(void *priv_data);
+ void (*power_on)(void *priv_data);
+ void (*power_off)(void *priv_data);
int (*get_lane_mbps)(void *priv_data,
const struct drm_display_mode *mode,
unsigned long mode_flags, u32 lanes, u32 format,