diff options
| author | Dmitry Baryshkov <[email protected]> | 2022-12-07 01:22:26 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2023-01-22 20:42:46 +0000 |
| commit | 2f9ae4e395ed125b5d195acbe3f99bb64dfb7cb0 (patch) | |
| tree | a3999dd05e1431b2b9bafb847bdc0b74060ac906 /drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | |
| parent | drm/msm/dsi/phy: rework register setting for 7nm PHY (diff) | |
| download | kernel-2f9ae4e395ed125b5d195acbe3f99bb64dfb7cb0.tar.gz kernel-2f9ae4e395ed125b5d195acbe3f99bb64dfb7cb0.zip | |
drm/msm/dsi: add support for DSI-PHY on SM8350 and SM8450
SM8350 and SM8450 use 5nm DSI PHYs, which share register definitions
with 7nm DSI PHYs. Rather than duplicating the driver, handle 5nm
variants inside the common 5+7nm driver.
Co-developed-by: Robert Foss <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Tested-by: Vinod Koul <[email protected]>
Reviewed-by: Vinod Koul <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/514230/
Link: https://lore.kernel.org/r/[email protected]
[DB: changed compatibles per Krzysztof's request]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/phy/dsi_phy.c')
| -rw-r--r-- | drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c index ee6051367679..04126af74bb5 100644 --- a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c +++ b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c @@ -569,6 +569,10 @@ static const struct of_device_id dsi_phy_dt_match[] = { .data = &dsi_phy_7nm_8150_cfgs }, { .compatible = "qcom,sc7280-dsi-phy-7nm", .data = &dsi_phy_7nm_7280_cfgs }, + { .compatible = "qcom,sm8350-dsi-phy-5nm", + .data = &dsi_phy_5nm_8350_cfgs }, + { .compatible = "qcom,sm8450-dsi-phy-5nm", + .data = &dsi_phy_5nm_8450_cfgs }, #endif {} }; |
