From patchwork Fri May 17 18:09:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13667290 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2073.outbound.protection.outlook.com [40.107.20.73]) (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 163B41FC8 for ; Fri, 17 May 2024 18:10:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969427; cv=fail; b=dwljVUkF+hJeiHVpJiGnAT0hzMQ7OCrg2pI0MEMgyzDMmwq7uphJUecQltRl6A2VoQrqavP0p3QlpeX9avZlq1JSF7u9rVT5fM3DOwUJ/KDp589AHmTgHmoxV6JPDLfuMnwbfRWMYy8Ynyd+JPFeN6NeDxArh5yxaRuNl4N+o3s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969427; c=relaxed/simple; bh=pqXIC7WuTd9QbL6qS2aYOEz/tYGaAAcuvreq5hwo9mk=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=B3nCVd62/jFDDHnf92Eo/8eL71pS6X7yu99MVqEj4BwEd0/zBs2A1DDVAmFWjZDWc5ddiyYs/KKDi/J9rXdDiqYBcWq8YDKUbqrNnppCe7rzZIhep37Zk/w497SqfSERMveukZEM/BlcNrX6AAvTb2auW4TBOxRFlKbN0emuP9E= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=O4J6KS8S; arc=fail smtp.client-ip=40.107.20.73 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="O4J6KS8S" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WFJN9noXEUPS1gzUeDlfBafInYTYS9AqmXDExmq5+ZTp2QFwBELQSdp1JcwlXczQ9JkubLDxQ3IS9pyU8z9MXk+rc6/7PKBM+b5Cx65RG7DHp1aBcnKmMgB5dBaX/40PsB8t25fIUqI5wxxrNlwmdzeW07uHFny/hPuHm4eWDea8B0KXliakK6HlqvdAfp8bpCie5JKvcxj8OcxhTrUsDP7+A42ZqCo6wvixjHrh7ZI7Lx1ET0y65lrVc/469UZYqD1ICDB6b4FP4hMuOLLqvOuyvXpkyfg1NjTZZhAYbRdwdQ5XqC87Mo9JTGpQLyB45NMOTX/W0E2ajDazp8fBwQ== 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=/pFpJoOmviIvR8Ff1VbG4ofTFueWJ4ICEeSQnE2rOlw=; b=TH0VRLqaAxhhY+iodfe84Yq5bZoHpwnJ/gnFKj+oktBT22u0/GfHFU409xpzmSeokisxleg8VWoWD2VuYoeIQEw+1me63n4+7n+S/q3XKg/3V13luzucxl1qoztVIvV1tNXvHC71NB6l/nw728Vk9bbSCFIJ33TBsTvYBnsah0QIHMG+WUTuobDzi4nH9brFf8+1CxFZfhdObfi82qYQvojNPmWZ9wxyqQjzLwIlrQ7aeEgiTH5SukCyYQGDc+6pfC9tg1ryiEdT2XwIB+Ho+VGvPCHt8d6R+UrGD6HXR8WFJphjjiHZdvc+UOJJt0hSpImhIAhQv8zjovyxpoXdhQ== 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=/pFpJoOmviIvR8Ff1VbG4ofTFueWJ4ICEeSQnE2rOlw=; b=O4J6KS8Svis/qtM1+HvskvUpwtTPlnqrq62qlBfn27JN6if3hrcay84zM6sBeJgqf9K3Wxw4gZbz+jiRBrT4IbM4aAPMSId1c1G4cIIuqe2GQJhNV2lGiJPHn7an9Wrk3OBWieGooCHIgpZwfAGQ8ICWZVuhmgnqAopSLBCgElU= 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 AM9PR04MB8422.eurprd04.prod.outlook.com (2603:10a6:20b:3ea::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Fri, 17 May 2024 18:10:22 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7587.026; Fri, 17 May 2024 18:10:21 +0000 From: Frank Li Subject: [PATCH 0/5] mtd: nand: gpmi-nand: add imx8qxp gpmi nand support Date: Fri, 17 May 2024 14:09:47 -0400 Message-Id: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> X-B4-Tracking: v=1; b=H4sIAGudR2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDU0Mz3fSC3Mz4vMS8FN1UQ0Mjc6PkpJS0xFQloPqCotS0zAqwWdGxtbU AZYdK/1sAAAA= To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Han Xu , Vinod Koul , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Marek Vasut Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1715969417; l=1891; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=pqXIC7WuTd9QbL6qS2aYOEz/tYGaAAcuvreq5hwo9mk=; b=JOnCvYouR8h2OGgkFxEwLpS6Y76bIXye/hfInC5LEQgXUULFdxEOvf6haUzATsqfFQ/I/CsDH D2+QcZd7FZtCIO51C71l194DY8vRsg6uOjcI8LKzTlx3Xkr1q0oEzMf X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0068.namprd07.prod.outlook.com (2603:10b6:a03:60::45) 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_|AM9PR04MB8422:EE_ X-MS-Office365-Filtering-Correlation-Id: f967b972-5b34-4264-42f8-08dc769c9e05 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|366007|376005|7416005|1800799015|921011|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?2XE0FQ+aSk6vj8S5uOVvL2AYhpgkMCI?= =?utf-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88LaQ?= =?utf-8?q?1CbSpBi6I85g5C9f4FZCWwaeKmJR/ChBi9Ff1fmuUgH9tdZs1mJi2BCU2/QpejxTZ?= =?utf-8?q?jiQcMyHWZ02qQ2XnD4VqIwTCOkfQZMrws+S2Q5tnYFD1pwMKf0wDZEXOR6yeJF7n3?= =?utf-8?q?VL8nqIiiI5PclgCMpB4wZesbuUDc12KqwlIiDjg3yHZYBXDvDmtK/Az/OQdpkvWFp?= =?utf-8?q?0zgoJls0sUAMJj4HsOWFskEsSoqzOYFkXEcT0TW76/eYvfHpRwzmrMoRyS+dSOxt7?= =?utf-8?q?j+t+2aN/xxA5VmyrjkdHeiEIS3LGodHbJLZ+s1boFdcSSq6+69/Bu+9rx9zlZqDbH?= =?utf-8?q?bNsDUW99x0y7691mkcYF8Ejz+5t/JNeiNV1e4991doT4HowQSXc5t4vql8EQbUynx?= =?utf-8?q?R7s6Cz3pRFdZw+8FCx6o6x+/emnLk/Vix4eFGfW9IQlPrMIKqKHiWFu4=3D?= 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:(13230031)(52116005)(366007)(376005)(7416005)(1800799015)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?be9bb2TB8BPgYKaVG86YOv/4SEnY?= =?utf-8?q?i6IRVI6Qg5Vkar5p/ewkI83up+PWLUXw3Hm+OJadEE140akbzTBKRp59b0/Zh9PJT?= =?utf-8?q?sOMjCnZ5/Ra5BnGd6LE7pezRc8t130K1ZZgJ5/1/wrlrz03J5P3EVjMcO021kFJxD?= =?utf-8?q?IsAhkL+BxPKIBBoA6JntbuKHo88TvM8gA9evHskvT17UQrRs0QUcu6jOBgRRna7ns?= =?utf-8?q?Q7n6ogSgtytbMhRGeXYq9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pPFTz+tiuCJak3SCqnnPdF5Q3aQDVm/JBY4x+TR?= =?utf-8?q?BjLUBY0kxggPURIo0bzDXsXOpDDY/jCZIHWFeUAxkFotf0XwP22T0/tyuf59rr49V?= =?utf-8?q?47anpHUET7Pzde2J+rTYIuob8fdHKRNvq9hdMBuhnyUyenKGiS3y4O5+sAC2LBQMH?= =?utf-8?q?J9jhFLFMejeiaWJJsDN1N4djK8AYWOCCKwHwcZU6JK3YWNd7CUJIr/iKGquX5v6Nz?= =?utf-8?q?qT0Cp4XLKnTmxkOAWio3UavuZRBW7M5YXZikHfs3AU9S0UYr030cz/oiQR+x77iVw?= =?utf-8?q?qxDu7NcMwTcdThxjHLgsLRQ3irvKzEt2FAoih+dWxoEdANzxZgO7YUvtdiNPzDCqh?= =?utf-8?q?I81FucY6RDAL7v3mHwJOrENTFFjbXW9JYCmCaZwOHhB7qizMExXCmLbiV+/QPtkfp?= =?utf-8?q?Md8AOW+unD3y?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f967b972-5b34-4264-42f8-08dc769c9e05 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 18:10:21.8923 (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: MosWaewTKbo4cl7tBhjIi6tGpn+EFuQ8Q1V3HpmpbXddiQdQzrGHk+LQrxuniMe/FmhpiWdpcRizrQxDb+eSXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8422 Update binding doc to support imx8qxp NAND. Add new compatible string "fsl,imx8qxp-gpmi-nand". Update dts for imx8qxp and imx8dxl Run dt_binding_check: fsl,mxs-dma.yaml SCHEMA Documentation/devicetree/bindings/processed-schema.json DTEX Documentation/devicetree/bindings/dma/fsl,mxs-dma.example.dts DTC_CHK Documentation/devicetree/bindings/dma/fsl,mxs-dma.example.dtb Run dt_binding_check: gpmi-nand.yaml SCHEMA Documentation/devicetree/bindings/processed-schema.json DTEX Documentation/devicetree/bindings/mtd/gpmi-nand.example.dts DTC_CHK Documentation/devicetree/bindings/mtd/gpmi-nand.example.dtb No warning: make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 CHECK_DTBS=y freescale/imx8dxl-evk.dtb SYNC include/config/auto.conf.cmd UPD include/config/kernel.release DTC_CHK arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb Signed-off-by: Frank Li --- Frank Li (4): dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh" arm64: dts: imx8-ss-conn: add gpmi nand node arm64: dts: imx8dxl-ss-conn: add gpmi nand Han Xu (1): mtd: rawnand: gpmi: add iMX8QXP support. .../devicetree/bindings/dma/fsl,mxs-dma.yaml | 15 +++++ .../devicetree/bindings/mtd/gpmi-nand.yaml | 22 +++++++ arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 69 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 11 ++++ drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 20 ++++++- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 4 ++ 6 files changed, 138 insertions(+), 3 deletions(-) --- base-commit: dbd9e2e056d8577375ae4b31ada94f8aa3769e8a change-id: 20240516-gpmi_nand-e11272cbdfae Best regards, --- Frank Li