From patchwork Fri Aug 30 19:11:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13785442 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2077.outbound.protection.outlook.com [40.107.20.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3106D1BBBE8 for ; Fri, 30 Aug 2024 19:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725045125; cv=fail; b=MhzTIOzS2JCpRUvAlf1Xx2a8AZJgrrsshKZ+YTka7z0hJBVVLU1ehsKdjY4rhORGayEvkPL+mfjtWyMnKQ4zWtUUqLxK60GP4Zm5Aq9xabmDZhHVtiSjOq0/K7TQKxLv0UruzDhin+BZNb1ilMKklqXjzBGO+t+wU8Xoy/r9yts= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725045125; c=relaxed/simple; bh=jurZ1TmXHZuFJmTlQv1sCLcc6Sl3YMsDQGdzZpKUMls=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=QU1QS7A2vCRlHqJ2wdgDsEQJnaM8PjYkOHd6EOTi/2Jdp/l5PRxqT25X9L5O+Rj3I0dKh3gTb7tCSjHf2ac1QuDFElxre/VGt1HCNjFimsjmZ2+9cxwNef/1I2TIml+41w7suY7lQbHGY/b4yK5zV5ruB8R+SVMKK1A1DNX0CZk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=FtnlYLt4; arc=fail smtp.client-ip=40.107.20.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="FtnlYLt4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Z/e1wpoESPTvTrynb623ac7f5PeVKWW7GPFbhJBZeLkI8KjWYJmAMnSIxppKYapyCQswrURRloaUmtRJWENwPbZWnp8t9ilrvjzhcVTTiu8mgA1nMu5rimKLBRvIXQHMIcredxtczgOVmiQEQbVf0gaUE6rU1Kd8473w8FTLtYbCDQgfPgHqWX0yNQO4QNXAYd91EbVykG4Rs84SsoRSiBGOFwxV6x5kS9lEWgljDUW2sY5h46IK+2GzKCQkrlmoUhuIeHuT2kOprJMzVbjusjLDGD9IcrJ47aamQL3lAk5moYWeQhQYuryGOWmDzYtZY514DcFnkReC/Wi1YTBBlA== 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=UOLyshj89qqVq3kDNzRnTSs3EOZRrptVXoF3pzbIX/c=; b=iQRULtabMZ5Op9TwWB/8wQmzOkyuL4ocdYNh4MOIlZDEcYR8+UGShg9aQ6vNtPmcCgjeFscEtOTJ/2U4qAGMalkDfJoWQT/cVAqBo9oHO61tPoMSL2ankrKTpxO3Ik0ZUaof8EovwUCfC5fNn+yNBgm0mDK8e3QFLg+/cfU7sX7jYb6Caucybit7H4UZtEoIkiN9OW8eDzMFLibppoAXNWjv2P2Sbfr5KDLDYqSmIEFhNfzLVsj5UujEwmrLN+OHXeslgl0++FVvytruc8M5Mm1GBgep+5esHbu/POE49Duq8atixe8V2qLaDe9VIherf3bKLOT4um4c8N4ay+V66A== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UOLyshj89qqVq3kDNzRnTSs3EOZRrptVXoF3pzbIX/c=; b=FtnlYLt4itdVjmmoHRncvl8PYIxwmA/UA7ibbnVPgK+Qe9cZP13hFFtwJUnFF2xmHi8IXEw8vhPOVIOVgnkWmdPdvAgec8F5ov/IKEMEPC06z/f2DuCJc/qppVHYlSW3MJMPRSXZ0zuQd8+hh/WxF+kkhcA/NUXQ/ttjmaMn4i5Ofi7RCo9NmNvm/yQ+LL7y7wF33TSnreJE0JAq20mrTB9mUT83e4n5+OFwkbb1Ay3drz7mMJ82atzxikyiKYMxpl/YfVsB4ui2Qj0Im98BglbKjsG2s8yVJNa3SmzTl5yxv0kAdG5TA5Ui5i+kvpjdUKDQHS5743LpBg68KdiALQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PA4PR04MB9637.eurprd04.prod.outlook.com (2603:10a6:102:272::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.28; Fri, 30 Aug 2024 19:11:59 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7897.027; Fri, 30 Aug 2024 19:11:59 +0000 From: Frank Li To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Michael Walle , Shawn Guo , linux-kernel@vger.kernel.org (open list:MEMORY CONTROLLER DRIVERS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Cc: imx@lists.linux.dev Subject: [PATCH v3 1/1] dt-bindings: memory-controllers: fsl,ifc: add compatible string fsl,ifc-nand Date: Fri, 30 Aug 2024 15:11:43 -0400 Message-Id: <20240830191144.1375849-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY5PR17CA0048.namprd17.prod.outlook.com (2603:10b6:a03:167::25) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB9637:EE_ X-MS-Office365-Filtering-Correlation-Id: 7196f75a-e411-4dc0-cd5c-08dcc9279f2c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: /S7C8xutqXKDIBr3hVTLnHrFdbUT4gFH/6icsmettEUOxjFWuUmDVf0q5kCpDNbcl2MLg98ICffsNVZbgcUR74p+7t96yx5jp3BC2aVuId6Sqyra4ysc83wsqpwQthcXqtW3IAXzZAzvy4okAr0xXzkwXy5wAfGlHXfQXmIntRI0NIW+fJskw3yAmAE/BGxDMJOdmu/u2eIKQRkr5O8SYoX3oif+Dqgplo072OrARIxw4W4dkOfBrmW50mvh6RjelF+f3JU3PjDh6ILjalkBJXNn+UYpC5vL0VumpsHNYs6KXbsWOkX91JKN+JqG/DlYKzVExIuj9fJ5D7ZFRWWReRtXiMZLjhEcse7KJom+TBUZU40c99Z4UswI25nPS0e055CJbRbPriWEVoWsDIDsyD74kmmbZxUv9DJADRwhEvO1Ty3tQkLhLTP7JgCPuakAw2srjUg+Iex1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:;CAT:NONE;SFS:(13230040)(52116014)(376014)(366016)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QyCjXYFX4hb38Td3F5pFhJ0RbO5oMXmOgo+rjT51wasSV+kbXKfgG00KzHhZRAjGjd7niAum9Ljx+FutdrMrbVx1Y+F1d872xcveEsgtHUOYWJLkxrLFs0+/88F8r3DDajeCerjAf8PLVOlUxdwpmmsLOHbEzHNn88ZrRrcMz/V5mpmay/T9qKBLVCmTdQ0ZM72Jt+wIlQsx5K0CBQ/A+so8YU3trVj+2WMOlNqFggmtbV/G6t+4e1NVQ5RFKWxH7/p1zUteMOKEMCKDxnMeyzBzuP+1/dKSi2zb670QcQcQdAHZNycLw379Ye7CuOvzx5xlyOhC93Ek3SkLNZzFt4e5TXUKap3Oi6jUtNm8OT02eBazBQjK6PU6ryniu3WxBfUgzdSGNSgl3bPjeH6DpH1mA9wV5wqzyA87ZBLoCcMCYKG0N0GgI4oFqtWae08JSN5vxaSYxQqLb45w8aj5adOMAlAIwQqNU+oXfV4wFQINRqJI2zm1H7BTZVDRz3UCP0ilaD1mX7xh4jPsZ1A34XWNlT38OUtaAsyuoR0eDkH8szNWLf6q1mOmr9tDEflezqMkTC9/I/7sa/CyNqppOuCXxZY4y9k9HGJkSUmGlxkYEraMivbPEFWfrLVa0+Cq93xXzVVmCYi2bgcSmb9YGqbD27NhjOHgd4ivye6o+RjdmCS1OnXJoGFIAah145b6M+3Kt5nYhHEdaB1cjq54xu7N9NiHaNLAPkG1zdHKN7ZltjfBMD8YxGustgS1Np/21gkZm8QY9+1sDRp3UyGeBWdTGOZgAzlKj/QuE7k5gP8jfmAUdzpgLx9VI0ENA0kRiUHIVOf/EXhOLaXuTcjdTePdnQly2z6yBP9aYrik435feIqHjP8LkBcEa0PU42hc1gyGJciKGvqSGZ7MXRwkf8vfy7e6xsY6iVBfeQlMySb1w4APn358nG3M5ZQdIdwFciESl8TZhA7DHfBNqE6TvQeY4zi69IGKjdQh9eDrVPfZDOxaaVkxn+0NAGOEr1RljvXy+5Og49ZgvEF1Mhp0es47TscMbBosfDNkwdMRznViYw7IvVavwqMFuebsb15m8e4eufqorShPJ4+5n2QgubyC++pvL/8sS6ZY411OdcfbZTfIL8Dn1qf0FZJdiiP92Dg8G10+tapw0Ok2MO5CaBfApvQ8BD+15J1WX4V1PjJqL/mwaz2Lo/N9DXvehGVkZpebc4lvdUHqfgBQi01tq85MXPfQB30phdYpj+UVVKnePeRjKbIaZFP6Kd3U9E8VFWgkJBiqFMusr7nzE/3efRpbsEI3Z/a6NEOwU34aiW9uKSeq+Iz6ELbUQMHQgp2v1NfgrI4EZHieSp4cqNf/DWiJS7AplXO4GgxePrNyyUVaBlAAPFj8u+WK+2h19O4ImCAXnNZPZMZ6+Nm/1feQUS4dNtLRvC7XF62B7asS/3Gz3YKhfOokh8n6SeSJvpQD8JR/UYJL7yxf1zD+VmkT/f/772+s7MbRynv6KqHyG6M+1/g4ogpyyNHqF/v9jFElSgO+/7Xn8vf4bTDNTxsYJhPh0p10xIi88WwB/yDMKlKMQQnfxOcdhyksrefg5MhD X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7196f75a-e411-4dc0-cd5c-08dcc9279f2c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2024 19:11:59.2650 (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: slUorxHrilBYUfN5uc7qJNnOyFmVQ2xLOcGbN9JUIUBDn8sQbnXjCdr6/nO0yCymm8HO1fbv/OiMAW6O2TZocw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9637 ifc can connect nor, nand and fpag. Add child node "nand@" under fsl,ifc and compatible string "fsl,ifc-nand" when ifc connect to nand flash. Fix below warning: arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dtb: /soc/memory-controller@1530000/nand@1,0: failed to match any schema with compatible: ['fsl,ifc-nand'] Signed-off-by: Frank Li --- Change from v2 to v3 - add partition child node for nand - Only partition property is used at ppc Change from v1 to v2 - add address-cells and size-cells --- .../memory-controllers/fsl/fsl,ifc.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml index d1c3421bee107..5a11224da8914 100644 --- a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml @@ -58,6 +58,32 @@ properties: access window as configured. patternProperties: + "^nand@[a-f0-9]+(,[a-f0-9]+)+$": + type: object + properties: + compatible: + const: fsl,ifc-nand + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + patternProperties: + "^partition@[0-9a-f]+": + $ref: /schemas/mtd/partitions/partition.yaml# + deprecated: true + + required: + - compatible + - reg + + additionalProperties: false + "^.*@[a-f0-9]+(,[a-f0-9]+)+$": type: object description: |