From patchwork Wed Aug 14 21:29:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13764171 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011032.outbound.protection.outlook.com [52.101.70.32]) (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 D38701AACC for ; Wed, 14 Aug 2024 21:30:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723671021; cv=fail; b=gUbXA6J/EWfJ9oMLdNQcvX2faexkok0FAEPlSsA7/DmR7pwQrEkSHScbO7CJVZ1+D4X0rLfeEq7+McGSf9AI2vLyazc84MIQjxi2nCdfDIgLbJVVGzga99fEevADf2m3eoltBYMQoeuXdmBShBb2NUaa84a5/6VKMCnylTW9Yrw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723671021; c=relaxed/simple; bh=I5mcScewewjBVT7bYRHFYeybCpgmv25/BlTmvFYq0Tg=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=MDqZaJe3fOfW1YVA0CfroIxZ8mOZjZCcwTSxyDsZiSIeJ2P1EdVP8yP9l+ZXEC5f2ghKvohTf0s4FVh3mvjcBviM6NGc9X3H7/nas2rKaWwFg5TgkcdABIYZ95xFLnwOZyMz6rTn4mLsZfZnbLGATmnjx9hQ5kbwKXzD/wNHCtM= 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=br5H8ZMH; arc=fail smtp.client-ip=52.101.70.32 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="br5H8ZMH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IVYLs1TrhkI5H+z43XS+Y8i18lU1uD+dT9zKWfdozXONZuQc64bkcy0NmllqdLPsIPca50yfALc6qTEjvZff/+MC164FUWdshFR7fE0bQPry9JuMUKeZQg4j21n+7HOIlWzlmvgQxPRroxFt4EUXc6dyuHDftsllGB3QLJMJlSo5MP8yO6jdpoDoUZeESKotZbyg5Du/fYgqldgjJDbkZZrCYcqqAOsrD8yd2etZBQVTgG+2RRU96r32sC4/w4Y8ZDyqVIfM7Ciu37fnmlKRDxS+pWM99iLRyksDiirub2eo1Uvglz8NWwfIpk7iUq8BfHQPGGX44eBmt8bJKzwcgw== 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=UCuFdBBg3yBW+KzCHdczGldYqiV1IacFly2eIvly7pY=; b=GyM+NeWYYPecIL5KEk+/j3uHWlE5PkMORg1fFj6O/OAQmSAV0eCvz0g7IY0WcDZSh0uxdOZOTz4Grlw1R9GV37H77150bHmxtrqex3BSW/RPbhh6tWiNB5rFPuJFU02YW3gpiuvnGqEMz6AKkSFEVZk1eiFGt8vYGfmgacgFsiqDVLDRxedHkyKSWWZPmluHpjf8tM74QabTRGiz3Hyj7MewraCWxuGSNREn/E00ZovH4aYjKbhFUXvxX7rh1QvWoRrcOPLSKniGxBDMmGY+suGSaMK3LMDo2+pFaRaO38yoAlnyGX6ga6pFEyC6jiuZWLG1Xi/g8KLgvN7xIg55Zg== 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=UCuFdBBg3yBW+KzCHdczGldYqiV1IacFly2eIvly7pY=; b=br5H8ZMHOUSsbqsTnznKflo2T4vsTy+/q5ZmKkvvmY1uvaQpeWUb7y18znPYW+a2KhLrTOrbSAAKhh5GjQM2Nklv2qpl3yQTntbqORnjTxV4aL2vdtFfE8Ezv6DsddaEJdSrs6y6OrCzTD028JJoilt5fJDuDq/2c9GssCHQy9V2NOPBfIGEupDLhhIBkt7itx9O3JvzozJSJbdB33jzKZCaGGMpc71b1mtRVK6yBUMnkGXXdl1UB82rZap5D8DIQcvsXIa82LTwpT74w7gSiMkGmwTnjFoRHBgssB2uHMQk2cBtwcZaAx2tGp13n2eRgxT0Z42ITXa0l8i8MI6vRQ== 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 AM9PR04MB8860.eurprd04.prod.outlook.com (2603:10a6:20b:40b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.17; Wed, 14 Aug 2024 21:30:15 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%3]) with mapi id 15.20.7875.016; Wed, 14 Aug 2024 21:30:14 +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 v2 1/1] dt-binding: memory-controllers: fsl,ifc: add compatible string fsl,ifc-nand Date: Wed, 14 Aug 2024 17:29:57 -0400 Message-Id: <20240814212958.4047882-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR05CA0120.namprd05.prod.outlook.com (2603:10b6:a03:334::35) 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_|AM9PR04MB8860:EE_ X-MS-Office365-Filtering-Correlation-Id: 6893d09f-e8c1-4547-e1c9-08dcbca848cf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: TSIjJttfaSU4MPgCaYwZ4uJwpA03ROK8S916hj2pL62HdlgEgT9pnETe2SaCTaZN45zjgeZBqksut8Wi4+NDizNickxedXWbikudejsKgCiSyl365kWQ8MIRqze9h2fCDHxvcznU+veCuAgOPhHnyu2E3tWppdAnTigeJQk5fBdk4t75N18MK02lU7MM2x2ftdadB+uiBNGp6Yg2Rq8nJ0+rIyG4BG4qbNcPbx2uH3fdrKPPgtffcXjp0YYFOxaP0aM11+uEjckgxQy2Lisd8iitwNnP6NZQXYwuyEvVfI/SqyhsfZVlfQojB4PDW8sPbvxMmEdAecy3DsKhCmd2Wm42oYBxU16PPZTAlheUkN08FFUUu7j1ZERYO7CybXWHQzxOV3Q8ZbklRth9BWanwF+nkqxlJOhgSqwdP5/h5s8QExj6p8KBQPlJHrw6msqIuega6yrnSIlljysuvOv7rDbfVjV+pEI5fW1tmOM3gNQxw8Ou5aldgDxUKtDrKKFBi9eegwH+AxOhaZXhLRGk0WV5fqzpBb9dbAjxPbdoKhOdLPKwa/fgy4af+b1wfVp+rx5Q9Ne35EQimfNo6pc1rF4mypD9IVCbyL6m2VhLE6+4j8RkOLYL3JPEuS1ez8ixETfePUt/gnTnCJq2p/0nU4aWXa0Q+gRtXpgm9aWskncebjkOLFGYHYbTLf2RQV4TzkUuwlR2sNGlPGFREmemnXznam1M/92b11/ZD4bKlpr+1pL6FqmrTu3KBggD+Dp34Ihg68ZXlYae1rkmP16AiS0pKLmpJV066vO8IJsDOBaIE6um3cfKiAEg6AgJuOnMhYkQ5H20P+I++J2/8JFYl885Xyi3C0g3aU6U7Op3nIUFwOD4FBuoB3l4feEvUHVdA89EKst1eyvSoAERDWTv8yJNfa2bsEdWFFQyv/58QOSTUcmryTKuWgRJ8n8nP7Mf3jvZ5zas4n++iowJR2AL0lwK8qO6zJn/qfPxpXXri52C3HDOiX5sOQiWGzqFCLmAztkZoJ5k6qYMslEn46/QG+3qrYbFZ5+UeFcLaTvOCjrwJQ5luSEVIHfxPMOiDxCpp8FI3FVhzb209wJgqwGP1XPEbB60CnmGQedcEILgViDxrlQTef2iP1Cj42CmFL5HTrxP68VLTraqSq0wz/rCH9U4cd+FLkfznK3+ISCH85r4PdPkquk5tlz9esojRZ5zsV3Et+XZ38oOAz3rlSKH4ZCCuJREr8qR491NI7Fz9Pf1OvDQhwVsUVXGdxfoyxP3C3hi9qB3UuALSBjPPoAw5UL0UphCP8sGi91JxfMzEpKQRpEnHfdkOONd+rwrjSLtUCX6Mm8EzyomScNbqUFSmbM7ILTj3gMkvItlF1Cm1Dc7p+q1uEACCEZlWWVEzVXDTJpfVLh2JwBUyko6Zycgag== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(366016)(376014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I/9GtrAdoPVwuve4Q3cylivsABqWgrG4643OIhBdyR2pMk4/Njqfvj4GkCMabbgc1wRI2mrqUN2Ul37QqvuosxAwN+6waXuCUD4Rzc7hli2Azo3Q+Qba6WULFPOwq8vxXEkUOzy9kfMLzsWVU5STNdlsSOHCN9xUpDNgedyM4T5fbIvI57bO+ODyw212qlgJLk8zI0w91Csu+F1MZsFAo85+nwaSE1ZX3oTW7TPjKgFhDPOliyX0CvmMicfNEj74j9Qy6cde/uo/FxZj0mD0qxIog1M3lQcfB9bxmWq4T/EeKJ0CTSoF1MfZ7yKhxbUtBs5KKmCvN5BGcgMNMvm6QQ85YCp6wZaTZHCtxSsFTleFS9tn+xRPMhzxGXTJ/B+stHvF+P1MFAT06Va+cTb4uOvdIdnc6jVUGhTg0qr9BYTqlYBhGC+Ydck3qhgZFrLQW2T4xxgrbAAwIqEFQuA7de+jE503DAg5HJfPgnNNbnhtqiUVnys6O9e0jrnNl16tq5M/WXN0emCfcx7PIQb3DbklhCog5DpjFtV3Fzps2GOHvce65AyTbXzb+PSAFXoRCdJqrWXtpKEiGTk8nSE= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6893d09f-e8c1-4547-e1c9-08dcbca848cf X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2024 21:30:14.3486 (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: yjKRFd3WkuyAI8jGeyRg2id4MUVHL5ikqslcs22T5bHRIFuzJB2G2Z+R3ePcjGdUE5aTkidMk6Yzz3TYvclXvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8860 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 v1 to v2 - add address-cells and size-cells --- .../memory-controllers/fsl/fsl,ifc.yaml | 21 +++++++++++++++++++ 1 file changed, 21 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..c12bb7f51db62 100644 --- a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml @@ -58,6 +58,27 @@ 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 + + required: + - compatible + - reg + + additionalProperties: false + "^.*@[a-f0-9]+(,[a-f0-9]+)+$": type: object description: |