]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi: Allow to specify dsi config as pdata
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 14 Feb 2022 15:37:38 +0000 (16:37 +0100)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 23 Feb 2022 02:56:43 +0000 (05:56 +0300)
commit6d1db9230e9225fc0e24fa8b393dd690d2604d79
tree7dc39e78dd8b837a72e673ef80ec0b105a4cb6c6
parent7c39e15cb5fb1b9f46573df78072bc210b8d1e09
drm/msm/dsi: Allow to specify dsi config as pdata

Config autodetect based on DSI controller version is quite limited
since several qcom SoCs can integrate a DSI controller with the same
version, but with different config (io_offset, supplies, etc).

This change allows to specify dsi config via device data pointer.
config autodetect is still used in case data pointer is NULL.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/474089/
Link: https://lore.kernel.org/r/1644853060-12222-1-git-send-email-loic.poulain@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/dsi/dsi.c
drivers/gpu/drm/msm/dsi/dsi_host.c