Message ID | 20240513-pinctrl-scmi-oem-v3-v6-2-904975c99cc4@nxp.com |
---|---|
State | Superseded |
Headers | show
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2089.outbound.protection.outlook.com [40.107.21.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A30914F106; Mon, 13 May 2024 11:37:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715600266; cv=fail; b=Psi51Lc15+3NSCdzl1cV3kmoKN8GGdeUzIrNTIWLPlZY4p9YtPq9Q2/iUZxbnodsfhEXn2MZgGZypAZek+MLwVku6UgoF9+tNu0IUSI0DAnMgajPpiTNUj1xKJ0c4RYk9aWabwFaeL+DHDEA84dZbtEJTOYnKKnNNrz5qoMhAdQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715600266; c=relaxed/simple; bh=6vI6esihawUEAsMpS5AmmUzpDZmYxlKj+KMmJXgWIqo=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=YKHbM3xraM2yL4hcjpDvudb4C5gL142BMF8Avc9AeLtRadQ/xWRJTe/eEAeZtA8ODMk37HzznGmwp9Xo128+EIPwEciH1AUgx9sIWKhT+42QV+NDltlX+zyPoQ/1YGEmV3ygZm6Tj0LXJ4WiBjr1pNvh4/BZVv9XW5TdwHw7uHA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=AMEW9hYw; arc=fail smtp.client-ip=40.107.21.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="AMEW9hYw" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GexCZOM27I+JEegX69g84sKSjynLHS70YN6jS5uAZixwDIFRJ2QrGr0tfPbHIDz4+E0lwUIvZIZjx3WsWvJbBbNqToTm0CFuV34pW4JtdUSvkvcVt1v1Vsn5/uY9kCHgcvzmxbejOO4YpKn1ku7uG1reDDe78cHw1CGUcri7EaySA5prOlhTU7IkY5uFcFCDTGL3ZMHk+GxjUGMFQbWnd1t2ysiDCikIhIORCLzA+jfYIkr4+mDkoIOrgDoKpJ4F0oQIz4xlqkJvPm6TcTXMdz2NNFyRlTXO7zJheCYHC/NRgfmTIetwTL9RkqhK9Oad8eEEJefZpBekmoV0BpdOLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BSpuIAfuDc9u8B2QwCMoSNaXFE4wvMyesjB0lNEUwr0=; b=NU0TP3uxl+UFI2YMQsTyREePaP4+WLxjZd7RtzjFm7Ke+45IEwF/G91tQja+I05x0G+OI8qz+L4mLSMx2Q863Ux4rPlTyltm4wvnCO96ZLri6GkGXgCAK5iSmGIyEG15pe7bawiNlC2NZENjogqH46mLormbk7yZCVnV0punWxjBS3Cdmf5bIhMpzrQyh1vmPdmhic27U472PKdxDiNJjKHROTdJOf9Ef9zD/WhEflPhNX7sFS4R+mw19iCTQ4E+eOotfkCBbgPrLbVDlsGV64cIuwLb1t/SW89Z3GJwHw2Q/XAMr/YlJNMpCLFsiRbo2HGGEFTHEZhmnyeibQHV2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BSpuIAfuDc9u8B2QwCMoSNaXFE4wvMyesjB0lNEUwr0=; b=AMEW9hYw8MVvMdnJQiNW3nY68BaPGnngsaBidUpu+KK1nnXRH2o9H5u8bXHMHctZUnDHcoz1vhDhLUAKdpPmUzRPMhk+HeVavnDYrUXNPVVo0EKv80dCOPraIoBZjCNw8NH8qLs23q2n0GMCjbfTHwe5OTcYFD5SIINAzXlDBK0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9116.eurprd04.prod.outlook.com (2603:10a6:10:2f7::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Mon, 13 May 2024 11:37:41 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7544.052; Mon, 13 May 2024 11:37:41 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Mon, 13 May 2024 19:45:25 +0800 Subject: [PATCH v6 2/3] pinctrl: scmi: add blocklist Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240513-pinctrl-scmi-oem-v3-v6-2-904975c99cc4@nxp.com> References: <20240513-pinctrl-scmi-oem-v3-v6-0-904975c99cc4@nxp.com> In-Reply-To: <20240513-pinctrl-scmi-oem-v3-v6-0-904975c99cc4@nxp.com> To: Sudeep Holla <sudeep.holla@arm.com>, Cristian Marussi <cristian.marussi@arm.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Linus Walleij <linus.walleij@linaro.org>, Dong Aisheng <aisheng.dong@nxp.com>, Jacky Bai <ping.bai@nxp.com> Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-gpio@vger.kernel.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1715600734; l=1313; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=gKhGtuOf4rXyBBJYl1QLNqh0NrD/5voNP3TjnJqoeg4=; b=PT9fuNeAg28LPF2WPAHMyR8igYZ0Kvvt7jiphFEHqnUDyDI0iikMC2n8A3b/DAMnBiDP92Ruk nUtikJfi7d5D0oq1SQyopgXHBRHZDk64/6Msg7EzpiFEW95tk1+tpXj X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR03CA0089.apcprd03.prod.outlook.com (2603:1096:4:7c::17) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: <linux-gpio.vger.kernel.org> List-Subscribe: <mailto:linux-gpio+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-gpio+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9116:EE_ X-MS-Office365-Filtering-Correlation-Id: f938c3a4-74a5-4984-2a37-08dc73411913 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|366007|52116005|1800799015|376005|921011|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?aGB1jlplyz3BP5H7wW6LLbSxZueq3qF?= =?utf-8?q?kp0TNWChLInbHBaPQLvYCIux14ksSedJzZVmK+eJg4OMsMHgKvqWIngxzdzKWu1Uv?= =?utf-8?q?GE7F4pEEq6bwKqW6ohw262qY36obO4cnDBbT4TzCUSUy4LzxbuEk6gIirdimGuwES?= =?utf-8?q?yl6kdoOO3Cq5RDih7rHC9F1hfGTqck5WKsh17RwZmhV7ponmggDEem+Uv4RPBlorT?= =?utf-8?q?SisTWBPVMqV6x5ai8mnw09kDDPiPaVzmX+EcERUgCKAURz9Mfrpt5K4064ncVOkBr?= =?utf-8?q?6R5aXjWqDk9yQQVIuaLPwToDI5/ipnruLrwxe0I83P+aVajHsJqNkG+m4KvuX7TiD?= =?utf-8?q?QNqcqsI3sWqCmz+eBgqE9e/jDDbxZHfvMSA0VAdyepgIb3Jp5PwXcgTsGm3krQ6ma?= =?utf-8?q?X4R1zIskK71I2AkQ3WRjSo9+UaLaHEjXaJEc2sFxaBXRMw8dtrXsGObuNrkIFiqXk?= =?utf-8?q?ZytLW/hIwXq2lGtFp09X1r9d0M/emFirhj6RlZvsgBpduBQfKF6WeY0gWT9+YWYjP?= =?utf-8?q?LGsBvijCi2wFvdQcPfxdNsqxZk5NWLaOw3lvjB/knPIyNlA5e2LFiLvFCttLfIfEA?= =?utf-8?q?WbMY/tLh1BnHmz45zIZ5apvXq9aaWCkywYBFnzRvqO/GVa4RhxiIk26IPylSJL1WT?= =?utf-8?q?qtRqNMX4Z8Rw3K+UhVYFFeUgGE+JbJrbwmc3HcDSg964xkunMMyIlHIPC07/kREwI?= =?utf-8?q?3EDJxwqDRBdS06BCuYgleJ7arEUX0a5GMJBKlSJCk1OZ/UWMIbFI6RoxAHcxS/gMy?= =?utf-8?q?3SWV0Iqh/hMDltN+dhCLzSkfccYsoO/2KSWOZzjp8A93J6Gh2i0QKnfHdtFlQX3u+?= =?utf-8?q?MZJpISHTI/IdTn2B6YVo02X78rG03az1ashe/anR1HZgPGWs5dguX/VyGFiK+Kq7A?= =?utf-8?q?rtCbCj1NzQYyPoPGSUAL4kM5/IbkHLsWF9UqL4EuH/DDV7v4echkw/SznPw1yPu6M?= =?utf-8?q?tVpwteoCWh9oAi8snpfqFnm+nxvebfaqyA+6cPv2exepmu/MGncy8ZqEyvWLu7cwv?= =?utf-8?q?R4sUC4xkOJj7DdRFIZhQjcS/eTEh9Y+bSAiapfQF4izsMNSDzPFPRCbN9DYCoT3Dx?= =?utf-8?q?6ADr1qkTL2AZRmW08C+qn0AbuJlwGHns/BIhbNlpruxdojN7Gq8mNZOuZKQ2khQyZ?= =?utf-8?q?iFKdZucPuzf8cN1idGHhjiEgCTMfdQLXjk5PtqFkXcOkT/2Se2+K+BBl+p9Yur/M7?= =?utf-8?q?8yuAPBcUGiqmyp5jKgvG6vLSXM4qR4lcrR34jqX6u/uw6/OVhnn2AiLDWCapbVWNa?= =?utf-8?q?A7L4otJ0cXsBTVMhs2Pcg9NEXgWQrylqW+w=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(366007)(52116005)(1800799015)(376005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?a+jSztJOYNP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mzRjurqXGiguZL?= =?utf-8?q?iyIvzKkyErZBfAKWg2KONs1ae6xwrBJmXXhaacKGlr3nNhqXq0aAQZSBdD1cW+qo1?= =?utf-8?q?OWxUNZb7NLXOrX4/R2KYRXm0uAYPa40oHx/5WYDpHVJ8RPuRvznNlXhRS7vaIR+Hs?= =?utf-8?q?mR8RmdnEXLhpxcNuO9e84QnDGGUR4+T52OnZZzBHuKBZHamdXBjHI+1zJ0Y0fwga4?= =?utf-8?q?fSOXlb8kRyFBzi1SXgu27xuaZg87e6FICha+PH1r2G0hEYvJcXaj5QPNN70t1F7UG?= =?utf-8?q?IzatBCKTUgJigsxGZ5kug8UAUKRy+s04VwLNF/Kjc5kfMT3jKaYUPm3Brg/ATO/2o?= =?utf-8?q?/pSlhosJF84zx6Rx5sCSmPLfp9H1O7W4r/zn5x5r8tqBtUCJxe6cxm10KFbjPAKgG?= =?utf-8?q?xWD4ofv1895BCqipClxAdQOJV7v3bXbzn70gOiPbukQ4y7GfUsFm9nt+fMQ6DervD?= =?utf-8?q?g2/DlPzjXSWm5yMMn+bHoCWGzUPKq3ClDqDGv0DDDvHVxjzNqPdj7NITcXVTstVeR?= =?utf-8?q?vHF8o05oGt3927U5yoPn/N12JFBG6Ppsq3pBKCRm8DSaI7LWdIgJAOsN69M6Zi1GQ?= =?utf-8?q?JMHSxc+ELtWvyq1jGDmHRhcwdMpbE04By06rGGQtNafT9dyi5oCI4xU7GrN7QwwlO?= =?utf-8?q?GF3GgZlXUwIH?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f938c3a4-74a5-4984-2a37-08dc73411913 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2024 11:37:41.1533 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2yfW6Jr73Q2AD1DL2P2x+0eLkSGeF97sXSRFYsDxIpePvyILCpC0qNlz5tRmf0ddLDnktW+sTFUD9hkAtz0NbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9116 |
Series | pinctrl: scmi: support i.MX95 OEM extensions | expand |
diff --git a/drivers/pinctrl/pinctrl-scmi.c b/drivers/pinctrl/pinctrl-scmi.c index 036bc1e3fc6c..df4bbcd7d1d5 100644 --- a/drivers/pinctrl/pinctrl-scmi.c +++ b/drivers/pinctrl/pinctrl-scmi.c @@ -11,6 +11,7 @@ #include <linux/errno.h> #include <linux/module.h> #include <linux/mod_devicetable.h> +#include <linux/of.h> #include <linux/scmi_protocol.h> #include <linux/slab.h> #include <linux/types.h> @@ -504,6 +505,11 @@ static int pinctrl_scmi_get_pins(struct scmi_pinctrl *pmx, return 0; } +static const char * const scmi_pinctrl_blocklist[] = { + "fsl,imx95", + NULL +}; + static int scmi_pinctrl_probe(struct scmi_device *sdev) { int ret; @@ -515,6 +521,9 @@ static int scmi_pinctrl_probe(struct scmi_device *sdev) if (!sdev->handle) return -EINVAL; + if (of_machine_compatible_match(scmi_pinctrl_blocklist)) + return -ENODEV; + handle = sdev->handle; pinctrl_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_PINCTRL, &ph);