Skip to content

Commit 3a936b2

Browse files
jhovoldLorenzo Pieralisi
authored andcommitted
dt-bindings: PCI: qcom: Add SC8280XP/SA8540P interconnects
Add the missing SC8280XP/SA8540P "pcie-mem" and "cpu-pcie" interconnect paths to the bindings. Link: https://lore.kernel.org/r/[email protected] Fixes: 76d777a ("dt-bindings: PCI: qcom: Add SC8280XP to binding") Fixes: 76c4207 ("dt-bindings: PCI: qcom: Add SA8540P to binding") Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Manivannan Sadhasivam <[email protected]>
1 parent 9abf231 commit 3a936b2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ properties:
6262
minItems: 3
6363
maxItems: 13
6464

65+
interconnects:
66+
maxItems: 2
67+
68+
interconnect-names:
69+
items:
70+
- const: pcie-mem
71+
- const: cpu-pcie
72+
6573
resets:
6674
minItems: 1
6775
maxItems: 12
@@ -631,6 +639,18 @@ allOf:
631639
items:
632640
- const: pci # PCIe core reset
633641

642+
- if:
643+
properties:
644+
compatible:
645+
contains:
646+
enum:
647+
- qcom,pcie-sa8540p
648+
- qcom,pcie-sc8280xp
649+
then:
650+
required:
651+
- interconnects
652+
- interconnect-names
653+
634654
- if:
635655
not:
636656
properties:

0 commit comments

Comments
 (0)