Thread (44 messages) 44 messages, 5 authors, 2015-02-04

Re: [PATCH_V2 09/34] MIPS: jz4740: probe interrupt controller via DT

From: Sergei Shtylyov <hidden>
Date: 2015-02-04 17:09:45
Also in: linux-mips, linux-serial, lkml

On 02/04/2015 06:21 PM, Zubair Lutfullah Kakakhel wrote:
From: Paul Burton <redacted>
Add the appropriate DT node to probe the interrupt controller driver
using the devicetree, and remove the call to jz4740_intc_init.
Signed-off-by: Paul Burton <redacted>
Cc: Lars-Peter Clausen <lars@metafoo.de>
---
  arch/mips/boot/dts/jz4740.dtsi | 11 +++++++++++
  arch/mips/jz4740/setup.c       |  2 --
  2 files changed, 11 insertions(+), 2 deletions(-)
quoted hunk ↗ jump to hunk
diff --git a/arch/mips/boot/dts/jz4740.dtsi b/arch/mips/boot/dts/jz4740.dtsi
index 2d64765c..3841024 100644
--- a/arch/mips/boot/dts/jz4740.dtsi
+++ b/arch/mips/boot/dts/jz4740.dtsi
@@ -9,4 +9,15 @@
  		interrupt-controller;
  		compatible = "mti,cpu-interrupt-controller";
  	};
+
+	intc: intc@10001000 {
    Name it "interrupt-controller@10001000", please. I have faint memories of 
already telling you to do this...
+		compatible = "ingenic,jz4740-intc";
+		reg = <0x10001000 0x14>;
+
+		interrupt-controller;
+		#interrupt-cells = <1>;
+
+		interrupt-parent = <&cpuintc>;
+		interrupts = <2>;
+	};
  };
[...]

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