Skip to contentSkip to conversation

ARM: dts: doc: Document missing binding for omap5-mpu

PATCH New Sricharan R 2 participants 3 messages Nov 11, 2013 – Nov 20, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 ARM: dts: doc: Document missing binding for omap5-mpu

The binding and support for omap5-mpu which has a cortex-a15 smp core, gic and integrated L2 cache has been existing for sometime. So Documenting the missing binding here.

Cc Benoit Cousson <[email protected]>
---
 Documentation/devicetree/bindings/arm/omap/mpu.txt |    8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/arm/omap/mpu.txt +8 -0
index 1a5a42c..83f405b 100644
@@ -7,10 +7,18 @@ The MPU contain CPUs, GIC, L2 cache and a local PRCM.
 Required properties:
 - compatible : Should be "ti,omap3-mpu" for OMAP3
                Should be "ti,omap4-mpu" for OMAP4
+	       Should be "ti,omap5-mpu" for OMAP5
 - ti,hwmods: "mpu"
 
 Examples:
 
+- For an OMAP5 SMP system:
+
+mpu {
+    compatible = "ti,omap5-mpu";
+    ti,hwmods = "mpu"
+};
+
 - For an OMAP4 SMP system:
 
 mpu {
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 2/2 ARM: dts: doc: Document missing binding for ti-sdma controller

The binding and support for system DMA module present in OMAP2+ Socs and DRA7 with dma-engine is already present. So adding the missing documentation for the same.

---
[V2] Fixed comments from Rob Herring <[email protected]>

 Documentation/devicetree/bindings/dma/ti-sdma.txt |   28 +++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/ti-sdma.txt
Documentation/devicetree/bindings/dma/ti-sdma.txt new file +28 -0
new file mode 100644
index 0000000..2e0a6d8
@@ -0,0 +1,28 @@
+TI SDMA
+
+Required Properties:
+- compatible :	Should be "ti,omap2420-sdma", "ti,omap2430-sdma" for OMAP2
+		Should be "ti,omap3430-sdma", "ti,omap3630-sdma" for OMAP3
+		Should be "ti,omap4430-sdma" for OMAP4, OMAP5 and DRA7
+- reg: Memory map for accessing module
+- interrupts: Interrupt request number from the DMA controller to
+	      interrupt controller
+- #dma-cells: Should be set to <1>
+- #dma-channels: Total number of logical DMA channels supported by the
+		controller
+- #dma-requests: Total number of DMA request signals supported by the
+		controller
+
+Example:
+
+sdma: dma-controller at 48056000 {
+	compatible = "ti,omap4430-sdma";
+	reg = <0x48056000 0x1000>;
+	interrupts = <12>,
+		     <13>,
+		     <14>,
+		     <15>;
+	#dma-cells = <1>;
+	#dma-channels = <32>;
+	#dma-requests = <64>;
+};
Signature · 1 line
1.7.9.5