Thread (2 messages) 2 messages, 2 authors, 2016-05-05

[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 VMSA
short
quoted
descriptor page tables. It provides address translation for bus
masters outside of the CPU, each connected to the IOMMU through a port
called 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.txt
diff --git a/Documentation/devicetree/bindings/iommu/msm,iommu-v0.txt
b/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 VMSA
short
quoted
+descriptor page tables. It provides address translation for bus
+masters outside of the CPU, each connected to the IOMMU through a
port 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
and
quoted
+    secure mode, in that order. For instances that don't support secure
mode a
quoted
+    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.txt
quoted
+		  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 clocks
specified in
quoted
+		  the "clocks" property (above). See
+		  Documentation/devicetree/bindings/clock/clock-
bindings.txt
quoted
+		  for more info.
You must define how many clocks, their order and their names.
 Ok, will update this and repost

Regards,
 Sricharan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help