From patchwork Thu Feb 11 03:02:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noam Camus X-Patchwork-Id: 581760 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9151814031E for ; Thu, 11 Feb 2016 14:07:50 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ezchip.onmicrosoft.com header.i=@ezchip.onmicrosoft.com header.b=eacICMwu; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aThbg-0002MO-1D; Thu, 11 Feb 2016 03:07:48 +0000 Received: from mail-am1on0084.outbound.protection.outlook.com ([157.56.112.84] helo=emea01-am1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aThbd-0002Hp-71 for linux-snps-arc@lists.infradead.org; Thu, 11 Feb 2016 03:07:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ezchip.onmicrosoft.com; s=selector1-ezchip-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=l74g1r5m/pm5uphFl5wBYc0CpckgLQHD9Z0KMZpPOF0=; b=eacICMwuwvkW8PzDms+MFLDUfEwv68vxLwEMqHqNhaHYDCYB9/iZU0YRP+ATtvSSsjzN1pO4Kthbk66gD9pLHzELAEssGMxFi9GoOo2YEhHJ73JNOZM2o7gxBtscCltBnnyxaFBHRnbTu+nw5Or/PKPGNg0ODo5Z7vZSp1YuG5Q= Received: from HE1PR02CA0068.eurprd02.prod.outlook.com (10.163.170.36) by AMSPR02MB086.eurprd02.prod.outlook.com (10.242.92.152) with Microsoft SMTP Server (TLS) id 15.1.396.15; Thu, 11 Feb 2016 03:07:22 +0000 Received: from DB3FFO11FD041.protection.gbl (2a01:111:f400:7e04::134) by HE1PR02CA0068.outlook.office365.com (2a01:111:e400:5350::36) with Microsoft SMTP Server (TLS) id 15.1.409.15 via Frontend Transport; Thu, 11 Feb 2016 03:07:21 +0000 Authentication-Results: spf=fail (sender IP is 212.179.42.66) smtp.mailfrom=ezchip.com; arm.com; dkim=none (message not signed) header.d=none; arm.com; dmarc=none action=none header.from=ezchip.com; Received-SPF: Fail (protection.outlook.com: domain of ezchip.com does not designate 212.179.42.66 as permitted sender) receiver=protection.outlook.com; client-ip=212.179.42.66; helo=ezex10.ezchip.com; Received: from ezex10.ezchip.com (212.179.42.66) by DB3FFO11FD041.mail.protection.outlook.com (10.47.217.72) with Microsoft SMTP Server (TLS) id 15.1.409.7 via Frontend Transport; Thu, 11 Feb 2016 03:07:18 +0000 Received: from localhost.localdomain (10.1.3.132) by ezex10.ezchip.com (10.1.1.4) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 11 Feb 2016 05:06:54 +0200 From: Noam Camus To: Subject: [PATCH v4 3/3] irqchip: add nps Internal and external irqchips Date: Thu, 11 Feb 2016 05:02:21 +0200 Message-ID: <1455159741-21722-4-git-send-email-noamc@ezchip.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1454775406-25277-1-git-send-email-noamc@ezchip.com> References: <1454775406-25277-1-git-send-email-noamc@ezchip.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.1191-8.000.1202-22124.003 X-TM-AS-Result: No--14.521500-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD041; 1:y9Y86Rl7Z9/sztDuwSK+9NyosL/BMkc+9rDu4Aj64Si6gzc7AwIp0f4dty0A65TSiVD0jmpNbOw5WabZueZ4AYAqZe2p4gkSmGViy16i0HkCQ/IiDlQir66hzOeWde0it+iXhwj/Tj1dqlhyRYglV9nunrYGZxs4g+hzxK0bHQ5aiD8TlNkJf7FfyrLlQ63aX1Q+CDzddETcu4VOf+FPa7jNlHwMsRcnqGJahJrNoqxqya5vFADkWZXzYJMwNPM6vNBB/D35hyUXIk5ginvsyKKEceVcjfa+wGXPzvAyL4cFHg0ZKe0yJjeWV8N3KJ/3hJ9pUTH4GW4QBk9zQ8vZe9htfazhzPaRp85K7HhEXTCr6PKtENYxHjiwtaBIcp7DucgFVy0fv4PTbXE+Ip0lK0jTwyp5h1Z4/C2ZczeAi2B9CREkZk6Duc1CuA7doSAcaF5DtNQ98I/TgOPZaTB0AC86YHBxiKlef3r4AZTJeWhxk/QSR3U0NCF595tW3lZo X-Forefront-Antispam-Report: CIP:212.179.42.66; CTRY:IL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(3190300001)(339900001)(199003)(189002)(47776003)(586003)(77096005)(229853001)(106466001)(5003940100001)(50226001)(1220700001)(2906002)(2950100001)(50986999)(105606002)(2351001)(1096002)(5008740100001)(85426001)(110136002)(6806005)(86362001)(48376002)(92566002)(4326007)(189998001)(33646002)(19580405001)(19580395003)(5001970100001)(49486002)(104016004)(87936001)(76176999)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:AMSPR02MB086; H:ezex10.ezchip.com; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AMSPR02MB086; 2:aGfQfuPWP8lafc6udPwReZibix488rkrhCDQaEomVrBYRjibx/sfiBBWSFocVrefKhaHDJwEDhtm66e+IPrpf9aTmNfBt2OO5GMT1hZfQbxlnPflZ46a86442grrR4BQ5Dvogs5iVmJ+NYnrYke/sQ==; 3:NqeiMblh9xwUxeHZXxSgM94kz2BGvnPQtIUVHgd1LIR7nuzHwS9QBZ1C4igWXglVYlXc/cpuhGczxDkUAGh5C+NTdyC+Z3S9iflK3O8M/rVwwbMVxIUQLwzD4TZAPMggLVk+NXzGDqoB9Zz2u7H73ORW6ZCBqyhbshC/GeH6TpTYkCmxMEOG6zym/BabKQNOZ5DpQvqjgwilCA+N71NTZA3zjsfCQHWkzAWVk0g6VkY=; 25:wZK3Lf1kuxFkv/bcEYfKv/Qc3PXb2qJhpLesUXUGi6AmWYkoyVVTdLjCgQfiAwSc/bCnDovCYrafSYwdbtt0RTbBNq3rYSl/FI7Mi8ipyYMskqvdhpHGf1cSSKOVI88mL3jLlJgqLM1Nc4Cvk+h57YJhNGJRD6H4sL39JGxJWUNLktfjWVd5RI7rLy7Fo4lf7hU3Qn6p64JsTypZQpHLHi5j/RwArmY35JeHwmkYedXent/AvqZROh947rZz4Fetl70f3mlFcQ+FkYlNN1gI7EVoWYGLRuiXgMt1x8BGJIWAPXTF1epIV0g6nn9t80cG; 20:bYVc57Pph8kPY0md3XySTxOP8sqB+60PXha0TgC/AYcnKUdUKzVf/Un8n10b6EncdHassQN9UsBRcXytEqucuVg+rwNwzuGU+IWgEIsFSGGs7dL1Sgusp9RvLr1VPa+uPn/dNoaLgPmYIXCnOel0gdE7+hk1+FzcmjKaMT5AZow= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AMSPR02MB086; X-MS-Office365-Filtering-Correlation-Id: da93a3a0-b0f5-47bb-2ff7-08d3329074d5 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(5005006)(8121501046)(13015025)(13017025)(13018025)(13024025)(10201501046)(3002001); SRVR:AMSPR02MB086; BCL:0; PCL:0; RULEID:; SRVR:AMSPR02MB086; X-Microsoft-Exchange-Diagnostics: 1; AMSPR02MB086; 4:tcbRkby7HuzyCL1kzo2YK5y9zw6N7eOMOhffOkZGLbP9T9PaA7OMJPGlLC7kxCXFldhznLBvQFqAflajS5ozKyTE5RoMtCXWyKifeJ47VP6nmSu/W7OrXJfAhugN6ASl9U+9QGbQDpLvT5dNWA+If5egRRB1V5bLZ+kaohT3Gf3o+fopUYyZP239Q/+7surPTcIhW0fi0AHRRaJ2aec5WM4rvPuowl07Tf73KsI71xi2czpiv74A9smPMsaECZQ4h13v1c1Nz7DJ1ePMrtEpniN9pHNx4GkNsBJXsUu34SrP9bGDDjAb2Dfhx0mWGEEDg4bgowTbD0sWHr+cH1AKdxn3hqBZJDEJMLzZfyZ6CrNX2RRr1+nht0PD6ITcEOxvl3sSak/vMHcJgqABhOmyBk2zhGh0vJyKXNsCmv0chhJYherSDjTd+fVr9xbywF6afuND9/jLwzxFCSmiX279Sj0V6L5m7a7DGTBTqJuhy6Dx9I1/XBfrNvcU8LUw3t/i X-Forefront-PRVS: 08497C3D99 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AMSPR02MB086; 23:6pHdzU1WPFAkOfvNb0YSa0jcgm409e5KsTXn7XHdSD?= =?us-ascii?Q?6qulmp4Pn78rXAWUtW3ttMuSOODfCEsRceV8/hqtLcQDby8mvelr5Zygw4O5?= =?us-ascii?Q?+UcLiyVOgIJ6pIOVwWMuWecPCPoYTLebc26Ti9bJusd5CT1Mxia7lCqh3vnE?= =?us-ascii?Q?3Jb62zk6CFJhIuk9bPoyVeo5qQYQK4gPkaIuALIvNL5a1sBzNHC8dK6LkcZG?= =?us-ascii?Q?OOSPqeEueHMuvTI3nXnzics0Q7gwxmg4ozmXfmKO/kGaFOiBHSTM52X2Am0/?= =?us-ascii?Q?211fouxStBW3KxbykkaFgQdGRBEaJVOYqCsz3rBqR5ugdMmoELpS7+QaIBRI?= =?us-ascii?Q?cZhEUxDjJHiK84JrtdQA7VD+3tU6y7b3++MGh/i8PTsgtVO5AIpmxaqsz786?= =?us-ascii?Q?FfrDCdxKY63HOXvlckzI4iGLkcMcWqUV7SLU2mw0/y0EOv98klweRZp2t+gy?= =?us-ascii?Q?m5WsDMmLTEabxxfQp+XNCQTc49hspTobK1utQn/cgoZJrl5aDr2+dtnGtk/5?= =?us-ascii?Q?NvT2H9WjtAEgi0WG54VIWndO5c/TT390lRe4EKZNvlTuub+hpJenXaPSGlHD?= =?us-ascii?Q?39HVj+RGjjbs+f7o0XrHpzcO0a738RemQ9Qbt02quA0e91mlUfkaZvY7+9ju?= =?us-ascii?Q?52vHcGLUtPfELPrRr+c15nqpNLpM2nJUl/j8Afyn2XREThO9knE2soOEeCji?= =?us-ascii?Q?Hx6qO9p3PeFEGd2lBnuK512t3UhqBn4PvYoyGTt7NyUU+bkzWwNeYQEfEoSy?= =?us-ascii?Q?OsocStiXSOBoZSnXodQ2wPm40mlkSNckNrYj6odfVsA+ZzDSQ6/qCjbjsHZP?= =?us-ascii?Q?mYUIa1N+knv4fWXWnGgKVgJhwATPwpYKEFwwiZDFKKO31pOP6SrwBbaJbiHG?= =?us-ascii?Q?raNljhzv/UDYyD1fd4kPMZJGUW3L5w81jepPiP5WAW3/L866WRq4eJ3YkiBJ?= =?us-ascii?Q?PSLsj1Yj/ACVyJk2riZ//Jl9rmLzuop1rD0cOhtv9IzFfy5HYw5VRm8KMrph?= =?us-ascii?Q?EF87q7g0TLsPF3f4X217FuarbdapYs1oRGDFEbKlTGa3fIn9awgPOQD7LSOt?= =?us-ascii?Q?smdAQ=3D?= X-Microsoft-Exchange-Diagnostics: 1; AMSPR02MB086; 5:yFMaQE2kvJ7DqKhaB0xgNpxU1BJxwDgaz4Pa8QuoWB3f7/QCgD7y4RLN878LndX6dtYbJCIgj76G7e/FHNUzXaxEYP8c66U6S/ZbWZTnBYHfF7odZwa90Veu7mQol4qYobPG/qThgewSTXDqylkckA==; 24:Dv8HWLOBdFcsxr4FmZ0hTgVwstCBt9LpOdV4/p1wGQl4bTG3NFTLfw8jwpQ0D9UNnn4piztLXhVEqLtbyrDxzzsOtNRqEVaaRwn42AKruk4= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2016 03:07:18.2935 (UTC) X-MS-Exchange-CrossTenant-Id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3; Ip=[212.179.42.66]; Helo=[ezex10.ezchip.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMSPR02MB086 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160210_190745_778420_781328F5 X-CRM114-Status: GOOD ( 19.14 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [157.56.112.84 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [157.56.112.84 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jason Cooper , marc.zyngier@arm.com, daniel.lezcano@linaro.org, talz@ezchip.com, cmetcalf@ezchip.com, Noam Camus , Thomas Gleixner , linux-snps-arc@lists.infradead.org, giladb@ezchip.com Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Noam Camus Adding EZchip NPS400 support. NPS internal interrupts are internally handled at Multi Thread Manager (MTM) that is signaled for deactivating an interrupt. External interrupts is handled also at Global Interrupt Controller (GIC) e.g. serial and network devices. Signed-off-by: Noam Camus Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier --- .../interrupt-controller/ezchip,nps400-ic.txt | 17 +++ drivers/irqchip/Kconfig | 6 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-eznps.c | 145 ++++++++++++++++++++ 4 files changed, 169 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt create mode 100644 drivers/irqchip/irq-eznps.c diff --git a/Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt new file mode 100644 index 0000000..888b2b9 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt @@ -0,0 +1,17 @@ +EZchip NPS Interrupt Controller + +Required properties: + +- compatible : should be "ezchip,nps400-ic" +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The value shall be 1. + + +Example: + +intc: interrupt-controller { + compatible = "ezchip,nps400-ic"; + interrupt-controller; + #interrupt-cells = <1>; +}; diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 4d7294e..bc5e775 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -193,3 +193,9 @@ config IRQ_MXS def_bool y if MACH_ASM9260 || ARCH_MXS select IRQ_DOMAIN select STMP_DEVICE + +config EZNPS_GIC + bool "NPS400 Global Interrupt Manager (GIM)" + select IRQ_DOMAIN + help + Support the EZchip NPS400 global interrupt controller diff --git a/drivers/irqchip/Makefile b/drivers/irqchip/Makefile index 177f78f..1390142 100644 --- a/drivers/irqchip/Makefile +++ b/drivers/irqchip/Makefile @@ -55,3 +55,4 @@ obj-$(CONFIG_RENESAS_H8S_INTC) += irq-renesas-h8s.o obj-$(CONFIG_ARCH_SA1100) += irq-sa11x0.o obj-$(CONFIG_INGENIC_IRQ) += irq-ingenic.o obj-$(CONFIG_IMX_GPCV2) += irq-imx-gpcv2.o +obj-$(CONFIG_EZNPS_GIC) += irq-eznps.o diff --git a/drivers/irqchip/irq-eznps.c b/drivers/irqchip/irq-eznps.c new file mode 100644 index 0000000..acc55a3 --- /dev/null +++ b/drivers/irqchip/irq-eznps.c @@ -0,0 +1,145 @@ +/* + * Copyright(c) 2015 EZchip Technologies. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * The full GNU General Public License is included in this distribution in + * the file called "COPYING". + */ + +#include +#include +#include +#include +#include +#include +#include + +#define NPS_NR_CPU_IRQS 8 /* number of interrupt lines of NPS400 CPU */ +#define NPS_TIMER0_IRQ 3 + +/* + * NPS400 core includes an Interrupt Controller (IC) support. + * All cores can deactivate level irqs at first level control + * at cores mesh layer called MTM. + * For devices out side chip e.g. uart, network there is another + * level called Global Interrupt Manager (GIM). + * This second level can control level and edge interrupt. + * + * NOTE: AUX_IENABLE and CTOP_AUX_IACK are auxiliary registers + * with private HW copy per CPU. + */ + +static void nps400_irq_mask(struct irq_data *irqd) +{ + unsigned int ienb; + unsigned int irq = irqd_to_hwirq(irqd); + + ienb = read_aux_reg(AUX_IENABLE); + ienb &= ~(1 << irq); + write_aux_reg(AUX_IENABLE, ienb); +} + +static void nps400_irq_unmask(struct irq_data *irqd) +{ + unsigned int ienb; + unsigned int irq = irqd_to_hwirq(irqd); + + ienb = read_aux_reg(AUX_IENABLE); + ienb |= (1 << irq); + write_aux_reg(AUX_IENABLE, ienb); +} + +static void nps400_irq_eoi_global(struct irq_data *irqd) +{ + unsigned int __maybe_unused irq = irqd_to_hwirq(irqd); + + write_aux_reg(CTOP_AUX_IACK, 1 << irq); + + /* Don't ack GIC before all device access attempts are done */ + mb(); + + nps_ack_gic(); +} + +static void nps400_irq_eoi(struct irq_data *irqd) +{ + unsigned int __maybe_unused irq = irqd_to_hwirq(irqd); + + write_aux_reg(CTOP_AUX_IACK, 1 << irq); +} + +static struct irq_chip nps400_irq_chip_fasteoi = { + .name = "NPS400 IC Global", + .irq_mask = nps400_irq_mask, + .irq_unmask = nps400_irq_unmask, + .irq_eoi = nps400_irq_eoi_global, +}; + +static struct irq_chip nps400_irq_chip_percpu = { + .name = "NPS400 IC", + .irq_mask = nps400_irq_mask, + .irq_unmask = nps400_irq_unmask, + .irq_eoi = nps400_irq_eoi, +}; + +static int nps400_irq_map(struct irq_domain *d, unsigned int virq, + irq_hw_number_t hw) +{ + switch (hw) { + case NPS_TIMER0_IRQ: +#ifdef CONFIG_SMP + case IPI_IRQ: +#endif + irq_set_percpu_devid(virq); + irq_set_chip_and_handler(virq, &nps400_irq_chip_percpu, + handle_percpu_devid_irq); + break; + default: + irq_set_chip_and_handler(virq, &nps400_irq_chip_fasteoi, + handle_fasteoi_irq); + break; + } + + return 0; +} + +static const struct irq_domain_ops nps400_irq_ops = { + .xlate = irq_domain_xlate_onecell, + .map = nps400_irq_map, +}; + +static int __init nps400_of_init(struct device_node *node, + struct device_node *parent) +{ + static struct irq_domain *nps400_root_domain; + + if (parent) + panic("DeviceTree incore ic not a root irq controller\n"); + + nps400_root_domain = irq_domain_add_linear(node, NPS_NR_CPU_IRQS, + &nps400_irq_ops, NULL); + + if (!nps400_root_domain) + panic("nps400 root irq domain not avail\n"); + + /* + * Needed for primary domain lookup to succeed + * This is a primary irqchip, and can never have a parent + */ + irq_set_default_host(nps400_root_domain); + +#ifdef CONFIG_SMP + irq_create_mapping(nps400_root_domain, IPI_IRQ); +#endif + + return 0; +} +IRQCHIP_DECLARE(ezchip_nps400_ic, "ezchip,nps400-ic", nps400_of_init);