Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1753983ybl; Thu, 19 Dec 2019 02:25:26 -0800 (PST) X-Google-Smtp-Source: APXvYqx7iOMlusW4Fo90xovf0DHidaHkOLy47Nc6cPmE/UnJLWc863lV5V5RJeos14izXeD0WCpf X-Received: by 2002:aca:48cf:: with SMTP id v198mr1858913oia.35.1576751126458; Thu, 19 Dec 2019 02:25:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576751126; cv=none; d=google.com; s=arc-20160816; b=T/QUyOu9VxdGTuHknrq6dGcZLT3u3HlRmpS12pTi5tRlxX7QesB0nu14/spSf1Isnl 2ZImJl5b1uho+0heAH1tyEHSqtheSrUh5Irh4KnLZtrheT0YqHzzPlPRlU9wQIW0r0G/ 3wxA+chBUwlIWNf4DfmSgv2CDFn65V7br/dUEjcHxYv00oYegA7D7RYyWFm2sIg7JsBR wFyqCh+baR5mo5py3DCzi7wI0TThdSF9UgXCQhvPWWe8bMp+nfljCr+nYDEFzzdAPuI/ rXzD72bCfOV7OevKmuIQKRcoQ9XDitYGCYGCaa6ETZl6lbpPEimCH/fKwP5xnZzR5IMN I2Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ND7csA9oI/2HuZHnVRcSLKvi9O3OyCrsfCnVWv6dUds=; b=NADuaJFL2yPY9cB7mN2p1XJqFedSHnm1MwDDVQ6jQVLTCUD6iisbfj1QgkJpgun8xH RVuBK5dkPgc6j8bzVL3pNHoHt2Gs7LNVELhdxpYS/wdbpWnbHFhH96DxCa72DVGDCtiN Dxi1ueNx3o8qM5c2FFZ/Ehph6gAuwais1HNjJYALnrCoSpPOR6+94fvI16d3C39EZogx ZcnF9RLuCHI/njcLBfZ62yKiSWKMBiTo6LgXUeLtIZOV7hb+13Us+AvmDgEiahOj0cS1 bCVgkan/aHNi4VaGVE9l8aZfaJY6jPyKlXisd914QXX2G/sG/sqErRbHcNwBdpr/3k0W cpdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x207si2890811oif.30.2019.12.19.02.25.14; Thu, 19 Dec 2019 02:25:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726751AbfLSKY1 (ORCPT + 99 others); Thu, 19 Dec 2019 05:24:27 -0500 Received: from inva021.nxp.com ([92.121.34.21]:39426 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726622AbfLSKY1 (ORCPT ); Thu, 19 Dec 2019 05:24:27 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 65DA22003FD; Thu, 19 Dec 2019 11:24:25 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B5A48200007; Thu, 19 Dec 2019 11:24:19 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 8547A4028B; Thu, 19 Dec 2019 18:24:12 +0800 (SGT) From: Joakim Zhang To: tglx@linutronix.de, maz@kernel.org, jason@lakedaemon.net, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, linux-imx@nxp.com, linux-kernel@vger.kernel.org, fugang.duan@nxp.com, linux-arm-kernel@lists.infradead.org, Joakim Zhang Subject: [PATCH V2 0/2] irqchip: add NXP INTMUX interrupt controller Date: Thu, 19 Dec 2019 18:21:03 +0800 Message-Id: <1576750865-14442-1-git-send-email-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, Registering domain for each channel is indeed a bit unreasonable, I have changed the driver to support only one channel (channel 0 by default) as muti-channels is designed to route interrupt to different cores. The fixed channel is enough for us. Thanks for your kindly review. ChangeLog: V1->V2: *squash patches: drivers/irqchip: enable INTMUX interrupt controller driver drivers/irqchip: add NXP INTMUX interrupt multiplexer support *remove properity "fsl,intmux_chans", only support channel 0 by default. *delete two unused macros. *align the various field in struct intmux_data. *turn to spin lock _irqsave version. *delete struct intmux_irqchip_data *disable interrupt in probe stage and clear pending status in remove stage Joakim Zhang (2): dt-bindings/irq: add binding for NXP INTMUX interrupt multiplexer drivers/irqchip: add NXP INTMUX interrupt multiplexer support .../interrupt-controller/fsl,intmux.txt | 28 ++ drivers/irqchip/Kconfig | 6 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-imx-intmux.c | 240 ++++++++++++++++++ 4 files changed, 275 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.txt create mode 100644 drivers/irqchip/irq-imx-intmux.c -- 2.17.1