From patchwork Wed Jan 1 16:31:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Trimarchi X-Patchwork-Id: 1004 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D43373F03F for ; Wed, 1 Jan 2020 17:31:41 +0100 (CET) Received: by mail-wm1-f70.google.com with SMTP id 18sf429880wmp.0 for ; Wed, 01 Jan 2020 08:31:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577896301; cv=pass; d=google.com; s=arc-20160816; b=QAbYZG0pqHvpHMmT9P6feAAMhXjxQxtJ9OSM973fsf6ySZ4mn5s2W12zHCj5hqBrK6 tJFtODlncGNeGeJWqm1SQJLGOzJDhzMLOEfzAbByTfIUxJXduPIesRuZV4SLiSB21HNZ lrCf67tDbvk9Vfuu31VD7B6bYLpVdYx3Fn5Hv4b8Tche69HtkAYwi6MbPJdmuDj1eg0p krnkakzOusvK9iwK4v+1CaJ3qWFovMeTbV17wUXJPZblClrXti18Bw0+T9w2qdrirWuf anqG5ySzpIVZ6QL8UWZaHjPm0y0Z2TmrbqnEORTRMWNKVt8oaEmPhHglScDPzU4rbPpm Urkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=0ihrGbEC3GR3tkdcGzUYOHCxArjG7Rp14l/LxvvlIU8=; b=Xt26S4wQddJ3QwjoIk0PfxNxSedJAlyNVg6r6RnxTHj0UFa9hqFoZdK4fqpV9fXZLq Jmdds1itZywJQ+vykOuwuDRQ3Bb9tDV2iRU6jjHXn+3L+RTX89yjMziOV7rGFWy1JfXw zjhxdKhqElKLP4inxroq4jJ1Qs0Izm60zTyebXyv/rb5oPyv1gl7MHrFkNmzgfTwMiOA BHTI8jYa1yOZS4xijX++lvr+lrLG57+hr61evsbt8J3S4tTW5oNTcFZFeJogu2rbrBiQ yQED56RFb19Rlb8npfWkPRBDM9E9y2vNa4MkXH/K7byFeih4shJ1stRj/iAU+f0rWiUX QRkw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HTgpjlTE; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=0ihrGbEC3GR3tkdcGzUYOHCxArjG7Rp14l/LxvvlIU8=; b=oiCq5GS66m2Nx4zJyAX5hdkqfDFV2FrOmrWxnZ1NpH7SraZIUfoCdJXbeI+msuBkLI bUESbVhJ6Ju/wqgz1IKpBnmiXcDtEgUWDvs7E+vQn6f2X4aG0YC3C/wNXfjfLg7qTPeP x7GygJEsUqKoCO42+UkST/bherzjFmN9J5up0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=0ihrGbEC3GR3tkdcGzUYOHCxArjG7Rp14l/LxvvlIU8=; b=LRJo3FSN6E6tie6EUTNjjXDb1jZxLEp36s2oPaHhd9uJcXd0AITqSZNOKOV4KIofWu r287VQ6ohayhBt0WJZfEhnGfwdhvATYJNvyPtS+0tPtHfWUFx3nQbYS183O1EnXsDPGF uo0xaZlOoegPYVP4YknpYtzCV+hfEosaIuXXN2cxXoQBk8bU0ofzmhRRTUf/wotG+qCW THPZo2a9obOphn8NEiS8TO8A5UyOwJId5xiNg/5QuhH1Z/oQI8mwGzp7ikBkm4mWn15z xuQNiQnqtK+avVTZIsJmSXLoTTvHZBfKa1p7AWojq5j8OQrnWJmT81FFiSNCUGHDP/ld x6yQ== X-Gm-Message-State: APjAAAU4caW1oc/H8z01lgPPj+xkN/ODd7nhAxM5pnqmNmYHnFMDVhjr HRwbF03oq8zrKvI/wZYuPBw5P5Ep X-Google-Smtp-Source: APXvYqy9CbwEAyne05RkGmgB4A1QGACI0Rh55WHee2nLU7PGQbb+DEcN0FkB9Mlt8pOMqc2ntFToCg== X-Received: by 2002:a05:600c:145:: with SMTP id w5mr10735445wmm.157.1577896301616; Wed, 01 Jan 2020 08:31:41 -0800 (PST) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:65d0:: with SMTP id e16ls9681069wrw.1.gmail; Wed, 01 Jan 2020 08:31:41 -0800 (PST) X-Received: by 2002:adf:ee45:: with SMTP id w5mr75505145wro.352.1577896300866; Wed, 01 Jan 2020 08:31:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577896300; cv=none; d=google.com; s=arc-20160816; b=zYuQP4aJtFOKUqToewALMFOitGiCH0GVPVrv4U3RdcC3NsIE1Xlx4rGQ+JwMcBJnuJ 5/6iTw00byzfLcY7/k7Vth35wle2CQ9bO3rixZTuWc+4amdv9l2mKU7u2T+zqI7i7WS3 ZZ79+VTrjKHJGI9I9pzFuxu61Hme1lRW6+MgMvHCZ9VZIKQdSgEu66QybJemcpHnAToH NEoOnnCmcrL9q0Coy8jUtl6Egpan5UEsz+ioopf+o7Oiq31/aAVgLl/f0bEp9b6inbAw R+H7Ckpbe6+OKh9jl7xZjzwlhF8iCjAXhG3ZLwBFsxQqHf0JCJ2I/ygvEyVhXhanOw53 atfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gYZKhe3uyN0VpRDDzaRxilm8f5Lw+XJVpBkexHfk67g=; b=vVLm9ysIfWH/S3EThOtFt2GgvRlnNZBRiPi2KKdlKMbUbho2EAUlaXZaNL04TxZ+3m 9zno/iOry+eO5pEdKAVCVrd3Bm45GVF75jEvEBg0f1Vw6JE5NWYtBhRi7YZLdS4RFw7P xlqWyLsbiFbZJF/tmgsCPd9DzlVm3xdKdgfaIaTmjp3YluWTGV9PQyMRcUOSoA99QrG+ vyMYWFCMUSeoJssRE4mTdKD304lGbdUCR7T4qYaC+3dpL042f59YpgwVdVsxC/CrUAI2 lsaqoSSz/uDBrnm9FdWuQa/BONED3ZJS9HbJx1ealNczMJMp8TOP/rUnpjisaZypNQnC YxlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HTgpjlTE; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id u128sor2504951wme.9.2020.01.01.08.31.40 for (Google Transport Security); Wed, 01 Jan 2020 08:31:40 -0800 (PST) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; 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> X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HTgpjlTE; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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);