linux-mips
[Top] [All Lists]

Re: [PATCH_V2 11/34] MIPS: jz4740: register an irq_domain for the interr

To: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Subject: Re: [PATCH_V2 11/34] MIPS: jz4740: register an irq_domain for the interrupt controller
From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 04 Feb 2015 17:19:01 +0100
Cc: linux-mips@linux-mips.org, 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
In-reply-to: <1423063323-19419-12-git-send-email-Zubair.Kakakhel@imgtec.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1423063323-19419-12-git-send-email-Zubair.Kakakhel@imgtec.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; )
On Wednesday 04 February 2015 15:21:40 Zubair Lutfullah Kakakhel wrote:
> +       domain = irq_domain_add_legacy(node, num_chips * 32, JZ4740_IRQ_BASE, 
> 0,
> +                                      &irq_domain_simple_ops, NULL);
> +       if (!domain)
> +               pr_warn("unable to register IRQ domain\n");
> +
>         setup_irq(parent_irq, &jz4740_cascade_action);

Can you use the linear domain instead, or do you still require devices
that are hardcoded in the platform code rather than DT?

        Arnd

<Prev in Thread] Current Thread [Next in Thread>