This patchset moves the v4 specific bits into version specific ops, adds the v6 specific version ops and the compatible for X1E80100. This patchset is dependent on: [1] https://lore.kernel.org/all/20240220-x1e80100-phy-edp-compatible-refactor-v5-0-e8658adf5461@xxxxxxxxxx/ To: Andy Gross <agross@xxxxxxxxxx> To: Bjorn Andersson <andersson@xxxxxxxxxx> To: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> To: Vinod Koul <vkoul@xxxxxxxxxx> To: Kishon Vijay Abraham I <kishon@xxxxxxxxxx> To: Rob Herring <robh+dt@xxxxxxxxxx> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx> To: Conor Dooley <conor+dt@xxxxxxxxxx> To: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx> To: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> To: Johan Hovold <johan@xxxxxxxxxx> To: Rob Herring <robh@xxxxxxxxxx> Cc: linux-arm-msm@xxxxxxxxxxxxxxx Cc: linux-phy@xxxxxxxxxxxxxxxxxxx Cc: devicetree@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxx> Changes in v4: - Moved out the mode setting to a different patchset [1] - Switched to per-version functions approach, like Dmitry suggested - Link to v3: https://lore.kernel.org/r/20231122-phy-qualcomm-edp-x1e80100-v3-0-576fc4e9559d@xxxxxxxxxx Changes in v3: - The whole support for COM v6 register offsets has been reworked from scratch. - The bindings now document the phy-type property. (dropped Krzysztof's R-b tag) - New patch for adding PHY_TYPE_EDP into bindings header file. - Link to v2: https://lore.kernel.org/r/20231122-phy-qualcomm-edp-x1e80100-v2-0-114e789f0195@xxxxxxxxxx Changes in v2: - Added Krzysztof's R-b tag - Re-worded commit message for bindings to suggest same PHY can work in both eDP and DP mode rather than being different PHY types. - Implemented different qcom_edp_configure_ssc and qcom_edp_configure_pll for each version of the PHY. - Dropped the cfg8 override in qcom_edp_phy_init - Used enum instead of defines for PHY versions - Link to v1: https://lore.kernel.org/r/20231122-phy-qualcomm-edp-x1e80100-v1-0-a9938990edb3@xxxxxxxxxx --- Abel Vesa (3): dt-bindings: phy: qcom-edp: Add X1E80100 PHY compatibles phy: qcom: edp: Move v4 specific settings to version ops phy: qcom: edp: Add v6 specific ops and X1E80100 platform support .../devicetree/bindings/phy/qcom,edp-phy.yaml | 1 + drivers/phy/qualcomm/phy-qcom-edp.c | 321 ++++++++++++++++++--- 2 files changed, 278 insertions(+), 44 deletions(-) --- base-commit: f11d52ee9ab66205a0c9d1b936f6d9842e766bca change-id: 20231122-phy-qualcomm-edp-x1e80100-a57c15fff32b Best regards, -- Abel Vesa <abel.vesa@xxxxxxxxxx>