[PATCH V3 2/7] documentation: iommu: Add bindings for msm, iommu-v0 ip
From: Sricharan <hidden>
Date: 2016-05-05 05:10:00
Also in:
linux-arm-msm, linux-devicetree, linux-iommu
Hi,
quoted
The MSM IOMMU is an implementation compatible with the ARM VMSAshortquoted
descriptor page tables. It provides address translation for bus masters outside of the CPU, each connected to the IOMMU through a portcalled micro-TLB.quoted
Adding the DT bindings for the same. Signed-off-by: Sricharan R <redacted> --- .../devicetree/bindings/iommu/msm,iommu-v0.txt | 62++++++++++++++++++++++quoted
1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/iommu/msm,iommu-v0.txtdiff --git a/Documentation/devicetree/bindings/iommu/msm,iommu-v0.txtb/Documentation/devicetree/bindings/iommu/msm,iommu-v0.txt new file mode 100644 index 0000000..63b4f96--- /dev/null +++ b/Documentation/devicetree/bindings/iommu/msm,iommu-v0.txt@@ -0,0 +1,62 @@ +* MSM IOMMU + +The MSM IOMMU is an implementation compatible with the ARM VMSAshortquoted
+descriptor page tables. It provides address translation for bus +masters outside of the CPU, each connected to the IOMMU through aport called micro-TLB.quoted
+ +Required Properties: + + - compatible: Must contain "msm,iommu-v0".SOC specific compatible strings please.
Ok sure. I think I missed being explicit here last time.
quoted
+ - reg: Base address and size of the IOMMU registers. + - interrupts: Specifiers for the MMU fault interrupts. For instances
that
quoted
+ support secure mode two interrupts must be specified, for
non-secure
andquoted
+ secure mode, in that order. For instances that don't support securemode aquoted
+ single interrupt must be specified. + - #iommu-cells: The number of cells needed to specify the stream id.
This
quoted
+ is always 1. + - qcom,ncb: The total number of context banks in the IOMMU. + - clocks : List of clocks to be used during SMMU register access. See + Documentation/devicetree/bindings/clock/clock-bindings.txtquoted
+ for information about the format. For each clock specified + here, there must be a corresponding entry in clock-names + (see below). + + - clock-names : List of clock names corresponding to the clocksspecified inquoted
+ the "clocks" property (above). See + Documentation/devicetree/bindings/clock/clock-bindings.txtquoted
+ for more info.You must define how many clocks, their order and their names.
Ok, will update this and repost Regards, Sricharan