From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4675F606A330 for ; Fri, 13 Nov 2026 21:29:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Z0SE05fv; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=DSj2pJOz DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To: Content-Type:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=UPLlBhEFkzCKdx/9gg1lylf9okJBK3VnemYGQ3dag7k=; b=Z0SE05fv7sGAcNq4bmHpMesDgt o2xj/+kpNWdbOPIhbuT3MbP6K8W+M8WEcjumdVJAY/W9s7JRqstluu9yz+5ivlvOqzn4GFP0phyOg K1DcHeHvxcWBfZnwgEzYINpBWiTrecdG+MQxX4RPYOrmaTqIOYwa2hPCbEm1b7YBK93SHqu1KzD2h tRGVPuq6vDHKMf1daGYvOwSIcaYPzJHSUP/2GKBxbmLjTj+0QC8GNcKqbWaCokAYoGnYkXxREcsSG kkCINzUi/DLCoE8ytGEPJ5k/QhAuZF61PDwot9A337WS3VwNw0GZUemW7+k0S614g52ea4FYNYddI FlsMcp0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xRyqH-0000000EaYU-3m2k; Fri, 13 Nov 2026 21:29:53 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xRyqF-0000000EaXq-36Sx for linux-arm-kernel@lists.infradead.org; Fri, 13 Nov 2026 21:29:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tV7JdjmPpe+GSvEDPw6GinjJIwBZh/L6VsMNATUdR0ZrP79JMwGtCTQ0aLACWdtKGzqTQeqoOjz0wFGkNbzPCKIy2REs/4tBmL69ueui56E4ukcZloZVrBQ67ImpQ6rL9VhOwklew9/eTk40AwIsq3GjRAGPhtPSyOEXvXje5gkZPEkMIaL3P26CKaazWkiZ5Ga4BmRFfKOsZNJFsfa1gnjZ9ADPdrU3n849bair9uVFPo0k3N0Ex5P6JiOjec7M/AucU+yPdm+ckkS78GZXRyZWob8ivJzyRzN9vWdP6p8g+eXYx8wCiKdXO1iu4NArS6GPB8zuCL3d8PRgTuup8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=UPLlBhEFkzCKdx/9gg1lylf9okJBK3VnemYGQ3dag7k=; b=Vkfn/ywlksmikcgVaERM2DJ50szSVysejiR6w/s6O/l+M8bqrGf3bL4N0w0T+Wt+dx7b4Ir9Z1xUbcJycS5a2T1zgAdMVWue/N3ujt0HKqepCEBC8N0xgLM0KFCGJbaNw2ED6SRyzttqM5hard4qge1MfFo5jrsisbj3UfIQWz8Xrd/EjEkO1D7gzjDn0BqkqKQ/BHYyR/VRzUU5j9CQr3zcGj6RBgrFWVb/epnMGuhzrQZQhYpDzqJgpkHWJSfKMCKcXuSmlrP57yCt24FhmalMl6Y8jLZ78BE6Ul+oSM7oaY1dQd52nEt5OyWGTQEAXktdc1dahGalrrFGDAcNKg== 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=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UPLlBhEFkzCKdx/9gg1lylf9okJBK3VnemYGQ3dag7k=; b=DSj2pJOz31PAWsWUbUYIsPBXghyZAZAvJpvktziniubiBQMEbVjR81SXyOobq+NpJLlzxBcFkAmH6L/dLGWRdH8slQgWzzMYYp5SQn9UeILF2CWjzhrLmrCHXB1Ch9D3ta+3ulQJk7lgE4XrRVBDOn/epNAkEjd74dxvHmXc37IE2mj0Iz9XWbIUCataAKSO5MO6VPuoTKFI45QXwtCndC4CQHCXWZzM0p066RHN8paVJnzla3CtU19H/CUWFSmuNUbqYZT8YpQGSV9kXFi2vulp9YYFGplhkYG4nXC7pERl8kpIHPiPJiYzckB9UKjMQ879A+1KLCBO2qrGNODhPw== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from MI3PR04MB12438.eurprd04.prod.outlook.com (2603:10a6:290:76::14) by PAXPR04MB8655.eurprd04.prod.outlook.com (2603:10a6:102:21e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.592.9; Fri, 13 Nov 2026 21:29:46 +0000 Received: from MI3PR04MB12438.eurprd04.prod.outlook.com ([fe80::c715:c32:8bb1:b70b]) by MI3PR04MB12438.eurprd04.prod.outlook.com ([fe80::c715:c32:8bb1:b70b%4]) with mapi id 15.21.0615.009; Fri, 13 Nov 2026 21:29:46 +0000 Date: Fri, 13 Nov 2026 15:29:36 -0600 From: Frank Li To: vjardin@free.fr Cc: Dong Aisheng , Fabio Estevam , Frank Li , Jacky Bai , Pengutronix Kernel Team , NXP S32 Linux Team , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Christophe Leroy (CS GROUP)" , Shawn Guo , Sascha Hauer , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Vladimir Oltean Subject: Re: [PATCH v3 1/5] dt-bindings: pinctrl: add the NXP LX2160A RCW pad mux Message-ID: References: <20261108-for-upstream-lx2160a-rcw-pinmux-v1-v3-0-5a0063f1da9e@free.fr> <20261108-for-upstream-lx2160a-rcw-pinmux-v1-v3-1-5a0063f1da9e@free.fr> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261108-for-upstream-lx2160a-rcw-pinmux-v1-v3-1-5a0063f1da9e@free.fr> X-ClientProxiedBy: DM6PR06CA0085.namprd06.prod.outlook.com (2603:10b6:5:336::18) To MI3PR04MB12438.eurprd04.prod.outlook.com (2603:10a6:290:76::14) X-Archived-By: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MI3PR04MB12438:EE_|PAXPR04MB8655:EE_ X-MS-Office365-Filtering-Correlation-Id: 3658702b-8c90-4f55-ba70-08df41cd3d3a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|19092799006|366016|7416014|23010399003|376014|6133799003|22082099003|10067099003|18002099003|3023799007|11063799006|261028144727099003|56012099006|4143699003|261021121427099003|261026140227099003|261026121527099003|261009223027099003|261022105027099003|261102123227099003|41080700001|15866825006; X-Microsoft-Antispam-Message-Info: EojC4cjPh2TLQyVfDDukZvEhpr4THOOTIK3KrNxCw2Fo5Hvgtsv/6H22DYsDCB/DyMESUS0HrquFXATh4Re+rB7BW8ExyuTsyQrIxcKp/Jwpa3DCyMfNpLvtiEwFTZqxp49y8wK0IdFMvgQyHU2NuVF8IS9Nt59Gcbt9LYYk2fclKMdcb0q3yCHlPHdy2I95Mg12aQxoxIN/Ehyed6m4iOx4FbdVTO22sbR/ZwfJWbyVKFx2lzvGNwNhQeQcMcPUYuO9v2lm2BGpHQKOAB4kgaBqnnD4zPxScOl683tPZHC5BKAyqpJCKGj9rpDExl5hAwLwKaKN1Q/kxQghkDM8u/kDKn8Fzw7z5oFjm2kFZcE7SQeshNLqNSGyQ8hz06U4kIMXMO6KymUYsuUgbDtcQxLAAj0Aa/ZqwIp55iAzZglF2//QlOxCNHL44jfQh6fplpAUSci+rFD23I0XHMhBotKmOKOg2IzWIjamqNeRmiFY5/OalhbScLyzqFoYrm/tcZkhveZQL27b/DHM5BKXNvlJjXvc0w6hGudOgRmDv7MPqHbnzXlatfQZv+7D3otU8AppvA1GSdBjtMkrdvj0wkjbYXsP9bxjxZYWbnxOP1vCKfuwwmxj2QEF3GHqMAv0Kzx1rqkNDItUTiIANqAUqZnU4xKvr3QhrWCU78m6ltKW6rYWV08o3616IhOz7PYAa1HoP3aK1MWQ0gLW5olw9Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MI3PR04MB12438.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(19092799006)(366016)(7416014)(23010399003)(376014)(6133799003)(22082099003)(10067099003)(18002099003)(3023799007)(11063799006)(261028144727099003)(56012099006)(4143699003)(261021121427099003)(261026140227099003)(261026121527099003)(261009223027099003)(261022105027099003)(261102123227099003)(41080700001)(15866825006);DIR:OUT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ascii?Q?q9ogXjGoXGkDkwAEx73YYLWB68tx5R108AypR/hjPogDXrWJawKU7hXh9ANQ?= =?us-ascii?Q?1kgoqZMmG+hBn/VlskJaX+AoGTc/jnQ4HnNgNaTVCTkyq86OmSMh?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3658702b-8c90-4f55-ba70-08df41cd3d3a X-MS-Exchange-CrossTenant-AuthSource: MI3PR04MB12438.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2026 21:29:46.2395 (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: zEK3vuuIBsqOHodsi/Rf2hkjTKVtACl70TjYJCd9oIbczDPaqtv49674tR37y+rxhQAL+zTRW/scBNE2FDt+AC6MqxgrCqh08fEnGf85QqrbTFmRHlJYtQx9l+mGHb/g X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8655 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261113_132951_957660_D31067FC X-CRM114-Status: GOOD ( 18.86 ) X-Spam-Score: 0.0 (/) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Sun, Nov 08, 2026 at 11:06:49AM +0100, Vincent Jardin via B4 Relay wrote: > From: Vincent Jardin > > The LX2160A muxes its IIC, XSPI, SDHC, UART, IRQ and EVT pads from > fields of the RCW: read-only in RCWSR12..14 of DCFG, changed at runtime > through the override registers of its DCSR view. > > Describe the pad mux as a child of DCFG at its RCWSR12 to RCWSR14 > window: the override registers are at the same offset of the DCSR view > of the parent. One group per RCW field, one function per encoding. > > Each function lists the groups that take it, so a pair the driver > would refuse, such as can on iic1, is refused by the schema. > > Signed-off-by: Vincent Jardin > --- Reviewed-by: Frank Li > .../bindings/pinctrl/fsl,lx2160a-rcw-pinmux.yaml | 264 +++++++++++++++++++++ > 1 file changed, 264 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,lx2160a-rcw-pinmux.yaml b/Documentation/devicetree/bindings/pinctrl/fsl,lx2160a-rcw-pinmux.yaml > new file mode 100644 > index 000000000000..6bd21c27a00c > --- /dev/null > +++ b/Documentation/devicetree/bindings/pinctrl/fsl,lx2160a-rcw-pinmux.yaml > @@ -0,0 +1,264 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pinctrl/fsl,lx2160a-rcw-pinmux.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP LX2160A RCW pad muxes > + > +maintainers: > + - Vincent Jardin > + > +description: > + The LX2160A muxes its IIC, XSPI, SDHC, UART, IRQ and EVT pads based on its > + RCW. The related fields are from the read-only RCWSR12 to RCWSR14 registers > + of DCFG, and can be changed at runtime by writing the RCW override registers > + in the DCSR view of DCFG. The node is a child of the DCFG node, which owns > + both views. Its reg is the RCWSR12 to RCWSR14 window of the CCSR view, and > + the override registers are at the same offset of the DCSR view. > + > +properties: > + compatible: > + const: fsl,lx2160a-rcw-pinmux > + > + reg: > + maxItems: 1 > + > +patternProperties: > + '-pins$': > + type: object > + $ref: pinmux-node.yaml# > + additionalProperties: false > + > + properties: > + function: > + enum: [ asleep, can, evt, flexspi, flextimer, gpio, i2c, irq, > + reset-req, sdhc, sdhc-clk, sdhc-data, sdhc-data4, sdhc-spi, > + spi, uart, uart3, uart4 ] > + > + groups: > + items: > + enum: [ iic1, iic2, iic3, iic4, iic5, iic6, xspi1-data74, > + xspi1-data30, xspi1-base, sdhc1-base, sdhc1-dir, > + sdhc2-data74, sdhc2-base, uart1-soutsin, uart1-rtscts, > + uart2-soutsin, uart2-rtscts, irq11-8, irq7-4, irq3-0, > + evt4-3, evt2-0, clk-out, asleep, reset-req ] > + > + required: > + - function > + - groups > + > + allOf: > + - if: > + properties: > + function: > + const: asleep > + then: > + properties: > + groups: > + items: > + enum: [ asleep ] > + > + - if: > + properties: > + function: > + const: can > + then: > + properties: > + groups: > + items: > + enum: [ iic3, iic4 ] > + > + - if: > + properties: > + function: > + const: evt > + then: > + properties: > + groups: > + items: > + enum: [ iic3, iic4, evt4-3, evt2-0, asleep ] > + > + - if: > + properties: > + function: > + const: flexspi > + then: > + properties: > + groups: > + items: > + enum: [ xspi1-data74, xspi1-data30, xspi1-base, > + sdhc2-data74, sdhc2-base ] > + > + - if: > + properties: > + function: > + const: flextimer > + then: > + properties: > + groups: > + items: > + enum: [ iic2, irq7-4, irq3-0, evt4-3, evt2-0, clk-out ] > + > + - if: > + properties: > + function: > + const: gpio > + then: > + properties: > + groups: > + items: > + enum: [ iic2, iic3, iic4, iic5, iic6, xspi1-data74, > + xspi1-data30, xspi1-base, sdhc1-base, sdhc1-dir, > + sdhc2-data74, sdhc2-base, uart1-soutsin, > + uart1-rtscts, uart2-soutsin, uart2-rtscts, > + irq11-8, irq7-4, irq3-0, evt4-3, evt2-0, clk-out, > + asleep, reset-req, iic1 ] > + > + - if: > + properties: > + function: > + const: i2c > + then: > + properties: > + groups: > + items: > + enum: [ iic2, iic3, iic4, iic5, iic6, sdhc2-data74, iic1 ] > + > + - if: > + properties: > + function: > + const: irq > + then: > + properties: > + groups: > + items: > + enum: [ irq11-8, irq7-4, irq3-0 ] > + > + - if: > + properties: > + function: > + const: reset-req > + then: > + properties: > + groups: > + items: > + enum: [ reset-req ] > + > + - if: > + properties: > + function: > + const: sdhc > + then: > + properties: > + groups: > + items: > + enum: [ iic2, sdhc1-base, sdhc1-dir, sdhc2-data74, > + sdhc2-base ] > + > + - if: > + properties: > + function: > + const: sdhc-clk > + then: > + properties: > + groups: > + items: > + enum: [ iic5, iic6 ] > + > + - if: > + properties: > + function: > + const: sdhc-data > + then: > + properties: > + groups: > + items: > + enum: [ sdhc1-dir ] > + > + - if: > + properties: > + function: > + const: sdhc-data4 > + then: > + properties: > + groups: > + items: > + enum: [ sdhc1-base ] > + > + - if: > + properties: > + function: > + const: sdhc-spi > + then: > + properties: > + groups: > + items: > + enum: [ sdhc1-base ] > + > + - if: > + properties: > + function: > + const: spi > + then: > + properties: > + groups: > + items: > + enum: [ iic5, sdhc1-base, sdhc1-dir, sdhc2-base ] > + > + - if: > + properties: > + function: > + const: uart > + then: > + properties: > + groups: > + items: > + enum: [ uart1-soutsin, uart1-rtscts, uart2-soutsin, > + uart2-rtscts ] > + > + - if: > + properties: > + function: > + const: uart3 > + then: > + properties: > + groups: > + items: > + enum: [ uart1-rtscts ] > + > + - if: > + properties: > + function: > + const: uart4 > + then: > + properties: > + groups: > + items: > + enum: [ uart2-rtscts ] > + > +required: > + - compatible > + - reg > + > +allOf: > + - $ref: pinctrl.yaml# > + > +unevaluatedProperties: false > + > +examples: > + - | > + pinctrl@12c { > + compatible = "fsl,lx2160a-rcw-pinmux"; > + reg = <0x12c 0xc>; > + > + iic3-i2c-pins { > + function = "i2c"; > + groups = "iic3"; > + }; > + > + iic3-gpio-pins { > + function = "gpio"; > + groups = "iic3"; > + }; > + }; > > -- > 2.43.0 > > >