1

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

Commit 756485bfbb ("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: 756485bfbb ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
Link: https://lore.kernel.org/r/20240723151328.684-1-johan+linaro@kernel.org
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
Johan Hovold 2024-07-23 17:13:28 +02:00 committed by Bjorn Helgaas
parent f500a2f128
commit 3cd3b49989
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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#

View File

@ -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

View File

@ -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