Message ID | 20240521-pinctrl-scmi-imx95-v1-2-9a1175d735fd@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 3B3D8C25B75 for <linux-arm-kernel@archiver.kernel.org>; Tue, 21 May 2024 06:17:39 +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=PKcXxKBjocMv4MXjdxC7bubJBA 99SeSy5BmvktHWI0Wzg8qnIRLbVCC1rbqg/cPOL+5acsPTQdftYc2vN37C+1v5lBXl6H0DX750uBv r69SbsKqc1KHtAnSwhQtdf+LP9gjF+1XZBnVTE2AUZd/BOSADcWvaA+pcT2uV/7f3MHvm9BXHB2y0 Zk/vlgTSz4lXOob+9kCr8yOAiL9RWHwH88FYobyPepESj+8q8TH/69Xsvee4PXSCd097f99cE4Qir 4QxNtF1aPeVNNZd7Mv/mddMLubWuMqNm5ICAhrggIa+TOl7ug/LhP3NQfG1rFKN+jNSoUTik+Vo5J cuQv7T3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9IoO-0000000GRww-3Vbk; Tue, 21 May 2024 06:17:24 +0000 Received: from mail-am6eur05on20601.outbound.protection.outlook.com ([2a01:111:f403:2612::601] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9IoG-0000000GRoU-0TWv for linux-arm-kernel@lists.infradead.org; Tue, 21 May 2024 06:17:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZNbl3qJHGgtEsYaqbqzGlQ0den+yV06EBMO8PjxfKH3OagdGK5KH7pEiQEUvgXLCTFZhlnEDKPiNta2WkWba6QR67/YcNvF0Uw1MWGs0pKvj/4t2YlAFL6ncEOruTrR/rtPiKp2Xr/kw/SgzUD2ZBhVGAQwmGXgr8v7aXHfozk2cKO6jTNRiSiPh8eulTuXhAAZ5ORlE/v9zBeZkmvq3m2duetMfOtm5sGBnpeQBzjxB4Q1yBXL7zuMg3cSUfuoUGxhupGndsrK2lQczh/CtNejxUrHqUUbau5qv3rDLHughfmYbV+P3EHllIIoBx1dhHCuc2jO18ulLKIaoIuSG6A== 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=SUAbZHL7Atyga3h8kw0h35dPPc6fGZL06HAbacBT/4jc1UZiBBCJGujS2oj/O3rtCvR9AclRfby9mz9nQp0IsndIpTqssk8FmCjIt62Wd/UpSdBMJicGgRk0AiT2eL//yAvwceZJGnKqu1845hTQvVxQ64fXlZkzN8I/PyyZPeye05zTb/GExGG/iZQnInPdvktlBV67/rceLvzinVcwNsMjpX4S3SbOlKcbirIFF0RDDyrnXc6EbHgYuRWCMTLNVeKINJ0q3Blh+3rnUbWzfG3gu8Sm8Pad7V3BvtWERBngSrL5igrlSgARUAn+lJXTDQZJDHCPUe3WS4KHc03x+w== 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=Zrp3rQJdpkNnhh+OOqRo7gqjthVzWw1WwWizzKZKRFvb25m/nOfJP0FqndQvzy5K+yGxO5AT6NtUI1Lq+4zy464LCNJCV03evvO24EZX8c4CdpA6OLtHurgWoOVq4PVI87zMkaDz0yd2vM/TfYAl94nwSAzjGDTjGo/mkv34ZaE= 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 GVXPR04MB10705.eurprd04.prod.outlook.com (2603:10a6:150:223::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Tue, 21 May 2024 06:17:14 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::557f:6fcf:a5a7:981c]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::557f:6fcf:a5a7:981c%6]) with mapi id 15.20.7587.035; Tue, 21 May 2024 06:17:14 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Tue, 21 May 2024 14:25:58 +0800 Subject: [PATCH 2/3] pinctrl: scmi: add blocklist Message-Id: <20240521-pinctrl-scmi-imx95-v1-2-9a1175d735fd@nxp.com> References: <20240521-pinctrl-scmi-imx95-v1-0-9a1175d735fd@nxp.com> In-Reply-To: <20240521-pinctrl-scmi-imx95-v1-0-9a1175d735fd@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=1716272771; l=1313; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=gKhGtuOf4rXyBBJYl1QLNqh0NrD/5voNP3TjnJqoeg4=; b=OsBq554hEU0Fke9Vk3d4Oqc9PBA/AOjXjq02YWJAVWTGD8f00W0ddkpJbSs8irlghBr7sjxQ/ z03ZhgcQHJMDVR/jXSC6UG2eQ35J3b7i2eA66uLKWNt7OPtEewAPTkV X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR01CA0157.apcprd01.prod.exchangelabs.com (2603:1096:4:28::13) 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_|GVXPR04MB10705:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a36c743-bf89-4aca-babe-08dc795da856 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|366007|7416005|1800799015|52116005|376005|921011|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?VYeBflyiOm/kSraFJ+ALuigAWroP74g?= =?utf-8?q?t7qR8P+V9vhUYmT7W88xDO2nGKJdQrKh6aQXjqQklaYow7HqHjknIvD583O4xBKyU?= =?utf-8?q?uZeWzE/08l/Bf14s2PYM/1wdiQJ0YPf9MD4grxNkU64LTvpyXJ73dNg1+oRizs1Vb?= =?utf-8?q?GUzP7k851QJar1ASeztJK0BINt/0CcCHZ7xk6ioLQHVNbagm1hUC7/HVeEgynT5sU?= =?utf-8?q?AV8nRbE4bYo2I2G4vWvnWr+S589i/fJOqWKJNFPX2Ox2mOIiJXQ9PwK6Se9uWbDvO?= =?utf-8?q?NF/fRm/r9Xmxt89D+roV3E7Pa3YL8i5j6oqXw/64oEdBFrOZ3Xuu/Cj2q5EN7O2l1?= =?utf-8?q?vVE3oqffSTxUqMYAs4rX8udXxjNKqVGO2WXL4Fkl4XKizSaAUFGes5jNVXnCs83Yt?= =?utf-8?q?UjaNjW8acq/IN7sc4wvJxtdHxzdBcqaC7UfTGQu6CD6mqJMcg+8pKeAlBGepUNjWe?= =?utf-8?q?U398pxj7pMm57EIsDJ7TZ9mqA1zPp4RgYy52xTRPUKpqa8tjSGTZooCjdlhSuYOBx?= =?utf-8?q?bIIDl9JDv4QlFXtsdZ21Kiw2qn0RUgiNcMZCPZ+l9cuRjMl1Y1GCmm18AFo8I4WiA?= =?utf-8?q?xbtSqH3Dgf5DCRAMnmGBXYV3jkuMc9JPyN0AVHrvThg8KC7QPzwP5kIvn377VS/MS?= =?utf-8?q?aBLz3T0sUUzBwc3rPCiJa5GW5jVOz0ZgmiomHSoxrLtkCCcHasWwp7x+XsQvo+qWJ?= =?utf-8?q?gxlCerWUvQ8YpjIDzRNuQ8t4u6ibkSYPRSMXIWLCWQXxgMiOd9DurQdr0E4Tm9yj/?= =?utf-8?q?h50w8V9L4ULeHA3I1qr9Lr7d51grL+7VsExw34rsIBRsh8qF1MCYAXri07O4w8vuM?= =?utf-8?q?p5dmfrWA1VfXLE/1dWFOqAkHng6JgE5LZ7tgd6QDpFLuORpdeWd0V9EKRKAY4u9bi?= =?utf-8?q?QyhrRSFiak3SZbP++NoswVVeR2DyG8Skt630yx1VL6W0KUbHMLsiGFdvJQTFLgaa2?= =?utf-8?q?OrjG58TV0HH5iluB8B1BIv63z5bb9DlK4Zr4x+XJD2hE6xM5/oCVkr0Nb7RCYAbPn?= =?utf-8?q?mogukskpO79+TQQ94W+2jvFAwUVlz3L1Vr4mQgdN499dfolqc0Z9kGMRiwL7kKHz+?= =?utf-8?q?nGVmJ7x7MKCfA4lXLTDykyfwRpJOHkndzKmcYaUWZU98gfCkcVjJwLue/zAhoVUZ8?= =?utf-8?q?N1IdpTPF3Byp0lTPBNILjB6hIq+Zo9Oq21ASTLfxA1wGLuBQVcGHVzyRTxqd9vqjr?= =?utf-8?q?jNqAuKAJnTORXS1jFP8eMNOb+WvEZr97aHxzFVmF1HheM6jAy1Vbaw1p+ck9P6iz9?= =?utf-8?q?W1/Uzyo9YavQ6SFGF4FNvZnbS2mZNesl8cw=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)(366007)(7416005)(1800799015)(52116005)(376005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?B8MBW640xypqKuzZL1Q+AqNqOSAr?= =?utf-8?q?/wwrzPbDYP0+WzuBTd0LVldbKUiWSdxcrRXyedjePUaEf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OknJMY+xztjwK9nFV?= =?utf-8?q?IMj+HMmBNHvKx/QNY9hsGpgqvPwYAvc3i2UPBhIc4TVofvtxrCrlzqlk9hGjQbDo4?= =?utf-8?q?XJzbtGvbwO0+H6Yd6KjNi1tQEXRDu0KNnKDr1BvKgkRB2VF4KqUciWdCC9U5s1Bh0?= =?utf-8?q?94gcCXoeRm07l0COHsqmBCahbkvaMvTjeEXOY9OCqOiZiJXKNJgLjYe9yg3gFUp8h?= =?utf-8?q?aWaRY9Rpe+XG6/XXkk4NxJxhhaTqV3wk27mz3DNcCK+fi3yvvMqYly3T7DbKTG45E?= =?utf-8?q?jk1F0AsvMCUsT6eOEVP9K0NPlFZWY/rhdbPOGfAJSqgSKdfgtP2FHkezGrVh1G2Uc?= =?utf-8?q?hdjNsw/+CnUdfn3Rt2ykrs/wsAta3EWiuCc/RRXcBOf/l2BbwmKQYtVwrCGaE6A4V?= =?utf-8?q?DMQbrQVB/lBaFmqRKc+6JidYX+atFcCIt3EGIgWkMeMnEaoPycOfYYET+CdXHDbTa?= =?utf-8?q?VC8ws74LUKqCLLXeyg2CUBOFt5rMhsU9pHWjVtIvkqedgXv4Ou7RMgudDHdzVQl8+?= =?utf-8?q?dDL+yO/5iFE2DJCT03vJBLWc1DwCgFUMQ8qKPfPKCBDv4QzDyWcDjfGpQduFwEhIB?= =?utf-8?q?Mq9zlVaAhL/e?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a36c743-bf89-4aca-babe-08dc795da856 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 May 2024 06:17:14.3738 (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: 6SYd9LaKeJ63Zi8Zt9wqtVyJFBcwNSX6ZE7ffchvwsp58NF4dlUAm95coNtLIalo56HnWfeV/At/JLx3BFM3sg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10705 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240520_231716_263030_2217F313 X-CRM114-Status: GOOD ( 11.03 ) 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 with fsl,pins property | expand |
On Tue, May 21, 2024 at 02:25:58PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > i.MX95 will have its own pinctrl scmi driver, so need block > pinctrl-scmi driver for i.MX95, otherwise there will be two pinctrl > devices for a single scmi protocol@19. > I am not happy with NXP's we will use SCMI but in our own custom way. So take one last change to crib about it and hence reluctantly, Acked-by: Sudeep Holla <sudeep.holla@arm.com> -- Regards, Sudeep
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);