[PATCH v2 0/4] Add qref and refgen regulator support for QCS8300 and SA8775p PCIe PHYs

Ziyue Zhang posted 4 patches 1 week, 1 day ago
.../phy/qcom,sc8280xp-qmp-pcie-phy.yaml       | 27 +++++++++++++++++++
arch/arm64/boot/dts/qcom/lemans-evk.dts       |  4 +++
.../boot/dts/qcom/lemans-ride-common.dtsi     |  4 +++
arch/arm64/boot/dts/qcom/monaco-evk.dts       |  4 +++
.../arm64/boot/dts/qcom/monaco-monza-som.dtsi |  4 +++
arch/arm64/boot/dts/qcom/monaco.dtsi          |  4 +++
arch/arm64/boot/dts/qcom/qcs8300-ride.dts     |  4 +++
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c      | 16 ++++++-----
8 files changed, 61 insertions(+), 6 deletions(-)
[PATCH v2 0/4] Add qref and refgen regulator support for QCS8300 and SA8775p PCIe PHYs
Posted by Ziyue Zhang 1 week, 1 day ago
This series adds qref and refgen regulator support for the PCIe QMP PHYs
on QCS8300 and SA8775p platforms.

The PCIe PHYs on these SoCs require dedicated qref and refgen voltage
supplies for stable operation. Without enabling these supplies, PCIe may
be unstable and the system can occasionally crash under certain scenarios.

The refgen supply in particular works around a hardware issue where both
QREF and the PCIe PHY are expected to depend on refgen2, but QREF actually
depends on refgen3. This series therefore votes for refgen3 manually via
the refgen supply.

Changes in v2:
- Expand commit message to explain why these supplies were missing and
  what issue was observed (Mani)
- Remove redundant vdda-refgen-supply overrides from qcs9100-ride.dts
  and qcs9100-ride-r3.dts; the supplies are already defined in
  lemans-ride-common.dtsi which both files include
Link to v1: https://lore.kernel.org/all/20260810112735.1326807-1-ziyue.zhang@oss.qualcomm.com/

Ziyue Zhang (4):
  dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Add vdda-refgen and
    refgen supply properties
  phy: qcom: qmp-pcie: Add qref and refgen regulator vote for QCS8300
    and SA8775p PHY
  arm64: dts: qcom: qcs8300: Add qref and refgen supply for PCIe PHYs
  arm64: dts: qcom: sa8775p: Add qref and refgen supply for PCIe PHYs

 .../phy/qcom,sc8280xp-qmp-pcie-phy.yaml       | 27 +++++++++++++++++++
 arch/arm64/boot/dts/qcom/lemans-evk.dts       |  4 +++
 .../boot/dts/qcom/lemans-ride-common.dtsi     |  4 +++
 arch/arm64/boot/dts/qcom/monaco-evk.dts       |  4 +++
 .../arm64/boot/dts/qcom/monaco-monza-som.dtsi |  4 +++
 arch/arm64/boot/dts/qcom/monaco.dtsi          |  4 +++
 arch/arm64/boot/dts/qcom/qcs8300-ride.dts     |  4 +++
 drivers/phy/qualcomm/phy-qcom-qmp-pcie.c      | 16 ++++++-----
 8 files changed, 61 insertions(+), 6 deletions(-)

-- 
2.43.0