Skip to content

Commit

Permalink
dt-bindings: PCI: qcom: Do not require resets on msm8996 platforms
Browse files Browse the repository at this point in the history
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.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Dmitry Baryshkov authored and Bjorn Helgaas committed May 24, 2022
1 parent 075a9d5 commit 6700a9b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Documentation/devicetree/bindings/pci/qcom,pcie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ required:
- interrupt-map
- clocks
- clock-names
- resets
- reset-names

allOf:
- $ref: /schemas/pci/pci-bus.yaml#
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6700a9b

Please sign in to comment.