This adds support for the MDSS/DPU/DSI on the Qualcomm SM8550 platform. This patchset is based on the SM8450 display support serie at [1]. In order to work, the following patchsets are required: - PM8550 LDO fix at [2] - DISPCC driver at [3] + the DT changes. [1] https://lore.kernel.org/all/20221207012231.112059-1-dmitry.baryshkov@xxxxxxxxxx/ [2] https://lore.kernel.org/all/20230102-topic-sm8550-upstream-fixes-reg-l11b-nldo-v1-1-d97def246338@xxxxxxxxxx/ [3] https://lore.kernel.org/all/20230103-topic-sm8550-upstream-dispcc-v2-0-786ddd8785a2@xxxxxxxxxx To: Rob Clark <robdclark@xxxxxxxxx> To: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx> To: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> To: Sean Paul <sean@xxxxxxxxxx> To: David Airlie <airlied@xxxxxxxxx> To: Daniel Vetter <daniel@xxxxxxxx> To: Rob Herring <robh+dt@xxxxxxxxxx> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx> To: Jonathan Marek <jonathan@xxxxxxxx> Cc: linux-arm-msm@xxxxxxxxxxxxxxx Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx Cc: freedreno@xxxxxxxxxxxxxxxxxxxxx Cc: devicetree@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx> --- Changes in v3: - Patch 1,2,3: Added Acked-by/Reviewed-by - Patch 6: Fixed compatible to qcom,sm8550-dsi-phy-4nm - Link to v2: https://lore.kernel.org/r/20230103-topic-sm8550-upstream-mdss-dsi-v2-0-87f1c16d7635@xxxxxxxxxx Changes in v2: - Rebased on msm-next-lumag & msm-next-lumag-dpu - Fixed cover letter title to SM8550 - Patch 1: renamed compatible to qcom,sm8550-dsi-phy-4nm - Patch 2: split in 2 patches, switch to renamed qcom,sm8550-dsi-phy-4nm - Patch 3: switch CTL to use CTL_SC7280_MASK, Added Reviewed-by - Patch 4: Added Reviewed-by - Patch 5: fixed V5.2 quirk order - Patch 6: Added Reviewed-by - Link to v1: https://lore.kernel.org/r/20230103-topic-sm8550-upstream-mdss-dsi-v1-0-9ccd7e652fcd@xxxxxxxxxx --- Neil Armstrong (7): dt-bindings: display/msm: document the SM8550 DSI PHY dt-bindings: display/msm: document DPU on SM8550 dt-bindings: display/msm: document MDSS on SM8550 drm/msm/dpu: add support for SM8550 drm/msm: mdss: add support for SM8550 drm/msm/dsi: add support for DSI-PHY on SM8550 drm/msm/dsi: add support for DSI 2.7.0 .../bindings/display/msm/dsi-phy-7nm.yaml | 1 + .../bindings/display/msm/qcom,sm8550-dpu.yaml | 134 +++++++++ .../bindings/display/msm/qcom,sm8550-mdss.yaml | 331 +++++++++++++++++++++ drivers/gpu/drm/msm/Kconfig | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 197 ++++++++++++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 2 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + drivers/gpu/drm/msm/dsi/dsi_cfg.c | 16 + drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 1 + drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 88 +++++- drivers/gpu/drm/msm/msm_mdss.c | 2 + 14 files changed, 765 insertions(+), 16 deletions(-) --- base-commit: 58372c69004c06773cbe74a05f2c1a4a8b23db9c change-id: 20230103-topic-sm8550-upstream-mdss-dsi-35ca8acea529 Best regards, -- Neil Armstrong <neil.armstrong@xxxxxxxxxx>