Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161420AbbBDRJp (ORCPT ); Wed, 4 Feb 2015 12:09:45 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:54277 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161320AbbBDRJn (ORCPT ); Wed, 4 Feb 2015 12:09:43 -0500 Message-ID: <54D25252.2010406@cogentembedded.com> Date: Wed, 04 Feb 2015 20:09:38 +0300 From: Sergei Shtylyov Organization: Cogent Embedded User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Zubair Lutfullah Kakakhel , linux-mips@linux-mips.org CC: devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, mturquette@linaro.org, sboyd@codeaurora.org, ralf@linux-mips.org, jslaby@suse.cz, tglx@linutronix.de, jason@lakedaemon.net, lars@metafoo.de, paul.burton@imgtec.com Subject: Re: [PATCH_V2 09/34] MIPS: jz4740: probe interrupt controller via DT References: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1423063323-19419-10-git-send-email-Zubair.Kakakhel@imgtec.com> In-Reply-To: <1423063323-19419-10-git-send-email-Zubair.Kakakhel@imgtec.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1408 Lines: 47 On 02/04/2015 06:21 PM, Zubair Lutfullah Kakakhel wrote: > From: Paul Burton > 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 > Cc: Lars-Peter Clausen > --- > arch/mips/boot/dts/jz4740.dtsi | 11 +++++++++++ > arch/mips/jz4740/setup.c | 2 -- > 2 files changed, 11 insertions(+), 2 deletions(-) > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/