Skip to content

Commit f2ab5a2

Browse files
krzkkwilczynski
authored andcommitted
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.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Acked-by: Rob Herring <robh@kernel.org>
1 parent 4791c44 commit f2ab5a2

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

Documentation/devicetree/bindings/pci/qcom,pcie.yaml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,33 @@ allOf:
479479
items:
480480
- const: pci # PCIe core reset
481481

482+
- if:
483+
properties:
484+
compatible:
485+
contains:
486+
enum:
487+
- qcom,pcie-sc8180x
488+
then:
489+
properties:
490+
clocks:
491+
minItems: 8
492+
maxItems: 8
493+
clock-names:
494+
items:
495+
- const: pipe # PIPE clock
496+
- const: aux # Auxiliary clock
497+
- const: cfg # Configuration clock
498+
- const: bus_master # Master AXI clock
499+
- const: bus_slave # Slave AXI clock
500+
- const: slave_q2a # Slave Q2A clock
501+
- const: ref # REFERENCE clock
502+
- const: tbu # PCIe TBU clock
503+
resets:
504+
maxItems: 1
505+
reset-names:
506+
items:
507+
- const: pci # PCIe core reset
508+
482509
- if:
483510
properties:
484511
compatible:
@@ -527,7 +554,6 @@ allOf:
527554
compatible:
528555
contains:
529556
enum:
530-
- qcom,pcie-sc8180x
531557
- qcom,pcie-sm8150
532558
- qcom,pcie-sm8250
533559
then:

0 commit comments

Comments
 (0)