Skip to content

Commit b9bc881

Browse files
rmurphy-armwildea01
authored andcommitted
Docs: dt: document ARM SMMUv3 generic binding usage
We're about to ratify our use of the generic binding, so document it. CC: Rob Herring <[email protected]> CC: Mark Rutland <[email protected]> Signed-off-by: Robin Murphy <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent 57f98d2 commit b9bc881

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ the PCIe specification.
2727
* "cmdq-sync" - CMD_SYNC complete
2828
* "gerror" - Global Error activated
2929

30+
- #iommu-cells : See the generic IOMMU binding described in
31+
devicetree/bindings/pci/pci-iommu.txt
32+
for details. For SMMUv3, must be 1, with each cell
33+
describing a single stream ID. All possible stream
34+
IDs which a device may emit must be described.
35+
3036
** SMMUv3 optional properties:
3137

3238
- dma-coherent : Present if DMA operations made by the SMMU (page
@@ -54,6 +60,6 @@ the PCIe specification.
5460
<GIC_SPI 79 IRQ_TYPE_EDGE_RISING>;
5561
interrupt-names = "eventq", "priq", "cmdq-sync", "gerror";
5662
dma-coherent;
57-
#iommu-cells = <0>;
63+
#iommu-cells = <1>;
5864
msi-parent = <&its 0xff0000>;
5965
};

0 commit comments

Comments
 (0)