From patchwork Fri Apr 12 00:29:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13626675 Return-Path: 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 AC884C4345F for ; Fri, 12 Apr 2024 00:21:41 +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:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3xlzCdaZIWM/6f8ZHjZ5hH1LA1VxyAhryT0RMJnps1E=; b=J9qBKipL7/b1LC Rp4GpSdrBkDrnAwAIEWcslmjRGRHjCQEgJFdDy5+ICwb748GqYaIJL58eGqIDRAgKiCsk7qeNmPbM rfnj/yNaaMaOqBJNz22Vejpnu9/2MBqCKwDNAhiKcvIKI8qOoe1QdXve/tEuTHv55qt4Yr6ig2H5+ O7K3v9ZoVZ/x4p2lVwqoUTMeyQk9Eg3ZtFZzRW+fbyA11srNtXgnznN9daxvr2REBYUVMG23wzKUY t6iLuJCWoONmM7I2gjrQXC0VKTbJeokUHE9cWkKq6O8xf11whnuXBAH/Cisy/oSzq+oJ80yLTmK+u 7d0xxm2aLT57FrXHlXhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv4fY-0000000EcgE-2rTo; Fri, 12 Apr 2024 00:21:28 +0000 Received: from mail-db8eur05on2061b.outbound.protection.outlook.com ([2a01:111:f400:7e1a::61b] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv4fV-0000000EcfM-36Mw for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 00:21:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WBJf8ygNDYKiUq09ixp+MSiR/XYRmJmhCnfbzcAccsF3TFDIXcx5Ip9trj71ZHRIFamniq0sb8QlJ5xcQB3MzYccfqzqlr8eO2C9LpfqBdMebcUjdaUBtRTetdZYZb2kVjFpucqmOMdwarFEMTgTsuFE2AdjRi+N02xy3wwKbyPaAGlihoriE1MVfKjJQzoR+UMEfP267Z3dWKnylWQNb6PscL2xUw+1oeb/yfVAsVIC+Xie2xJbkAJu9VBQB2KOvZJ6alXJVxWScYXtb4Evv4oVTAscAXhbiT7CmL9mpAF0E5EdojdNh4TsNHVQwQ47zkQIXxhuNuuBldf8Rcgsqg== 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=it+OUvIgHyhZidLVoM3yG3gEMv/oyg06GoXnSuq+X08=; b=jijnKU87OZYKpdkjLLn/M9Wb3w13304EbY0mDMeeiu2ul7ybkhXobLam8TgmE9HwKWFjnNSQTwdR6MMDFBwQwmkTBmWr3H43J1AGuacpztrZoEloSQowBNv64hQDSRP9M6wEAw0ed//ucrLXLO+Vz3/8eGftKvYSBbf4vmyxNVZPOr7gqz5ozDd60m5LptOxWXRHG/nQjRbKuYi+qYsk7uGcNfUSPhz5aE2rfUruFEaEm2qCZuGhWjb1UkgcWEu01O8RtJ0IBY0PENNFJNt8RzzzOAwYulGrueAzQvIyi+X1gsY9XnPH3QXo1aRz2I7IaM3+5JU9zdhgticIyJ7JiQ== 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=it+OUvIgHyhZidLVoM3yG3gEMv/oyg06GoXnSuq+X08=; b=lLtHuZoMSrIs0K9Xc67YOl+oyskBxYjaExqvLBlNJUhaddLxqhrsng6zSGAkO2FUlfqpTNRmyXtyBJ/xyv+kRJGPu+OHX+plzY/PlV4A63o3W8nwB9KoCRLMZIllT8twK9EYXoz5LwCXc5WLv6Kb24is+QI7DMfk903x2Lo+wh4= 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 AM8PR04MB7970.eurprd04.prod.outlook.com (2603:10a6:20b:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Fri, 12 Apr 2024 00:21:22 +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.7386.037; Fri, 12 Apr 2024 00:21:22 +0000 From: "Peng Fan (OSS)" Subject: [PATCH 0/3] pinctrl: scmi: support i.MX95 OEM extensions Date: Fri, 12 Apr 2024 08:29:24 +0800 Message-Id: <20240412-pinctrl-scmi-oem-v1-v1-0-704f242544c1@nxp.com> X-B4-Tracking: v=1; b=H4sIAGSAGGYC/x3MQQqAIBBA0avIrBtQmUV1lWhhNtVAWWhIIN09a fkW/xdIHIUT9KpA5CxJzlBhGgV+c2FllLkarLakyVi8JPg77pj8IXjygdkgdeSddZOhVkMtr8i LPP91GN/3AyIuIAplAAAA To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Peng Fan , Sudeep Holla , Cristian Marussi Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1712881775; l=1113; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=ugPvJFgjnLJ0NJ4wxAzAYriJw4zQ+J6ovcBuFXmrJK0=; b=3+HE8AbL61B1AlyhYweRJo9Z23PKvzL6iH2zusoi1uoMXT62RZi1frAkUvQ1E/ZOseai+dCMD X7B+cE8RQTvBgZYfik0Pbs/1atGOxlUQFfjUcmM41PnxwKBu++pZw8e X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0030.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::15) 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_|AM8PR04MB7970:EE_ X-MS-Office365-Filtering-Correlation-Id: b7e2c0d5-d1d7-42b2-1db8-08dc5a867b41 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YDo60lquzj9CBscG4PmqX1hooj8aA1dlQ8PheZLVdOM8PFj0pNU6ZwAR/jJPJYuMn7HKabg3YR15lFN+99tglJj+5UDy+MRCukX4z1mdSzAi9qr9KG+8j/JYFgQAYxE4ui+ZxC64VbsKpj9kWFLASeSpsrZCWo+fQGVCvdLFklCfPqBc6nbQT4k9nLgkFDiu8DcIp34hVrvxI+GEeuDiWjqFS8b0vShJmghYIo3VpJuX3+Jqb3CxYXPskAfYX/bkJFq+N8MLmFUfKX85+qgr9DMl8UgGaChfZQSldz4IFaIE0fzee2nYaFH9me7alvnICB51oYCdMWA7R8lMv5G7GyGl6PkMwZouISWC35zNtn4GE2+C5zXI4Yp0mFVbYxBivgcljZYUwZe6/Y2tq8DTtxMToeS5mPQBjyZXluXTGwbuWPiZLXPIWWc/0qdjQ8LqcHyoFPioi+4aeVJXvx02Jko+MwXeeCgy+7V6oBgin6YQsAnWUrHpbwd8yOMvHFtMmOYyESrN+ZM82dv7QCgBeCShC1aTnHfRi166Bs1KMTx05XsYWhbOJfgkQPdGfIs9VIUErtcNs4HLukpKpv3Vhmqb0Nwv8aL1UCX5sL7gW7SAPzNmA9IDKrJ0l+B+uYn42HZZiFPorG6EooS9b7btEnAZcaiLyD+tP8qkuVJ2NwxuPxmUazYd8vo6AEJRFveumZJrJ+h8tY9WefSo1pqDa30yXo5My+cKZNwAKM7MZAI= 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)(1800799015)(52116005)(7416005)(376005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?BsWFU7S1bZ2Snw+4lC6BfFq3vSQn?= =?utf-8?q?9pieGCi8WzFqGWkP9xzV8TBVo5ozIidMz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BU08tQDWnjAxYkdOKVkC13Dt8D?= =?utf-8?q?ADCIVrPH9GC8j1vEXM+RDXRXoqK/TWF4qc639wVtuBvG6hko1V118B8I+JacFOVta?= =?utf-8?q?G5mCw8biiB1xSwMwrnTp6jHdbSxsDA5UspNY/cmH7WuA9PSzVUY3rO5F1lilyKjsI?= =?utf-8?q?woN5GKjd7czCU1KU0QwTJourujVGgnO9/ELugAU2u/cKuZcfHylr6rz9i3F6G8/5W?= =?utf-8?q?kqBUABh9zlTA2JQrDntw6BRrD+yppu3GjPiYNHwev0aSK3nTQQXdVH4noFQZ0pZQb?= =?utf-8?q?TetiU1d2gSriUPMhGZp6wNQP15pgVJhTr1ad65czjmPBoTUXUsnU0cYwUYrrY6CTS?= =?utf-8?q?ibTHRNF541gOpkgXPPyBbtAnFyglwGkMz5ILlGvVIG8e22L1ZDX1G+CMQH9BWLNpP?= =?utf-8?q?qu2ie4z/o93pzVe2KQr9qDfl57/rDFOcHPAmPSYc+E7yECWpl5jSUFOcXb19OhURc?= =?utf-8?q?n5N9DugEtgI/ahNkUtVNDeI7hbsXWN//duXgpuC3rAYlk8d4uLWxzqvckYKIB+ojY?= =?utf-8?q?WUUWgQV/Wj39dFQcGduxqqWO45O7W5QOPHCJffe4RseYovlhZa9mGYqHblv1RvUSD?= =?utf-8?q?51lTtqPRpZT8?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7e2c0d5-d1d7-42b2-1db8-08dc5a867b41 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2024 00:21:22.0678 (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: l+Yfz1Wp0a6mUYFn7o89egMfJMnvDgn2+UTanWH/58sE6HF07pRCrrBgAalYeRE0U7RMvhm4JJkGxggGdNxk+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7970 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240411_172125_820099_68147C72 X-CRM114-Status: UNSURE ( 6.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ARM SCMI v3.2 Table 24 Pin Configuration Type and Enumerations: '192 -255 OEM specific units'. i.MX95 System Manager FW supports SCMI PINCTRL protocol, but uses OEM Pin Configuration type, so extend the driver to support custom params. This patchset depends on [1]. [1] https://lore.kernel.org/all/20240412-pinctrl-scmi-v9-0-b817344d3a9a@nxp.com/ Signed-off-by: Peng Fan --- Peng Fan (3): dt-bindings: pinctrl: support i.MX95 SCMI pinctrl dt-bindings: firmware: arm,scmi: support i.MX95 SCMI Pinctrl pinctrl: scmi: support i.MX OEM pin configuration type .../devicetree/bindings/firmware/arm,scmi.yaml | 8 ++-- .../bindings/pinctrl/nxp,imx95-pinctrl.yaml | 44 ++++++++++++++++++++++ drivers/pinctrl/pinctrl-scmi.c | 23 +++++++++++ drivers/pinctrl/pinctrl-scmi.h | 15 ++++++++ 4 files changed, 87 insertions(+), 3 deletions(-) --- base-commit: 6bd4dec347319b2e0b713a88956470e352f493fa change-id: 20240412-pinctrl-scmi-oem-v1-494ca2ab1480 Best regards,