From mboxrd@z Thu Jan 1 00:00:00 1970 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 B4438C25B74 for ; Thu, 16 May 2024 14:41:03 +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:In-Reply-To:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/a2SiV5vBbhDOCghD5dPEmEA42Ea03vmz0g/O9Aq8R8=; b=wEOwfohNzyYg5q dq+kHyTmuND3EbZWMZQkLhrabBPGm/GAlu4N57shM2rTJEZO77sx6fsi3g0S7uwaUnkO/RhP9oqBW wxQc8lWTLm1h6uSsVKC9TFw6hcoMIFvCNHwsZ7Gg4mn0tWRdtJmIHGPeTiP3M4W5wnsAfqsn8D4oP 6g4EMDBoduVXNZlUaXzh77L8RJNxKIFSlcdPAeQsSx1gV1qXW3elEc4nc2WhAE+4LlVLLWelR8pSu 6gzkPdNeXk3Uq21XUGTbeJzAmxNgQg9BoPqk0ekXVUGK19hCqEUYIjzqmoJDqQjmx2B/lAlxV3/kE Mkal329VY4iljtBqt/Qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7cHo-00000005BPW-28U4; Thu, 16 May 2024 14:40:48 +0000 Received: from mail-am7eur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260e::600] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7cHk-00000005BOv-2OeJ for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2024 14:40:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FCmkxK3u/dN8gaTHwdvMhrGLv6ZVDpMdI8mZj9TIMDe2s8BfCPOmRnGUQq7TnbJB2qdlphVc4YELjpVWbKI7o9TrxGMeiOzMJ4vmErpwTRSka/kbe/zdq33cYDFwK+pGxyNl7JjnVB+WXpgCXgg7G5W3ExZbgPLufhtCaSsj4/fc5USLmns5wvVjWkPcObazJ1ESDhGiQryFW98ls23+oZWNUYLmF1OeMYVKRRqf2bJJ6VSrvmzBW+9AAjCSc3B+Iknr+0lC+M0Jpo5+Ud13D++1Mu/vSPrMKiwsvdEqc9ubYeiPpfMIAmfBBZvpwwOUpW3xDt3PY1JCWCWN3mITpg== 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=Be6fpn32qDD+AAXwPi7AOTNBDobbf3lN//x0sFTkJ78=; b=NlDPoDWo7jqnFMmSEiEZ+s7m6En4nkavi7jO7O4NiFWKVlIs56/km8FDcRkdb7ikSkIuh01BNtelz5DKAQpFbrocy/fBdEfHhIC7dumEQERZtQ8eWJBrunUzzUqpVsHi9sMBERWM99dzTo0Usnep8gpPI3+t9oH+l7WL1b8bIHCpN7DWMJ28Stfsuwnjx2AIQbi8ePeX8gwIXPaKkjbezuMzizIe0X0XL2EKi6L3bhgXjP3YvNoP+L1S2sCh1m+6zWj+HALzLCcXZcBPqTnjxvVdOd0GH2YDgf/7ROzO0gxbJB+I8xiTEEl0PW0dCIJybCjoqcVwiZsp60gkBGiA9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Be6fpn32qDD+AAXwPi7AOTNBDobbf3lN//x0sFTkJ78=; b=jqvb30wx0fINt+JG+dgsYXoM9vrdCOa3vGH1Gc5ntIToEYI3nYU6mGZBE180hk5yyOM1d1dvdkWzORqGLyP/U9gw/JiNbcopGekNc0hEaM9ys754fCe8VdYdkYsOJ+pmzwcHdF/fI3ewi9rHaDMoBXUOvYtWbFTloLcX8KRTqi8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS4PR04MB9621.eurprd04.prod.outlook.com (2603:10a6:20b:4ff::22) by PAXPR04MB8304.eurprd04.prod.outlook.com (2603:10a6:102:1bc::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Thu, 16 May 2024 14:40:39 +0000 Received: from AS4PR04MB9621.eurprd04.prod.outlook.com ([fe80::50c6:148a:7fad:8e87]) by AS4PR04MB9621.eurprd04.prod.outlook.com ([fe80::50c6:148a:7fad:8e87%7]) with mapi id 15.20.7587.028; Thu, 16 May 2024 14:40:39 +0000 Date: Thu, 16 May 2024 10:40:29 -0400 From: Frank Li To: "Peng Fan (OSS)" Cc: linus.walleij@linaro.org, sudeep.holla@arm.com, cristian.marussi@arm.com, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, aisheng.dong@nxp.com, Peng Fan Subject: Re: [RFC] dt-bindings: firmware: arm,scmi: Add properties for i.MX95 Pinctrl OEM extensions Message-ID: References: <20240516073012.1699795-1-peng.fan@oss.nxp.com> Content-Disposition: inline In-Reply-To: <20240516073012.1699795-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SJ0PR03CA0126.namprd03.prod.outlook.com (2603:10b6:a03:33c::11) To AS4PR04MB9621.eurprd04.prod.outlook.com (2603:10a6:20b:4ff::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR04MB9621:EE_|PAXPR04MB8304:EE_ X-MS-Office365-Filtering-Correlation-Id: 319a3b84-cf3d-4813-8e8e-08dc75b627a9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?EeE97WcO7YcAcbtdTPDOrgS6MwlAd5pzftPBio0q3LBjgCwm4yqpMXR6faEo?= =?us-ascii?Q?tNftgj1cCY2OpITOihAvyLrnwQhOf6cm3QLnNIftDfTOGZGkvbZ8+0XH8y7W?= =?us-ascii?Q?+V2+s0r3flDSJN5GMyXcYwUPAA/aJidvnZQkkfkA/UU5nrQNPElZhocimtGq?= =?us-ascii?Q?hTgfIgOnSu03/TF53gQXD6QjLwvwRWJP320f4UwlFRCAHwc1GdbnxjY+LVv0?= =?us-ascii?Q?Ii2Qa583uqisSL2ApVew5TVukTJFuSveCDA2bCBkYXFKuBNgaINTR/6K0xOi?= =?us-ascii?Q?1yCagxYsPxi8upm1MsAljRXYn92ew8X0AEnoUwu9lxaJL0I0DHoGhfjsHojt?= =?us-ascii?Q?5V4W2MX+ABRZr2mZJtri9Mx0UiHGeRsii2ri4XdhRH6U9XD3QI65O4ydUGZc?= =?us-ascii?Q?2HFtC5YpDKsyAAUJSD7N3iIwRtUWI2vjc/5sKZGggpWWM/mgOhQ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:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR04MB9621.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?GmB239OshfvCJrxvPLG0ri5HRzMKPmCYk715h5pL4vLSec9x1jo5AjxniELN?= =?us-ascii?Q?MapbLlYkDAeLdcS58KMjlzXAqOqgZKd8je+OLrI/ZUErz6oLHLaiiCjqplZR?= =?us-ascii?Q?Kbr3/P6te6pr6exHBxu5hdfQ1W9BAySTi828aBI394iuUYmQ7E1I0k284UFi?= =?us-ascii?Q?7ZbLdaTBWhP7p28BCU35zj9sg/cKoIyKGO5xroeM6dyjrybJKS3c7GzRr25Q?= =?us-ascii?Q?GGysud6kgW06YXlX56AatxQdfeaZovZRs5/DQXyXKa6gaD4EIKKfKfWmg39H?= =?us-ascii?Q?rwNPE9Lwo32dYPE8OQ0jIgi2dP03UUR4wNhE1lRgpeOTZpgVhWgN4GXCqTE0?= =?us-ascii?Q?Qx6KEzY6xwma6qt4DTdgLhjSduiduHeo9RW6yBMGeoCx9S41VPrQqzzs9iO+?= =?us-ascii?Q?91LZPCuCfubcco0HIIA6IK61Jp4uR/s8npxAajai7dmB6xGbTiVAP9bD/6Zd?= =?us-ascii?Q?wKFQr6yUFFCE9DxxnPssWilOUE6i6KfTRF7tI5UWbF7oaGip4SNWdAUtLKP5?= =?us-ascii?Q?+DFpeaJFgoglll3EjI/Ne5ErHVsECXDd/iLbh9BzJ6kavatohW1pn0XMHl38?= =?us-ascii?Q?+J6YewsJIqAp7T42YIJwFlluyPWNIRwpIUCd+F5Hq3z2FOTn91AgdfBXNgod?= =?us-ascii?Q?CRBSJsK4YiKw2koFgSgERCvANkuB7GcCUZjgzl10wc8SU5ZDO84te9gXiq55?= =?us-ascii?Q?NjS9qWMkL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g: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 319a3b84-cf3d-4813-8e8e-08dc75b627a9 X-MS-Exchange-CrossTenant-AuthSource: AS4PR04MB9621.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2024 14:40:39.2800 (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: u4CDoTP0xti5gCaAlkkmffDb1AlxSDoEyxF6KWz8d3g2h4MFoky5y94ody+tFl9iOtDr495rIF6AULEalVHQaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240516_074044_678409_AFE03D8E X-CRM114-Status: GOOD ( 26.28 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 16, 2024 at 03:30:12PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX95 Pinctrl is managed by System Control Management Interface(SCMI) > firmware using OEM extensions. No functions, no groups are provided by > the firmware. So add i.MX95 specific properties. > > To keep aligned with current i.MX pinctrl bindings, still use "fsl,pins" > for i.MX95. > > Signed-off-by: Peng Fan > --- > > V1: > There is already a v6 version for i.MX95 pinctrl with binding got reviewed by > Rob, https://lore.kernel.org/all/20240513-pinctrl-scmi-oem-v3-v6-1-904975c99cc4@nxp.com/ > But after NXP internal discussion, to keep "fsl,pins" for i.MX95 would make > it aligned with current i.MX93/8M/7 bindings which people are familiar with, > and easy to understand. > > Sorry to bring back so late after your reviewing in previous generic binding > patch. This is not to reject the v6 patch, just wanna to see whether you are > happy with "fsl,pins" for i.MX95. If people are happy to accept, I will post > out driver together with this patch in new patchset to reject v6. If people are > not happy, we could continue with v6. > > v6: https://lore.kernel.org/all/20240513-pinctrl-scmi-oem-v3-v6-0-904975c99cc4@nxp.com/ > > Thanks, > Peng > > .../bindings/firmware/arm,scmi.yaml | 4 +- > .../firmware/nxp,imx95-scmi-pinctrl.yaml | 54 +++++++++++++++++++ > 2 files changed, 57 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/firmware/nxp,imx95-scmi-pinctrl.yaml > > diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > index 7de2c29606e5..f7a48b1e9f62 100644 > --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > @@ -251,7 +251,9 @@ properties: > type: object > allOf: > - $ref: '#/$defs/protocol-node' > - - $ref: /schemas/pinctrl/pinctrl.yaml > + - anyOf: > + - $ref: /schemas/pinctrl/pinctrl.yaml > + - $ref: /schemas/firmware/nxp,imx95-scmi-pinctrl.yaml > > unevaluatedProperties: false > > diff --git a/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi-pinctrl.yaml b/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi-pinctrl.yaml > new file mode 100644 > index 000000000000..3f28c4a171c7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/firmware/nxp,imx95-scmi-pinctrl.yaml > @@ -0,0 +1,54 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright 2024 NXP > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/firmware/nxp,imx95-scmi-pinctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: i.MX System Control and Management Interface (SCMI) Pinctrl Protocol > + > +maintainers: > + - Peng Fan > + > +allOf: > + - $ref: /schemas/pinctrl/pinctrl.yaml > + > +patternProperties: > + 'grp$': > + type: object > + description: > + Pinctrl node's client devices use subnodes for desired pin configuration. > + Client device subnodes use below standard properties. > + > + unevaluatedProperties: false > + > + properties: > + fsl,pins: > + description: > + each entry consists of 6 integers and represents the mux and config > + setting for one pin. The first 5 integers + mux_val input_val> are specified using a PIN_FUNC_ID macro, which can > + be found in . The last > + integer CONFIG is the pad setting value like pull-up on this pin. Please > + refer to i.MX8M Plus Reference Manual for detailed CONFIG settings. > + $ref: /schemas/types.yaml#/definitions/uint32-matrix > + items: > + items: > + - description: | needn't "|" Frank > + "mux_reg" indicates the offset of mux register. > + - description: | > + "conf_reg" indicates the offset of pad configuration register. > + - description: | > + "input_reg" indicates the offset of select input register. > + - description: | > + "mux_val" indicates the mux value to be applied. > + - description: | > + "input_val" indicates the select input value to be applied. > + - description: | > + "pad_setting" indicates the pad configuration value to be applied. > + > + > + required: > + - fsl,pins > + > +additionalProperties: true > -- > 2.37.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel