From patchwork Mon Jun 26 11:02:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1799795 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=) 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=A2aXb7sL; 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=pqQq/X6i; dkim-atps=neutral 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 (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QqQ2474rHz20ZP for ; Mon, 26 Jun 2023 21:03:40 +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=hEBf6BbBF7x57Brx+AuJQEsXLLxwdoZ04xRDfl5VjxA=; b=A2aXb7sL9ltqkn xKECpUhppeEmMG8pZQEQO1ieteqeyLsPBpa7OfwVTVZ1WTVzybmwJH4I1zLGjh9TVwijNMoWfXO3D kNJNTrLjtbrSh7iGgmwbsz4+eP+i3pQIrXyaiADXmU34vV/98mEN0DN2IvBcWykIcpGjGznsD5chn 6aXS59OIhMl+SnxtVD5qtl1R8x513/r7U/QAwZThDJLyILtCAlJ+M+8nrNUTqmQ7s3Ot/Ir84jmy4 uuRZaSoNkLPljdhUTBnlNyrKdgQGSkU6ANUyHmi0Qxngp9tAYUfyI+Zlbd69pp8H5Q4VjCh1fEk4b r7i3QoeydaNHcs0df7xQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qDjzr-00A1K4-1i; Mon, 26 Jun 2023 11:03:03 +0000 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qDjzo-00A1Ha-0A for linux-mtd@lists.infradead.org; Mon, 26 Jun 2023 11:03:02 +0000 X-GND-Sasl: miquel.raynal@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1687777375; 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=Fo2ATDB1zBJj190i21Ii3BavvfifjghjYzBuaaonUig=; b=pqQq/X6inCppJmNOWFE/H/tX+8VBfAyqsDE8oDYNip/iokUfTlmDeRS1LV90TUWtsjBU4t U48jYuFkaG33o1fOkkONR3iakXFR85PI6fYhKciBSjXv8Sz8S4eqzLXIAunnoYhazJDH25 Ssa9jmVxIr2HxjpoltOpVVQSO/o4gJS4ilNTaDFpxzJVtExWn9mt2/mZnxwoWMZ+ElqkGL 9o3Oo0XR2EnBXWNwFhQRg1KoNYMJvj2VtObNm1gcUunI3OtIS3G1MCZK3apYPupZQxCvdK ukcS7dtyjor8Fsz1FsirgVhJk5ofCxTDpggiNWxR7GlMYLfZeQlXDZ407RlOog== X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id B690140006; Mon, 26 Jun 2023 11:02:54 +0000 (UTC) Date: Mon, 26 Jun 2023 13:02:52 +0200 From: Miquel Raynal To: Linus Torvalds Cc: linux-mtd@lists.infradead.org, Richard Weinberger , Tudor Ambarus , Vignesh Raghavendra , Frieder Schrempf , Michael Walle , Pratyush Yadav , linux-kernel@vger.kernel.org Subject: [GIT PULL] mtd: Changes for 6.5-rc1 Message-ID: <20230626130252.7bc89a45@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230626_040300_394293_6836CDF1 X-CRM114-Status: GOOD ( 14.44 ) X-Spam-Score: -0.9 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__Hello_Linus=2C_This_is_the_MTD_PR_for_?= =?unknown-8bit?q?6=2E5-rc1=2E_Thanks=2C_Miqu=C3=A8l?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=28-0=2E9_points=2C_5=2E0_re?= =?unknown-8bit?q?quired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E7_RCVD=5FIN=5FDNSWL=5FLOW______RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C?= =?unknown-8bit?q?_low_trust?= =?unknown-8bit?b?IFsyMDAxOjRiOTg6ZGM0Ojg6MDowOjA6MjIyIGxpc3RlZCBpbl0=?= =?unknown-8bit?b?IFtsaXN0LmRuc3dsLm9yZ10=?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E0_SPF=5FHELO=5FPASS__________SPF=3A_HELO_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_author=27s_domain?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily?= =?unknown-8bit?q?_valid?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FEF__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_envelope-from_domain?= 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 Linus, This is the MTD PR for 6.5-rc1. Thanks, Miquèl The following changes since commit ac9a78681b921877518763ba0e89202254349d1b: Linux 6.4-rc1 (2023-05-07 13:34:35 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-6.5 for you to fetch changes up to cf431a5998326a0468532a188a188ac2c8e9c55d: Merge branch 'nand/next' into mtd/next (2023-06-23 19:02:09 +0200) ---------------------------------------------------------------- Core MTD changes: * otp: - Put factory OTP/NVRAM into the entropy pool - Clean up on error in mtd_otp_nvmem_add() MTD devices changes: * sm_ftl: Fix typos in comments * Use SPDX license headers * pismo: Switch back to use i2c_driver's .probe() * mtdpart: Drop useless LIST_HEAD * st_spi_fsm: Use the devm_clk_get_enabled() helper function DT binding changes: * partitions: - Include TP-Link SafeLoader in allowed list - Add missing type for "linux,rootfs" * Extend the nand node names filter * Create a file for raw NAND chip properties * Mark nand-ecc-placement deprecated * Describe nand-ecc-mode * Prevent NAND chip unevaluated properties in all NAND bindings with a NAND chip reference. * Qcom: Fix a property position * Marvell: Convert to YAML DT schema Raw NAND chip drivers changes: * Macronix: OTP access for MX30LFxG18AC * Add basic Sandisk manufacturer ops * Add support for Sandisk SDTNQGAMA Raw NAND controller driver changes: * Meson: - Replace integer consts with proper defines - Allow waiting w/o wired ready/busy pin - Check buffer length validity - Fix unaligned DMA buffers handling - dt-bindings: Fix 'nand-rb' property * Arasan: Revert "mtd: rawnand: arasan: Prevent an unsupported configuration" as this limitation is no longer true thanks to the recent efforts in improving the clocks support in this driver SPI-NAND changes: * Gigadevice: add support for GD5F2GQ5xExxH * Macronix: Add support for serial NAND flashes ---------------------------------------------------------------- Amit Kumar Mahapatra (1): Revert "mtd: rawnand: arasan: Prevent an unsupported configuration" Arseniy Krasnov (6): mtd: rawnand: meson: replace integer consts with proper defines dt-bindings: nand: meson: Fix 'nand-rb' property mtd: rawnand: meson: waiting w/o wired ready/busy pin mtd: rawnand: meson: check buffer length mtd: rawnand: meson: fix unaligned DMA buffers handling mtd: rawnand: macronix: OTP access for MX30LFxG18AC Bo Liu (1): mtd: sm_ftl: Fix typos in comments Christophe JAILLET (2): mtd: st_spi_fsm: Use the devm_clk_get_enabled() helper function mtd: mtdpart: Drop useless LIST_HEAD Dan Carpenter (1): mtd: otp: clean up on error in mtd_otp_nvmem_add() JaimeLiao (1): mtd: spinand: macronix: Add support for serial NAND flash Johan Jonker (2): mtd: rawnand: add basic sandisk manufacturer ops mtd: rawnand: add support for the Sandisk SDTNQGAMA chip Linus Walleij (2): mtd: chips: Use SPDX license headers mtd: otp: Put factory OTP/NVRAM into the entropy pool Md Sadre Alam (1): mtd: spinand: gigadevice: add support for GD5F2GQ5xExxH Miquel Raynal (18): dt-bindings: mtd: Accept nand related node names dt-bindings: mtd: Create a file for raw NAND chip properties dt-bindings: mtd: Mark nand-ecc-placement deprecated dt-bindings: mtd: Describe nand-ecc-mode dt-bindings: mtd: qcom: Fix a property position dt-bindings: mtd: qcom: Prevent NAND chip unevaluated properties dt-bindings: mtd: ingenic: Prevent NAND chip unevaluated properties dt-bindings: mtd: sunxi: Prevent NAND chip unevaluated properties dt-bindings: mtd: meson: Prevent NAND chip unevaluated properties dt-bindings: mtd: brcmnand: Prevent NAND chip unevaluated properties dt-bindings: mtd: denali: Prevent NAND chip unevaluated properties dt-bindings: mtd: intel: Prevent NAND chip unevaluated properties dt-bindings: mtd: rockchip: Prevent NAND chip unevaluated properties dt-bindings: mtd: stm32: Prevent NAND chip unevaluated properties dt-bindings: mtd: mediatek: Reference raw-nand-chip.yaml dt-bindings: mtd: mediatek: Prevent NAND chip unevaluated properties dt-bindings: mtd: ti,am654: Prevent unevaluated properties Merge branch 'nand/next' into mtd/next Rafał Miłecki (1): dt-bindings: mtd: partitions: Include TP-Link SafeLoader in allowed list Rob Herring (1): dt-bindings: mtd: partition: Add missing type for "linux,rootfs" Uwe Kleine-König (1): mtd: maps: pismo: Switch back to use i2c_driver's .probe() Vadym Kochan (1): dt-bindings: mtd: marvell-nand: Convert to YAML DT scheme Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml | 5 +-- Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 10 +++++ Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml | 3 ++ Documentation/devicetree/bindings/mtd/denali,nand.yaml | 9 ++-- Documentation/devicetree/bindings/mtd/ingenic,nand.yaml | 4 ++ Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml | 5 +-- Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml | 226 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Documentation/devicetree/bindings/mtd/marvell-nand.txt | 126 -------------------------------------------------------- Documentation/devicetree/bindings/mtd/mediatek,mtk-nfc.yaml | 3 +- Documentation/devicetree/bindings/mtd/mtd.yaml | 2 +- Documentation/devicetree/bindings/mtd/nand-controller.yaml | 85 +------------------------------------- Documentation/devicetree/bindings/mtd/partitions/partition.yaml | 1 + Documentation/devicetree/bindings/mtd/partitions/partitions.yaml | 1 + Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 45 ++++++++++++-------- Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml | 111 +++++++++++++++++++++++++++++++++++++++++++++++++ Documentation/devicetree/bindings/mtd/rockchip,nand-controller.yaml | 3 ++ Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml | 3 ++ Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml | 2 + MAINTAINERS | 1 - drivers/mtd/chips/cfi_cmdset_0001.c | 3 +- drivers/mtd/chips/cfi_cmdset_0002.c | 3 +- drivers/mtd/chips/cfi_cmdset_0020.c | 3 +- drivers/mtd/chips/cfi_probe.c | 3 +- drivers/mtd/chips/cfi_util.c | 3 +- drivers/mtd/chips/gen_probe.c | 2 +- drivers/mtd/chips/jedec_probe.c | 3 +- drivers/mtd/chips/map_ram.c | 3 +- drivers/mtd/chips/map_rom.c | 3 +- drivers/mtd/devices/st_spi_fsm.c | 28 +++---------- drivers/mtd/maps/pismo.c | 2 +- drivers/mtd/mtdcore.c | 21 ++++++++++ drivers/mtd/mtdpart.c | 1 - drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/arasan-nand-controller.c | 15 ------- drivers/mtd/nand/raw/internals.h | 1 + drivers/mtd/nand/raw/meson_nand.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---- drivers/mtd/nand/raw/nand_ids.c | 5 ++- drivers/mtd/nand/raw/nand_macronix.c | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/mtd/nand/raw/nand_sandisk.c | 26 ++++++++++++ drivers/mtd/nand/spi/gigadevice.c | 10 +++++ drivers/mtd/nand/spi/macronix.c | 20 +++++++++ drivers/mtd/sm_ftl.c | 2 +- 42 files changed, 805 insertions(+), 299 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml delete mode 100644 Documentation/devicetree/bindings/mtd/marvell-nand.txt create mode 100644 Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml create mode 100644 drivers/mtd/nand/raw/nand_sandisk.c