drm/msm/dsi: Switch the QCM2290-specific compatible to index autodetection
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Sat, 18 Mar 2023 13:42:52 +0000 (14:42 +0100)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 6 Apr 2023 17:29:45 +0000 (20:29 +0300)
commitda9887adffd6543addd7670389b82051dc99a9db
tree34392f240e2028a04ffa24286fe9339df9f0e4cb
parent61dbf8d2e7c2495a5c23d1ebff6b831cdaedddcf
drm/msm/dsi: Switch the QCM2290-specific compatible to index autodetection

Now that the logic can handle multiple sets of registers, move
the QCM2290 to the common logic and mark it deprecated. This allows us
to remove a couple of structs, saving some memory.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/527656/
Link: https://lore.kernel.org/r/20230307-topic-dsi_qcm-v6-6-70e13b1214fa@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/dsi/dsi.c
drivers/gpu/drm/msm/dsi/dsi_cfg.c
drivers/gpu/drm/msm/dsi/dsi_cfg.h