[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54D2514E.3020409@cogentembedded.com>
Date:	Wed, 04 Feb 2015 20:05:18 +0300
From:	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To:	Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>,
	linux-mips@...ux-mips.org
CC:	devicetree@...r.kernel.org, linux-serial@...r.kernel.org,
	linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
	mturquette@...aro.org, sboyd@...eaurora.org, ralf@...ux-mips.org,
	jslaby@...e.cz, tglx@...utronix.de, jason@...edaemon.net,
	lars@...afoo.de, paul.burton@...tec.com
Subject: Re: [PATCH_V2 04/34] MIPS: jz4740: probe CPU interrupt controller
 via DT
Hello.
On 02/04/2015 06:21 PM, Zubair Lutfullah Kakakhel wrote:
> From: Paul Burton <paul.burton@...tec.com>
> 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 <paul.burton@...tec.com>
> Cc: Lars-Peter Clausen <lars@...afoo.de>
> ---
>   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 <unit-address> if 
there's no "reg" prop?
> +		#address-cells = <0>;
> +		#interrupt-cells = <1>;
> +		interrupt-controller;
> +		compatible = "mti,cpu-interrupt-controller";
> +	};
>   };
[...]
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
