Commit 393e132e authored by Ziyue Zhang's avatar Ziyue Zhang Committed by Vinod Koul
Browse files

dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Update pcie phy bindings for qcs8300



The gcc_aux_clk is not required by the PCIe PHY on qcs8300 and is not
specified in the device tree node. Hence, move the qcs8300 phy
compatibility entry into the list of PHYs that require six clocks.

Removed the phy_aux clock from the PCIe PHY binding as it is no longer
used by any instance.

Fixes: e46e59b7 ("dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Document the QCS8300 QMP PCIe PHY Gen4 x2")
Signed-off-by: default avatarZiyue Zhang <ziyue.zhang@oss.qualcomm.com>
Acked-by: default avatarManivannan Sadhasivam <mani@kernel.org>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Reviewed-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Link: https://patch.msgid.link/20251128104928.4070050-2-ziyue.zhang@oss.qualcomm.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 49ccab4b
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ properties:

  clocks:
    minItems: 5
    maxItems: 7
    maxItems: 6

  clock-names:
    minItems: 5
@@ -67,7 +67,6 @@ properties:
      - enum: [rchng, refgen]
      - const: pipe
      - const: pipediv2
      - const: phy_aux

  power-domains:
    maxItems: 1
@@ -180,6 +179,7 @@ allOf:
          contains:
            enum:
              - qcom,glymur-qmp-gen5x4-pcie-phy
              - qcom,qcs8300-qmp-gen4x2-pcie-phy
              - qcom,sa8775p-qmp-gen4x2-pcie-phy
              - qcom,sa8775p-qmp-gen4x4-pcie-phy
              - qcom,sc8280xp-qmp-gen3x1-pcie-phy
@@ -197,19 +197,6 @@ allOf:
        clock-names:
          minItems: 6

  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,qcs8300-qmp-gen4x2-pcie-phy
    then:
      properties:
        clocks:
          minItems: 7
        clock-names:
          minItems: 7

  - if:
      properties:
        compatible: