dt-bindings: PCI: qcom: Do not require resets on msm8996 platforms

On MSM8996/APQ8096 platforms the PCIe controller doesn't have any
resets. So move the requirement stanza under the corresponding if
condition.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Rob Herring <[email protected]>
This commit is contained in:
Dmitry Baryshkov
2022-05-24 16:41:10 -05:00
committed by Bjorn Helgaas
parent 075a9d5593
commit 6700a9b00f
@@ -114,8 +114,6 @@ required:
- interrupt-map
- clocks
- clock-names
- resets
- reset-names
allOf:
- $ref: /schemas/pci/pci-bus.yaml#
@@ -504,6 +502,18 @@ allOf:
required:
- power-domains
- if:
not:
properties:
compatibles:
contains:
enum:
- qcom,pcie-msm8996
then:
required:
- resets
- reset-names
unevaluatedProperties: false
examples: