From patchwork Thu May 16 09:10:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1935860 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=JKYdiIir; 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=R1e4yjAW; 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 4Vg47Y6fBmz1yfq for ; Thu, 16 May 2024 19:10:33 +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=YpPVonyQh9441kdKw9NpDnpCk8EW3pppxmgiy7jy84M=; b=JKYdiIirZnZ0Ew ZvBEJXAi9OavGeXOLuWo+2dWONFQB6KeLgBQGFcdC38q+Pd0xwP/Kwx1XNb+JRWODJYiLSBNsyrrT 6vk68ahf+PO2WajpS5Kh2OOB+QVi0ipeACtzmd6wIQMKwhQUReGl9z7pSTByD8SbV96UrQtX+f1I9 pZfC6T90W2Q62pBpdAPKDCuMnpktNxaZs7KDZ+rsPSQRO7T5vh3mkLOa1e/yL/Vqxq1HMhOiFxSsC AlDctSSflXIZb+Kc1f2iaqHKRo50xjmRkvfQy1Kmljt1jI7aP9SfJ16IClw3AONu814eVtoj6Frld vwpgyjbTvMW34Y/LdYnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7X85-00000004GiN-0Dho; Thu, 16 May 2024 09:10:25 +0000 Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7X81-00000004GhY-2tAc for linux-mtd@lists.infradead.org; Thu, 16 May 2024 09:10:23 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id B564E2000E; Thu, 16 May 2024 09:10:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1715850617; 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=NMV5f3FFSpaQuc9jD0+gvxaq7aY9BJmILcDh48MT9I8=; b=R1e4yjAWnRlhnQQiYh4l+wXZsD7GNc34u/Qo89wR2TJ6wIZ7SY3BhnXqfkMKnb7O+7mjAa q1X863b3zfHbqIuXTU2crR2Fp5SNYu+NeeDYliIHM4ChGaJAfXvOhSjphiv/UA7PQTFLLZ o6pUyrHA+r9F/sCd34boyXHFfZ3iTIz5wrUgiUmNA6iZZLYFpo5qQEc5fXmdEUimL1uoMH PV8Hc3uR8NRglmjhF3ms6xPFnKVfHWlyoBq/DBItu0aMlnmrd8CNFmCFyyEhhqUKHx6X4a E6REp79DOVxFBOpnCuhWW6GuXW0NHtEF/2D4GlgNeo1zDzMLAvxvaTDIHsj5Og== Date: Thu, 16 May 2024 11:10:16 +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 v6.10-rc1 Message-ID: <20240516111016.10d8abc4@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-20240516_021022_035758_47CCE7C8 X-CRM114-Status: GOOD ( 11.96 ) 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?v6=2E10-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=2E0_SPF=5FHELO=5FPASS__________SPF=3A_HELO_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily_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?= =?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=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from_author=27s?= =?unknown-8bit?q?_domain?= =?unknown-8bit?q?_-0=2E7_RCVD=5FIN=5FDNSWL=5FLOW______RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C_low?= =?unknown-8bit?q?_trust?= =?unknown-8bit?b?IFsyMDAxOjRiOTg6ZGM0Ojg6MDowOjA6MjI3IGxpc3RlZCBpbl0=?= =?unknown-8bit?b?IFtsaXN0LmRuc3dsLm9yZ10=?= 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 v6.10-rc1. Thanks, Miquèl The following changes since commit 4cece764965020c22cff7665b18a012006359095: Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-6.10 for you to fetch changes up to 552c9380f98fc47950870ef0935f94cf3acec087: Merge tag 'nand/for-6.10' into mtd/next (2024-05-16 10:55:36 +0200) ---------------------------------------------------------------- * MTD Simon Glass wanted to support binman's output properties in order to check their validity using the binding checks and proposed changes with the missing properties as well as a binman compatible. Krzysztof Kozlowski on his side shared a new yaml for describing Samsung's OneNAND interface. The interface with NVMEM has also been slightly improved/fixed, especially now that OTP are also supported in the NAND subsystem. Along with these changes, small cleanups have also been contributed around ID tables, structure sizes, arithmetic checks and comments. * Raw NAND subsystem Two small fixes, one in the Hynix vendor code for properly returning an error which might have been ignored and another in the Davinci driver to properly synchronize the controller with the gpio domain. * SPI NOR subsystem SPI NOR now uses div_u64() instead of div64_u64() in places where the divisor is 32 bits. Many 32 bit architectures can optimize this variant better than a full 64 bit divide. ---------------------------------------------------------------- Aapo Vienamo (2): mtd: core: Report error if first mtd_otp_size() call fails in mtd_otp_nvmem_add() mtd: core: Don't fail mtd_otp_nvmem_add() if OTP is unsupported Andy Shevchenko (1): mtd: core: Align comment with an action in mtd_otp_nvmem_add() Bastien Curutchet (1): mtd: rawnand: davinci: Add dummy read after sending command Denis Arefev (1): mtd: partitions: redboot: Added conversion of operands to a larger type Erick Archer (1): mtd: maps: sa1100-flash: Prefer struct_size over open coded arithmetic Krzysztof Kozlowski (2): dt-bindings: mtd: Add Samsung S5Pv210 OneNAND mtd: mchp23k256: drop unneeded MODULE_ALIAS Maxim Korotkov (1): mtd: rawnand: hynix: fixed typo Michael Walle (1): mtd: spi-nor: replace unnecessary div64_u64() with div_u64() Miquel Raynal (2): Merge tag 'spi-nor/for-6.10' into mtd/next Merge tag 'nand/for-6.10' into mtd/next Simon Glass (2): dt-bindings: mtd: fixed-partitions: Add alignment properties dt-bindings: mtd: fixed-partition: Add binman compatibles Documentation/devicetree/bindings/mtd/partitions/binman.yaml | 53 +++++++++++++++++++++ Documentation/devicetree/bindings/mtd/partitions/partition.yaml | 72 +++++++++++++++++++++++++++++ .../devicetree/bindings/mtd/samsung,s5pv210-onenand.yaml | 65 ++++++++++++++++++++++++++ MAINTAINERS | 5 ++ drivers/mtd/devices/mchp23k256.c | 1 - drivers/mtd/maps/sa1100-flash.c | 6 +-- drivers/mtd/mtdcore.c | 9 +++- drivers/mtd/nand/raw/davinci_nand.c | 5 +- drivers/mtd/nand/raw/nand_hynix.c | 2 +- drivers/mtd/parsers/redboot.c | 2 +- drivers/mtd/spi-nor/core.c | 4 +- 11 files changed, 212 insertions(+), 12 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/partitions/binman.yaml create mode 100644 Documentation/devicetree/bindings/mtd/samsung,s5pv210-onenand.yaml