Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966803AbbBDQTN (ORCPT ); Wed, 4 Feb 2015 11:19:13 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:55174 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965355AbbBDQTL (ORCPT ); Wed, 4 Feb 2015 11:19:11 -0500 From: Arnd Bergmann To: Zubair Lutfullah Kakakhel 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 Subject: Re: [PATCH_V2 11/34] MIPS: jz4740: register an irq_domain for the interrupt controller Date: Wed, 04 Feb 2015 17:19:01 +0100 Message-ID: <27674856.cQPkonRYdW@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1423063323-19419-12-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1423063323-19419-12-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:KE160W1LFcl9uiNuK110Jo9L5QXFAAjLVC+67c2NFlK9kw08agv nx5Y0DltWdNWOysgHjK0txNIIkGgz+8iywp7vHLB0uzB76F7HAm5Wa4kQ6Xka0zaZVHEdn3 3W05ECkkRNVbNkxM6WnsXLH16DvL4fP+HTdfDLxt5TGtQ3nTnWOgIjKbkqnG2yU+CoN2+Os +5mjoTLV0u1D8IDcSpj9w== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 753 Lines: 17 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 -- 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/