Commit 6700a9b0 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Helgaas

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/20220506152107.1527552-3-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
parent 075a9d55
......@@ -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:
......
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