Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp16581057ybl; Wed, 1 Jan 2020 08:32:35 -0800 (PST) X-Google-Smtp-Source: APXvYqztGtKUnzR/gE1LXjOEGGAtLmF2bfMjhmVeq72o1NnwtFWyiPyP/XO8Hy5dOMz64zD7709L X-Received: by 2002:a05:6830:109a:: with SMTP id y26mr82826949oto.227.1577896355845; Wed, 01 Jan 2020 08:32:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577896355; cv=none; d=google.com; s=arc-20160816; b=tuN926wBwAMr9ZHIL7H0oyUeMe5IOa1JlRtK29HZB/Bdkbo+irZvvqxJ4cXQZsq/Lt 9IeuoIg+ijuLXw1ulnxVpPhQRBJdmCVCu8ZpAMv2FuNHuPKAUNXhmGBA6zMGGJAw8j6Y XZTtxsW4p+ojnseQzNZBYRPELJx+34k02CPy+UFBdfmTfedkWUFgZ1deVTqHyGMx0RDs uxBFJeBtB2pwgGYS7VtBsmYus3MOThSEctpZUFBHs9mHA2PYv2XPCNNEELfHQYGENNOw Bgg+Xy5Y6Sr/pJ20O4NYCIo+9Mz+W9WmoMagQMpVrpP2ua1ayPWe7h4jS0wo26PuOb13 Wjyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=gYZKhe3uyN0VpRDDzaRxilm8f5Lw+XJVpBkexHfk67g=; b=l99Tc6NZDkFjNdWzxltbKHsjFLW57lICXJytF5WuNAhoE02+0d6OIGAX7Hbwl4p3KG QC7ILcXO1WyuXZV3om/Rl6Z3iKRWCHU0x2QIwb9eEsCqYP6lzL2G24291RBGhvl+D5zw aO+qC+Bcx/EMwH72eFJp2L/BwDl+VEsbcyIig6d/BFC7bN/aRSp2/w0hkh/kzHQxizyB B3iyCRGlSnlZu3H5rrNeHSQf4HyWk6k+AWmd2TERIHHB1MyDXCMXQ8hH/LBc2BcginA8 bzlf2VVONel/Ycp5GHGhnBPgC5fWcwMWcx3yQTRh1P7/NnyIskdyiym1ux/1mi/ekx15 MTug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HTgpjlTE; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p62si16600087oig.101.2020.01.01.08.32.23; Wed, 01 Jan 2020 08:32:35 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HTgpjlTE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727221AbgAAQbm (ORCPT + 99 others); Wed, 1 Jan 2020 11:31:42 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:55251 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727173AbgAAQbm (ORCPT ); Wed, 1 Jan 2020 11:31:42 -0500 Received: by mail-wm1-f68.google.com with SMTP id b19so3769637wmj.4 for ; Wed, 01 Jan 2020 08:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gYZKhe3uyN0VpRDDzaRxilm8f5Lw+XJVpBkexHfk67g=; b=HTgpjlTEb7MsRiJ+qHdkhSPVvdCn6qLEjnqyz4BdrafRQwVHY+GaYYyU+kOLy3NTOR BIwpcedApB+WNiOwqXDqHUHSzfOVDlqbpSK+lmUIZkhr7TW87OiUaISAhQGwHVY3s8rI jp0cCO/s5+0VXfeBr8W6ZnGPucqnqJsNXB7OY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gYZKhe3uyN0VpRDDzaRxilm8f5Lw+XJVpBkexHfk67g=; b=Q3Ymvvt2eeO8eFQBiTXXgbmIFQ06LN6VWqcECyDCBHK3fXvAuOsVfLc0SpBQhZxwiX BmHcw/e/axByx+Y7m/ZDtRFsFrvOAcuwp1o2AZ08kfDoJEkP/dAHSaPdu3AagZc/Lyei ZBXYX/ta7kni5OGnr8Qv4ovpRoCC7A10fNyqc6Pc+/hPSOLnL0ehrx8gWMbSqS9zazi1 ghQkOfp2vQORSK3WGVZ6uQ9KqMSTqytkTWstetOEJlyQujzlDYSL7YgVBzuuc0ol2jYz 3q6eEAVckQqdBxapdE45c2pVLe/uLOQ7ih8EW074X5fysZz+CH4L723BAafpmcoYoWqW wnkw== X-Gm-Message-State: APjAAAWYk0F3IrtLv/dFwqgK5PqNCLYXBaaIK4h3FV7t1zLTlxev1fK0 A2pR8w0O9fsCH8TC2KhhISuZsQ== X-Received: by 2002:a7b:c5d8:: with SMTP id n24mr9904376wmk.124.1577896300553; Wed, 01 Jan 2020 08:31:40 -0800 (PST) Received: from panicking.lan (93-46-124-24.ip107.fastwebnet.it. [93.46.124.24]) by smtp.gmail.com with ESMTPSA id u13sm6108580wmd.36.2020.01.01.08.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2020 08:31:40 -0800 (PST) From: Michael Trimarchi To: Shawn Guo Cc: Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Fabio Estevam , Rob Herring , Mark Rutland , linux-amarula@amarulasolutions.com Subject: [PATCH 2/3] irqchip/irq-imx-gpcv2: Add IRQCHIP_DECLARE for i.MX8MM compatible Date: Wed, 1 Jan 2020 17:31:35 +0100 Message-Id: <20200101163136.1586-3-michael@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200101163136.1586-1-michael@amarulasolutions.com> References: <20200101163136.1586-1-michael@amarulasolutions.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GPC node on i.MX8MM can not claim to be compatible with the i.MX8MQ GPC, as the power gating part has some significant differences. Thus we can not rely on the irqchip being probed with the old compatible. Signed-off-by: Michael Trimarchi --- drivers/irqchip/irq-imx-gpcv2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c index 4f74c15c4755..80855f15539c 100644 --- a/drivers/irqchip/irq-imx-gpcv2.c +++ b/drivers/irqchip/irq-imx-gpcv2.c @@ -196,6 +196,7 @@ static const struct irq_domain_ops gpcv2_irqchip_data_domain_ops = { static const struct of_device_id gpcv2_of_match[] = { { .compatible = "fsl,imx7d-gpc", .data = (const void *) 2 }, { .compatible = "fsl,imx8mq-gpc", .data = (const void *) 4 }, + { .compatible = "fsl,imx8mm-gpc", .data = (const void *) 4 }, { /* END */ } }; @@ -290,3 +291,4 @@ static int __init imx_gpcv2_irqchip_init(struct device_node *node, IRQCHIP_DECLARE(imx_gpcv2_imx7d, "fsl,imx7d-gpc", imx_gpcv2_irqchip_init); IRQCHIP_DECLARE(imx_gpcv2_imx8mq, "fsl,imx8mq-gpc", imx_gpcv2_irqchip_init); +IRQCHIP_DECLARE(imx_gpcv2_imx8mm, "fsl,imx8mm-gpc", imx_gpcv2_irqchip_init); -- 2.17.1