Commit f2ab5a24 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Krzysztof Wilczyński

dt-bindings: PCI: qcom: Correct clocks for SC8180x

PCI node in Qualcomm SC8180x DTS has 8 clocks:

  sc8180x-primus.dtb: pci@1c00000: 'oneOf' conditional failed, one must be fixed:
    ['pipe', 'aux', 'cfg', 'bus_master', 'bus_slave', 'slave_q2a', 'ref', 'tbu'] is too short

Link: https://lore.kernel.org/linux-pci/20231208105155.36097-2-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
parent 4791c44c
...@@ -479,6 +479,33 @@ allOf: ...@@ -479,6 +479,33 @@ allOf:
items: items:
- const: pci # PCIe core reset - const: pci # PCIe core reset
- if:
properties:
compatible:
contains:
enum:
- qcom,pcie-sc8180x
then:
properties:
clocks:
minItems: 8
maxItems: 8
clock-names:
items:
- const: pipe # PIPE clock
- const: aux # Auxiliary clock
- const: cfg # Configuration clock
- const: bus_master # Master AXI clock
- const: bus_slave # Slave AXI clock
- const: slave_q2a # Slave Q2A clock
- const: ref # REFERENCE clock
- const: tbu # PCIe TBU clock
resets:
maxItems: 1
reset-names:
items:
- const: pci # PCIe core reset
- if: - if:
properties: properties:
compatible: compatible:
...@@ -527,7 +554,6 @@ allOf: ...@@ -527,7 +554,6 @@ allOf:
compatible: compatible:
contains: contains:
enum: enum:
- qcom,pcie-sc8180x
- qcom,pcie-sm8150 - qcom,pcie-sm8150
- qcom,pcie-sm8250 - qcom,pcie-sm8250
then: then:
......
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