Message ID | 20240513-pinctrl-scmi-oem-v3-v6-2-904975c99cc4@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2CB41C25B10 for <linux-arm-kernel@archiver.kernel.org>; Mon, 13 May 2024 11:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rc81PE1fiNXoAuOWJuTTh2VDoghXhP3Re+Z/X9SX4do=; b=iq1EkNLXGMcD/9dc8Znu/TbrD0 ZBrZSL5lYez/NQ0rIp4TwpEwYptr7+EWMRPpzQT6b3SEJNmV6ivLGa7yrweU0HZQUIAEsknsRcQ8N k+2Jh528Jzqso2Ta1ZJoBO6u5HzMmLs9yOn2TiPFmTe1IUwp4xAZbxgbJBma5E9KUWUB6gmmFx9vg ptPyylw5eqQS8lkzWNfBkWdWJkWaQJIWKja7tNY/rrnw9cffp4tEjn1ukxpW3p/OThO7UkkJTEOm7 ED9/wqgn3cd7qTVeJX0SlHzS4/Dkhak8HNXp721OHIj7Air7RlrDtxJwITqNQ22VXu7sJD3zjVu91 idXSjO4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s6U09-0000000CgIZ-0sdB; Mon, 13 May 2024 11:37:53 +0000 Received: from mail-vi1eur05on20601.outbound.protection.outlook.com ([2a01:111:f403:2613::601] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s6U02-0000000CgDv-2aiU for linux-arm-kernel@lists.infradead.org; Mon, 13 May 2024 11:37:48 +0000 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 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) 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+jSztJOYNPrEEiHLeRLlcWLS+Fs?= =?utf-8?q?9bjJ2jSt1/YMciTXUWRbzRK92sA1Eq77b+WorS9TGnvc/Udgh8r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1cW+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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240513_043746_709252_E1AD097E X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
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);