diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-06-13 20:05:09 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-06-24 19:41:05 +0300 |
commit | 958d8d99ccb31ed5db02644bd138dbf70ace2051 (patch) | |
tree | 82e72fb2553d56b44e014f886c96a9ce56019915 /drivers/gpu/drm/msm/dsi/dsi.h | |
parent | 47cda61fdc6497405a73f7845032649c03f12eb3 (diff) | |
download | linux-958d8d99ccb31ed5db02644bd138dbf70ace2051.tar.gz linux-958d8d99ccb31ed5db02644bd138dbf70ace2051.tar.bz2 linux-958d8d99ccb31ed5db02644bd138dbf70ace2051.zip |
drm/msm/dsi: parse vsync source from device tree
Allow board's device tree to specify the vsync source (aka TE source).
If the property is omitted, the display controller driver will use the
default setting.
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
[DB: fixed clearing of return value if there is no TE property]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Patchwork: https://patchwork.freedesktop.org/patch/598740/
Link: https://lore.kernel.org/r/20240613-dpu-handle-te-signal-v2-6-67a0116b5366@linaro.org
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi.h')
-rw-r--r-- | drivers/gpu/drm/msm/dsi/dsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi.h b/drivers/gpu/drm/msm/dsi/dsi.h index afc290408ba4..87496db203d6 100644 --- a/drivers/gpu/drm/msm/dsi/dsi.h +++ b/drivers/gpu/drm/msm/dsi/dsi.h @@ -37,6 +37,7 @@ struct msm_dsi { struct mipi_dsi_host *host; struct msm_dsi_phy *phy; + const char *te_source; struct drm_bridge *next_bridge; |