Commit 3cd3b499 authored by Johan Hovold's avatar Johan Hovold Committed by Bjorn Helgaas

dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again

Commit 756485bf ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
bindings, which results in DT checker warnings like:

  arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
  from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#

Note that this property has been part of the Qualcomm PCIe bindings since
2018 and would need to be deprecated rather than simply removed if there is
a desire to replace it with 'vpcie3v3' which is used for some non-Qualcomm
controllers.

Link: https://lore.kernel.org/lkml/Zp_LPixNnh-2Fy5N@hovoldconsulting.com/
Fixes: 756485bf ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
Link: https://lore.kernel.org/r/20240723151328.684-1-johan+linaro@kernel.orgSigned-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
parent f500a2f1
...@@ -78,6 +78,9 @@ properties: ...@@ -78,6 +78,9 @@ properties:
description: GPIO controlled connection to WAKE# signal description: GPIO controlled connection to WAKE# signal
maxItems: 1 maxItems: 1
vddpe-3v3-supply:
description: PCIe endpoint power supply
required: required:
- reg - reg
- reg-names - reg-names
......
...@@ -74,9 +74,6 @@ properties: ...@@ -74,9 +74,6 @@ properties:
items: items:
- const: pci - const: pci
vddpe-3v3-supply:
description: PCIe endpoint power supply
allOf: allOf:
- $ref: qcom,pcie-common.yaml# - $ref: qcom,pcie-common.yaml#
......
...@@ -58,9 +58,6 @@ properties: ...@@ -58,9 +58,6 @@ properties:
items: items:
- const: pci - const: pci
vddpe-3v3-supply:
description: A phandle to the PCIe endpoint power supply
required: required:
- interconnects - interconnects
- interconnect-names - interconnect-names
......
...@@ -91,6 +91,9 @@ properties: ...@@ -91,6 +91,9 @@ properties:
vdda_refclk-supply: vdda_refclk-supply:
description: A phandle to the core analog power supply for IC which generates reference clock description: A phandle to the core analog power supply for IC which generates reference clock
vddpe-3v3-supply:
description: A phandle to the PCIe endpoint power supply
phys: phys:
maxItems: 1 maxItems: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment