Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3913010ybi; Mon, 29 Jul 2019 15:12:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzn2F9Y5ivECCL7XmzMJ1CaCa0J+KHto+3j1T/jv3GXLOxlr7DtnfGVs85Jra/YiUHdr5hb X-Received: by 2002:a63:6c7:: with SMTP id 190mr104919173pgg.7.1564438325418; Mon, 29 Jul 2019 15:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564438325; cv=none; d=google.com; s=arc-20160816; b=rQYXL6BiDnjDXfMURR1rUaRAHaiS5h2vdE9i6hsDRmivcpoMFKgTSIsK7h3gegZTY5 DC23uHHORzH3UlyKpL2KwCR6ha1A1b/EYFy3itMpSQphk1XAx5TMHCQnQQprQpEtbobC OHebobvr5+du3mXHsV5yQebE5ztbxLsaqgNBYXFI7E+n77r4Fz1jlA9GiB+h8FNKcbXc h93iSJVvRWdJnOvV/Dkto2HbZ8Kp4zyNzs7o+sVfPTA64MFv2JhCdouysHDEktEIMyFR vVWrqNCiC7nInDV5je8PGALGuFIeSrRZyGICphjAxEzoQ6AbbkESoOBnENcCfuln9Gn8 5zZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=8+qV28YYJniA0AukbbbJEysxFPjT+avEllLJr1CUVTc=; b=tEuxV9Jg1ZeWwbndEdQSaphDznwNIiPEaOePBDUs9GyFfiox0NOJfpIIjDtHjLuPIu ozrDREl/t/eiy8vAps+VhCW0oq0fSeSsMSdkWuOoetZ4PFr+YZohFIJfMDQRFFEdE+5j b66imeBfjmsYphY+zJt6t6NA6Ic9B4kJR0B+yhHTsd7Bj0VkLszmQhcw+6nxB3U7y5ns BdqWS1Va3+vlI/68uLXvlm+TaUpb/hXxSbVnjQB7XFwEzUzTnQsFMFCbAjLQT0+pOXDL Z+SEjgMoILsiZ8F+hgM0twuIhAaATybCei5Q5qib0JVb75KkGjLAIBBXOTvCZFDDAYsU lF7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=sw7qv0bB; 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=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si25718235pgm.412.2019.07.29.15.11.50; Mon, 29 Jul 2019 15:12:05 -0700 (PDT) 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; dkim=fail header.i=@crapouillou.net header.s=mail header.b=sw7qv0bB; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728857AbfG2RZx (ORCPT + 99 others); Mon, 29 Jul 2019 13:25:53 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:41776 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbfG2RZx (ORCPT ); Mon, 29 Jul 2019 13:25:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1564421150; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8+qV28YYJniA0AukbbbJEysxFPjT+avEllLJr1CUVTc=; b=sw7qv0bBtbgyJbzjIoXXSS5FQUZvEZVn+PBWp+obxwOs3LGxECaxlAlmHs21P/b5RUAAT2 hq6FrRaKanu/AvUQ+9uDVSKCtxex0VPrTUwZ6r9t9aKZFL10PAYPf2AkIALQERSqS8sSyJ P+HgUycY6IzIHqJMAUh1dl/zHZM8GZA= Date: Mon, 29 Jul 2019 13:25:33 -0400 From: Paul Cercueil Subject: Re: [PATCH 4/4 v4] irqchip: Ingenic: Add support for new Ingenic Socs. To: Zhou Yanjie Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, tglx@linutronix.de, mark.rutland@arm.com, jason@lakedaemon.net, marc.zyngier@arm.com Message-Id: <1564421133.6633.1@crapouillou.net> In-Reply-To: <1564335273-22931-5-git-send-email-zhouyanjie@zoho.com> References: <1548517123-60058-1-git-send-email-zhouyanjie@zoho.com> <1564335273-22931-1-git-send-email-zhouyanjie@zoho.com> <1564335273-22931-5-git-send-email-zhouyanjie@zoho.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le dim. 28 juil. 2019 =E0 13:34, Zhou Yanjie a=20 =E9crit : > Add support for probing the irq-ingenic driver on the JZ4760/JZ4760B > and the X1000/X1000E and the X1500 Socs from Ingenic. >=20 > Signed-off-by: Zhou Yanjie > --- > drivers/irqchip/irq-ingenic.c | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/drivers/irqchip/irq-ingenic.c=20 > b/drivers/irqchip/irq-ingenic.c > index 8430f5a..b72430c 100644 > --- a/drivers/irqchip/irq-ingenic.c > +++ b/drivers/irqchip/irq-ingenic.c > @@ -173,6 +173,11 @@ static int __init intc_2chip_of_init(struct=20 > device_node *node, > { > return ingenic_intc_of_init(node, 2); > } > +IRQCHIP_DECLARE(jz4760_intc, "ingenic,jz4760-intc",=20 > intc_2chip_of_init); > +IRQCHIP_DECLARE(jz4760b_intc, "ingenic,jz4760b-intc",=20 > intc_2chip_of_init); > IRQCHIP_DECLARE(jz4770_intc, "ingenic,jz4770-intc",=20 > intc_2chip_of_init); > IRQCHIP_DECLARE(jz4775_intc, "ingenic,jz4775-intc",=20 > intc_2chip_of_init); > IRQCHIP_DECLARE(jz4780_intc, "ingenic,jz4780-intc",=20 > intc_2chip_of_init); > +IRQCHIP_DECLARE(x1000_intc, "ingenic,x1000-intc",=20 > intc_2chip_of_init); > +IRQCHIP_DECLARE(x1000e_intc, "ingenic,x1000e-intc",=20 > intc_2chip_of_init); > +IRQCHIP_DECLARE(x1500_intc, "ingenic,x1500-intc",=20 > intc_2chip_of_init); All these compatible strings point to the exact same behaviour. It was already a mistake to have the three "ingenic,jz47[70,75,80]-intc" here; there should have been only one, e.g. "ingenic,jz4770-intc" and the=20 other two SoCs using it as a fallback compatible. I think you don't need to add these, and in your devicetree just use "ingenic,jz4780-intc" as a fallback compatible. Cheers, -Paul =