[PATCH v3 0/3] drm/msm/dsi: support CPHY mode for 7nm pll/phy
From: Jonathan Marek
Date: Tue Jun 08 2021 - 15:56:04 EST
Add the required changes to support 7nm pll/phy in CPHY mode.
This adds a "qcom,dsi-phy-cphy-mode" property for the PHY node to enable
the CPHY mode.
v2:
- rebased on DSI PHY reworks
- reworked getting cphy_mode in dsi_host.c
- documentation change in separate patch
v3:
- yaml bindings
- changed binding to "phy-mode = <PHY_TYPE_DSI_CPHY>;"
Jonathan Marek (3):
dt-bindings: msm: dsi: add missing 7nm bindings
dt-bindings: msm: dsi: document phy-type property for 7nm dsi phy
drm/msm/dsi: support CPHY mode for 7nm pll/phy
.../bindings/display/msm/dsi-phy-7nm.yaml | 70 +++++++++
drivers/gpu/drm/msm/dsi/dsi.xml.h | 2 +
drivers/gpu/drm/msm/dsi/dsi_host.c | 34 +++-
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 49 ++++++
drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 3 +
drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 145 ++++++++++++------
include/dt-bindings/phy/phy.h | 2 +
7 files changed, 258 insertions(+), 47 deletions(-)
create mode 100644 Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml
--
2.26.1