Skip to content

Commit 8f5bd6c

Browse files
lumagkwilczynski
authored andcommitted
dt-bindings: PCI: qcom-ep: Describe optional IOMMU
Some of Qualcomm platforms have an IOMMU unit between the PCIe IP and DDR. For example, the SA8775P specifies the iommu alththough it is not a part of bindings. Thus, change the schema in order to require the IOMMU for SA8775P and forbid it from being used on SDX55 (SM8450 will be handled in a later patch). This fixes the following warning: pcie-ep@1c10000: Unevaluated properties are not allowed ('iommus' was unexpected) Fixes: 9d3d5e7 ("dt-bindings: PCI: qcom-ep: Add support for SA8775P SoC") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]>
1 parent a22d303 commit 8f5bd6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ properties:
7575
- const: doorbell
7676
- const: dma
7777

78+
iommus:
79+
maxItems: 1
80+
7881
reset-gpios:
7982
description: GPIO used as PERST# input signal
8083
maxItems: 1
@@ -162,6 +165,7 @@ allOf:
162165
maxItems: 2
163166
interrupt-names:
164167
maxItems: 2
168+
iommus: false
165169

166170
- if:
167171
properties:
@@ -234,6 +238,8 @@ allOf:
234238
interrupt-names:
235239
minItems: 3
236240
maxItems: 3
241+
required:
242+
- iommus
237243

238244
unevaluatedProperties: false
239245

0 commit comments

Comments
 (0)