From patchwork Wed Jul 17 08:45:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1961488 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Z/4lNuNz; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=La7ARwx9; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WP8f84NSBz1xqc for ; Wed, 17 Jul 2024 18:45:36 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=iJ67AYzGZwUwnQ81yJeYVlajs1dDyYpG35eOOPaVX9Q=; b=Z/4lNuNzhk6tHP KBOKfFQ9H07UTEzvxntMndvamMndG3uWyb3zvimEmMO7niIzNSslQmO93S1BX7/726uU1XGA3NiwW p4bu7JlKZ/I5CBNIa1nAPChMX/6ojtdWqdWHecBCbz9RBIAiWPt97hjpr94gYdh+QZpreQsL9rSz6 iuDlIwBn86VjRRwV6HDKiMNOHoRDVWWf48NYZ90WTiauziVsBy3zuu4/MNjf2bO0zieBRF448up+T UZdhJMI/38roWE2aJIDsGXZqeYSDhCyk6238jZjSjGdTwPgg3lYx2GrVDI/jQo9UohjhF9G8ArnMa ldL8rWDbgKuBdQMBlSlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sU0Hu-0000000DC4U-366h; Wed, 17 Jul 2024 08:45:26 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sU0Hq-0000000DC3s-3YFv for linux-mtd@lists.infradead.org; Wed, 17 Jul 2024 08:45:24 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8438C240009; Wed, 17 Jul 2024 08:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1721205920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TB/yiXe82vQof9GHBCvoSjARSrJ9BLJhn3mfBzQm20k=; b=La7ARwx9HstcFPogNwfE8qsKSHZFylNYIH9QHjLuIeXdAV3i966IuEjENeLybBnKa98VPn 0e0JhWDqMfD9NxEIMv/aDRFojBftxkf+o3drwzwlhr5D2f+zmFahig+zXfJGaEKSt5WaQN XDbR7RVO32sN9/vNdLTaJUtE+ChIW8ifMzvGZgjiGhkIbE+joJ5IkT8lHQVO0VniCKMjMd cDmhLwd/b9+D+DK6IGq+24NkkKd8UN8JUPw1aYib9Uk4kvpXZ0GW7BZ5npiotJyuEphCOR GXazCLCT35mj8SiHCVDqWT5S7WOBjelkGjtv7MUmMYjzL5tttqICoOyGuhcJpw== Date: Wed, 17 Jul 2024 10:45:19 +0200 From: Miquel Raynal To: Richard Weinberger Cc: linux-mtd@lists.infradead.org, Tudor Ambarus , Vignesh Raghavendra , Frieder Schrempf , Michael Walle , Pratyush Yadav Subject: [GIT PULL] mtd: nand: Changes for 6.11 Message-ID: <20240717104519.6175541d@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-GND-Sasl: miquel.raynal@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240717_014523_371988_A85FCEA4 X-CRM114-Status: GOOD ( 11.60 ) X-Spam-Score: -2.8 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, This is the NAND PR for 6.11. I just pushed -f the nand/next branch to drop a DMA related patch for which I received no answer from Vinod. I applied it by mistake and just figured that out last week. Content analysis details: (-2.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.193 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hello, This is the NAND PR for 6.11. I just pushed -f the nand/next branch to drop a DMA related patch for which I received no answer from Vinod. I applied it by mistake and just figured that out last week. Thanks, Miquèl The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/nand/for-6.11 for you to fetch changes up to a503f91a3645651a39baf97f1aed90d5d9f9bda9: mtd: rawnand: lpx32xx: Fix dma_request_chan() error checks (2024-07-17 10:39:39 +0200) ---------------------------------------------------------------- Raw NAND changes; The Freescale MXC driver has been converted to the newer ->exec_op() interface. The meson driver now supports handling the boot ROM area with very specific ECC needs. Support for the iMX8QXP has been added to the GPMI driver. The lpx32xx driver now can get the DMA channels using DT entries. The Qcom binding has been improved to be more future proof by Rob. And then there is the usual load of misc and minor changes. SPI-NAND changes: The Macronix vendor driver has been improved to support an extended ID to avoid conflicting with older devices after an ID reuse issue. ---------------------------------------------------------------- Arseniy Krasnov (3): dt-bindings: mtd: amlogic,meson-nand: support fields for boot ROM code mtd: rawnand: meson: refactor use of 'meson_nfc_cmd_access()' mtd: rawnand: meson: read/write access for boot ROM pages Cheng Ming Lin (2): mtd: spinand: macronix: Add support for reading Device ID 2 mtd: spinand: macronix: Add support for serial NAND flash Dr. David Alan Gilbert (1): mtd: rawnand: cadence: remove unused struct 'ecc_info' Frank Li (2): dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string mtd: rawnand: gpmi: add 'support_edo_timing' in gpmi_devdata Han Xu (1): mtd: rawnand: gpmi: add iMX8QXP support. Piotr Wojtaszczyk (2): mtd: rawnand: lpx32xx: Request DMA channels using DT entries mtd: rawnand: lpx32xx: Fix dma_request_chan() error checks Rob Herring (Arm) (1): dt-bindings: mtd: qcom,nandc: Define properties at top-level Sascha Hauer (3): mtd: rawnand: mxc: separate page read from ecc calc mtd: rawnand: mxc: implement exec_op mtd: rawnand: mxc: support software ECC Wolfram Sang (2): mtd: rawnand: mxc: use 'time_left' variable with wait_for_completion_timeout() mtd: rawnand: intel: use 'time_left' variable with wait_for_completion_timeout() .../bindings/mtd/amlogic,meson-nand.yaml | 18 + .../devicetree/bindings/mtd/gpmi-nand.yaml | 22 + .../devicetree/bindings/mtd/qcom,nandc.yaml | 38 +- drivers/mtd/nand/raw/cadence-nand-controller.c | 5 - drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 20 +- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 6 +- drivers/mtd/nand/raw/intel-nand-controller.c | 6 +- drivers/mtd/nand/raw/lpc32xx_mlc.c | 26 +- drivers/mtd/nand/raw/lpc32xx_slc.c | 26 +- drivers/mtd/nand/raw/meson_nand.c | 86 ++- drivers/mtd/nand/raw/mxc_nand.c | 708 ++++++++++---------- drivers/mtd/nand/spi/macronix.c | 64 +- 12 files changed, 569 insertions(+), 456 deletions(-)