Message ID | 20240520-gpmi_nand-v2-0-e3017e4c9da5@nxp.com (mailing list archive) |
---|---|
Headers | show
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) (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 87F861369BE; Mon, 20 May 2024 16:09:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.14.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221401; cv=fail; b=r/+cA3FRiMM2in0qbhqFeTNYqRhRrLVis4NI2gQjO94V2rvleY4uk62nDab0k5NhotqKmFDFUnvbaUEbLUQ9xfUgFMt7/RGZhOuwNijrn/3VCfF1Kiy3W+nkKSMoXaAu/1OhAx1BrpS6B7R0KInr8GRKDXUn2PYuo32XsjZqA7o= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716221401; c=relaxed/simple; bh=Qvp0MzaBirxiX6mf0drVzdfxfWh8WJheu+7H8KrmPLs=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=GioT9tQCedGCkZMHzLCwwcjRM7f0x06gNXsUQWHm5f5ksRDu0TCY7tLUBwOvD13RbCxfeEteev6GiSuDVCnNZV0ZzWEoNKafp6ldWPNUkc77ZzPMbpzS4RZ/3g/FyGjfFMI0qEyzS5FXMmzMKn7+H58VNg4W7gSsiQ1QBaUfYns= 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=A5/Ms/sx; arc=fail smtp.client-ip=40.107.14.51 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="A5/Ms/sx" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mlmIIGtGk/LPhcirXCqL/7R7zOqTDlJzct0eD9nTXkFth6qCRanjQ+Z8sV+Ot+QTynAZrHgp7L3RTkug6+NzDJZXYU1ert4L8aJ5UbXLzXe2lShhb9TpFRPG7ehWcubphJno8sxYnE/M9S+zXmIM2sLK72l1x+7JuZg67ATIR+mCgjkqkW1YGsqu9ZnzyfsZn4DmZuvFW3d+EyOc3DM8+Yxhemq55BklwOMFh8JGKAwYvT0V3da365OMzMDye0kXWKHoxx5hA1XB9DmxDKD8zLcgsXDvoNQBPAudV0YhoYYQU1MbM7cloxdB/q1A0eOciLxQlZXBwrYTlGQ9UC77Ng== 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=pqTTcVGDf6gMMvovHTLeyjZjXWkcX5Wj9LjXADR1+XE=; b=ZzKk8lcxNx4vL/FxT2MFHu3jX9xBDd0TOvZl1paqrCn9HcgruGLb2iVAMgXnRAxNGBhA8eXiGrUITtcnwCAi8NZ1LAiE0eYcNlQE8wEkgqt1RBAUOvGu235JqCrt2V2l+Z/BGrhcj34PtK4D9TkIPyZpKKKk+uDa2FWhg+Y/EMwGRQdwPgiB2dlK79G+351NWycw3/BLSGimO2hDFVl1UEpdPMLeW17zgFnBIEY5j1L/KEKik+t/UsRnvZvMIFsRiP+nSiwhHSeABwpfdNNERVho9xwcPBHqJvLma0WBNWnIPFBy68K/FDhyw5jynQpw23WGjzJBMSn3eqPSsQ5zzA== 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=pqTTcVGDf6gMMvovHTLeyjZjXWkcX5Wj9LjXADR1+XE=; b=A5/Ms/sxlUZK+TolZkWsrabY/WM4HwYphGMJS6+EVsf3X0M5txToKfjPfcsad6qQL929owyVb7cFJsNAV8iiuQokxbMKsxKy53E0vmELwX+y44pj2t6cY/6wVNrE7F+hhc0z1LmpdQ+/tiCnfhjyYbhthxxp2hrr56x2ZV/olaw= 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 DU2PR04MB8535.eurprd04.prod.outlook.com (2603:10a6:10:2d6::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.30; Mon, 20 May 2024 16:09:55 +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.030; Mon, 20 May 2024 16:09:55 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v2 0/6] mtd: nand: gpmi-nand: add imx8qxp gpmi nand support Date: Mon, 20 May 2024 12:09:11 -0400 Message-Id: <20240520-gpmi_nand-v2-0-e3017e4c9da5@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKd1S2YC/03MSwrCMBSF4a2UOzaSxGjEkfuQInnctnfQNCQSK iV7NxYEh//h8G2QMRFmuHUbJCyUaQkt5KEDN5kwIiPfGiSXip/FhY1xpmcwwTMUQmrprB8MQvv HhAOtu/XoW0+UX0t673QR3/Wn6D+lCMaZPll79dJ5pcQ9rPHolhn6WusHMkiYcaAAAAA= To: Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Han Xu <han.xu@nxp.com>, Vinod Koul <vkoul@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Marek Vasut <marex@denx.de> 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 <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1716221390; l=2196; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Qvp0MzaBirxiX6mf0drVzdfxfWh8WJheu+7H8KrmPLs=; b=HlCf76l0hPVrNWuXoGoT9taC/LhaXGuQe0bdjL7oW8vq9RZp0Lg1Q+jxJvBGl1nNEhbvJOk89 l2lFvL8JzbNDaqV/fpN8IPd7jILSG3RGtAPu6Lo78ofJHWrHO7faQKZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0027.namprd04.prod.outlook.com (2603:10b6:a03:217::32) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: <dmaengine.vger.kernel.org> List-Subscribe: <mailto:dmaengine+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:dmaengine+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU2PR04MB8535:EE_ X-MS-Office365-Filtering-Correlation-Id: 510f05d4-0e96-4a54-e55c-08dc78e749de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|7416005|1800799015|376005|52116005|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?6R4STec5NM6LPftc3sewdYrDQtmGBtC?= =?utf-8?q?ZXptCq/nTcpNSqTNM3DHFvOsOC0aRSS+8odX4j5bXxmn8vBYCE3i2iyL6Gnhk3gzC?= =?utf-8?q?Iu3ivAT69/pSnaC2bUl0ot/d7SW6h/RRyPJyJheYbb9fzC1n2fgmoDi7XXjC+Du6i?= =?utf-8?q?CM627Zda7StSeSx2+WUBTaXcb8HWP60FbGRklXRmpx7dZk28bQMdEMnjgB5CtJCZq?= =?utf-8?q?p4Vmoe1Y9uUBDp8Lg6OoqZQuGWc/bLQqQ5CidB53TR4houxlXIr7mmidxd2SHx3nT?= =?utf-8?q?yxPHHgXuVFbI1NF8cvcOwtarRKva4auRACXlsxy1OSi4xj9YjSGL35tbKcGufwXBn?= =?utf-8?q?tfiVAk9eoEop9ISoGEe3VQAqBNSDgQUh6vOv6F/W/C8JyLzip1J2qXs3AOt4gep+3?= =?utf-8?q?PX3OdVj6iW1et3IAZoGH6jappvMk0zJVp2iqXCQ6qkKjv+hldb1qQwbqdK9/Hn82w?= =?utf-8?q?Z1nYHVT2E92DUawh/rdAhIWqwKcYRutP/eRn22t4iybb7/MTJ0E5/WwiRDz5m/Zt+?= =?utf-8?q?syS/KBGPPqKKnHqd08iQLuAJovCgabfekpHLOmXqRj7JbavJnnXQXzsM2H1KOsCyE?= =?utf-8?q?c7yysEVNPn3DUIO4ci+mBn/YI+i3AiJY6p+gX/M0RoEoaxp9wD60MNc9abDZuS1Bs?= =?utf-8?q?ZsmdgBT6W6ewVw4qtkOUTEMa1s91lJe3N77LIlW7zsgidcNS0zE9pFjUdsUjPyufE?= =?utf-8?q?7wPW6JgNUD8ufU42CMvFQlR2E1QTEgovb6U1Z6HWVRvON5fnl4MkovERIYgGcnHp4?= =?utf-8?q?zyu7aB4r97i/x1cos5pCDBnQbCxuO5kWXKduji7XjUpuAuwxrCoBYbDeDUjtMGiUQ?= =?utf-8?q?p3Pf9lAegi5XPfBL/XI9HK/nE6LFBDnmX3p7Jya3L1N89McUU6kXG/K6uCM+y+aU5?= =?utf-8?q?ikkn8rDKE6MPwcJMz0Q64frtG16SkHEfCcnQvhHBOXAqUjArvUH5xzTUBU2mQp9qa?= =?utf-8?q?9PXxkpO/H7FX/4hxci0BdFyzM4ypKycWanGCTKAqmUDp7egioTjXGexXA0NRlJ/eP?= =?utf-8?q?xjQvDUgYeavfIRN6nmlf31DkS9vYvmLV5a1KRQAL6pbEogtPVTW9jHIye+jEnL8/A?= =?utf-8?q?Zc47tNISfrgiLhht5B8pm7a6LXF3Hm4Cvgl1GS44aISQ3ECaCPOS3TKenjeVShBjf?= =?utf-8?q?64gta7l9Ngr5s/xxK3XIyBa2/cVDvdI1ItJBLuaQhvGp++cAquPY0r1ur8hWbizP7?= =?utf-8?q?PyzJgAtXcY5ez8fEXZwCCozkQhNf1zPfH7JyLfJ0VOgMfsmR7ZIiuLRlk=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)(366007)(7416005)(1800799015)(376005)(52116005)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Nh2UBDmks+nmukTXp3j61C8c1Wea?= =?utf-8?q?0pzDlFj7z/5+LLluiSZq8GVfkZFDO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eklTw5p7FR1Ca7804Iw12?= =?utf-8?q?4XumoPSNHJ8NVAh1aJfRYwg0ecPL9fkKAA1SRerUDWhXmkFTnXj0ybrPtYryO980a?= =?utf-8?q?KrN8dXICxSOLAIuh69t13z68blDLL72OEmzE68HTM1w+DZQWOZcY9d49pi4chtpCO?= =?utf-8?q?ljCuhuGMo9I1jfId0Gu9jrOceKHHevXGIuviT/Z4s3Ty3KWXBC6s1zu0o/3jQwYE8?= =?utf-8?q?wkmK/UwidpCp/dWEGy4nbFqax8t4RM59/lqmg4BPl7A+DhE8aV0dZx5TQguS85tdf?= =?utf-8?q?LPHvNzdYP8AScwKIcUImlwZ+PwtAiteMJvdpLsbVG4aPoSf/4nNLg9T/zvrEOm4oe?= =?utf-8?q?i6wHwQDNYxALFBHWj+AljlURwhhSdPyHDMD+SJtg/ZudNOdARBINZWTgZgqtmjWHj?= =?utf-8?q?xoDtjALFM1C/OdTWN/cMIlb4gfd9WfETMKbd8mq19Ocug/Aa3CLaS+IT8Si4OdJB7?= =?utf-8?q?6ImuA2qAGxxc1fDTu6i1bhqF64bG9d6VQ93m4Tvws5dfo6qgZrBpM04qpHNbItKyC?= =?utf-8?q?qnOWM879MrpKbJp9ebft75FHDcx6WueulRPGOCxNG2j4H3DHhT50POBE=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 510f05d4-0e96-4a54-e55c-08dc78e749de X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 16:09:55.2752 (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: 9AWKqqeqidWaXHOj1LMcpDgt7REDgpdFC3ytHfSQ2gJxFIwNJTnY6nNb3855yqtPFgp7vsoZ1L3JwaZ8Ep7BHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8535 |
Series |
mtd: nand: gpmi-nand: add imx8qxp gpmi nand support
|
expand
|
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@nxp.com> --- Changes in v2: - Add bool support_edo_timing to simple check logic. - fix typo at commit message of mtd: rawnand: gpmi: add iMX8QXP support. - Link to v1: https://lore.kernel.org/r/20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com --- Frank Li (5): 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" mtd: rawnand: gpmi: add 'support_edo_timing' in gpmi_devdata 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 | 6 +- 6 files changed, 141 insertions(+), 2 deletions(-) --- base-commit: dbd9e2e056d8577375ae4b31ada94f8aa3769e8a change-id: 20240516-gpmi_nand-e11272cbdfae Best regards, --- Frank Li <Frank.Li@nxp.com>