From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161044AbbBDRFZ (ORCPT ); Wed, 4 Feb 2015 12:05:25 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:42976 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966108AbbBDRFX (ORCPT ); Wed, 4 Feb 2015 12:05:23 -0500 Message-ID: <54D2514E.3020409@cogentembedded.com> Date: Wed, 04 Feb 2015 20:05:18 +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 04/34] MIPS: jz4740: probe CPU interrupt controller via DT References: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1423063323-19419-5-git-send-email-Zubair.Kakakhel@imgtec.com> In-Reply-To: <1423063323-19419-5-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 Hello. On 02/04/2015 06:21 PM, Zubair Lutfullah Kakakhel wrote: > From: Paul Burton > Use the generic irqchip_init function to probe irqchip drivers using DT, > and add the appropriate node to the jz4740 devicetree in place of the > call to mips_cpu_irq_init. > Signed-off-by: Paul Burton > Cc: Lars-Peter Clausen > --- > arch/mips/boot/dts/jz4740.dtsi | 7 +++++++ > arch/mips/jz4740/irq.c | 4 ++-- > 2 files changed, 9 insertions(+), 2 deletions(-) > diff --git a/arch/mips/boot/dts/jz4740.dtsi b/arch/mips/boot/dts/jz4740.dtsi > index c538691f..2d64765c 100644 > --- a/arch/mips/boot/dts/jz4740.dtsi > +++ b/arch/mips/boot/dts/jz4740.dtsi > @@ -2,4 +2,11 @@ > #address-cells = <1>; > #size-cells = <1>; > compatible = "ingenic,jz4740"; > + > + cpuintc: cpuintc@0 { Please name it "interrupt-controller". And why there's if there's no "reg" prop? > + #address-cells = <0>; > + #interrupt-cells = <1>; > + interrupt-controller; > + compatible = "mti,cpu-interrupt-controller"; > + }; > }; [...] WBR, Sergei