diff mbox

[3/4] CRIS: document CRISv32 intc bindings

Message ID 1423409745-2230-3-git-send-email-rabin@rab.in
State Needs Review / ACK, archived
Headers show

Checks

Context Check Description
robh/checkpatch warning total: 1 errors, 0 warnings, 0 lines checked
robh/patch-applied success

Commit Message

Rabin Vincent Feb. 8, 2015, 3:35 p.m. UTC
Add the DT bindings documentation for the CRISV32 interrupt controller.

Signed-off-by: Rabin Vincent <rabin@rab.in>
---
 .../interrupt-controller/axis,crisv32-intc.txt         | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/axis,crisv32-intc.txt

Comments

Jesper Nilsson Feb. 9, 2015, 9:45 a.m. UTC | #1
On Sun, Feb 08, 2015 at 04:35:44PM +0100, Rabin Vincent wrote:
> Add the DT bindings documentation for the CRISV32 interrupt controller.
> 
> Signed-off-by: Rabin Vincent <rabin@rab.in>

Looks good, putting it in the CRIS tree for 3.20.

/^JN - Jesper Nilsson
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/interrupt-controller/axis,crisv32-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/axis,crisv32-intc.txt
new file mode 100644
index 0000000..3726f14
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/axis,crisv32-intc.txt
@@ -0,0 +1,18 @@ 
+Axis CRISv32 interrupt controller
+
+Required properties:
+- compatible: Compatible property value should be "axis,cris32-intc"
+
+- reg: Physical base address of the controller and length of memory mapped
+       region.
+
+- interrupt-controller : Identifies the node as an interrupt controller
+
+Example:
+
+interrupt-controller {
+	compatible = "axis,crisv32-intc";
+	interrupt-controller;
+	reg = <0xb001c000 0x1000>;
+	#interrupt-cells = <1>;
+};