Message ID | 20230606231252.94838-1-william.zhang@broadcom.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3733192vqr; Tue, 6 Jun 2023 16:26:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5RNM/2y1iS/suP/AFyZJlfIU8l1yM48n9BXP2rhCNhWUqdD7VURAdEZQ0w4r2ko62f1FsR X-Received: by 2002:a54:4014:0:b0:39a:7830:f25d with SMTP id x20-20020a544014000000b0039a7830f25dmr3240327oie.9.1686093970126; Tue, 06 Jun 2023 16:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686093970; cv=none; d=google.com; s=arc-20160816; b=RI8WnMYoznwl6eza/7MxrB81WTlwIguEPB96+LugqflOfORwN9kcY+P8xYphxZHpPD Pc+U73Wp1r1SqYqxryof/cosc42Di8SjhgJHQAHrDhu7OXtPiMTiAgYfVkmNH28WVi85 Kry5sDPbR93qTm3MwEGrUUaq8bDrTWjsjNFZxlV/OehazGioOIFTU2j2ljRvcOKmyFME soRe1mkeUqr2CXmRW8Q8qAvzpiOM2t5cr12xRdthBPNjD3ewPO5FBQZB2rFHtPafY4bG FKvFbjdlUrinUkTjnMBLXSHOWuhqac/3Mv8/55zSvrv3e3cWQASU7JMZnWqnzJkt1zkN GlIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=HY4q/q0iXilcEFe8TpiYgTYnOYhsmIy9HGSebLJTKdI=; b=DIpHvsmm0TA3mgobinhN1bSyK77kEQbvRPaHQ4L1dpl1xr0IhfsNW+gaCLEDbasya+ Fb7rB2dNNxR1oN4MJwE3uFg/qcjjnOhXz9ScZQoQBj+EHQcLddqSJF6Dy4AqLsXjQKka tiyR+u6nXG2Ve93rtF6qpE3Q2gqdSog+nm9v6isi7cUbRBAyYG6T9JnsUXgbAsAVg7/3 uKuzWT5IpHoVGhx4yAlaGVbGK67QBQVODnf5IDcxycSf5gCjuq0cedTRGw/V8wwUg3CL 9g+fOW1Jw4Nlkign/Qiv+WHg1G9ypv2sGPX9JqOKoixX41+93NLhQc3Cs4dXe2Xakare In1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=J8IfmAtG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c29-20020aa7953d000000b0065d565b6b33si3207796pfp.33.2023.06.06.16.25.54; Tue, 06 Jun 2023 16:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=J8IfmAtG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240199AbjFFXNt (ORCPT <rfc822;xxoosimple@gmail.com> + 99 others); Tue, 6 Jun 2023 19:13:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234333AbjFFXNs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 6 Jun 2023 19:13:48 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC9671721 for <linux-kernel@vger.kernel.org>; Tue, 6 Jun 2023 16:13:45 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-75b14216386so624995085a.0 for <linux-kernel@vger.kernel.org>; Tue, 06 Jun 2023 16:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1686093225; x=1688685225; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=HY4q/q0iXilcEFe8TpiYgTYnOYhsmIy9HGSebLJTKdI=; b=J8IfmAtGA3G5TyRwNZsfbxwXqJJOn84aKYpYSLD1Zo+vrPn4nS/Dpiep1B57QrIzPq TNxk7TFHMH2WyBCRZxvTm0f4MUmIlQUt+nLx29+bChOAEWqBHwRF0azIS+6n1onM2Y+l 6g73okDquo+3wqWNaW5Dn4yUrxOIrFZLZw3Ps= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686093225; x=1688685225; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HY4q/q0iXilcEFe8TpiYgTYnOYhsmIy9HGSebLJTKdI=; b=kcKFhoEXuFZPrM6C3fXkcGz8z6bS/OoH9TEHjDTjuKtOIqk0p0pqgjsYLTy2DxeO6d Qnw8ZbpTx4wyCte77WdeVpea35+JcrYe0G2ixgq5numT2WFKhCEs+DTTf0oCybyXy43o lqziZ4r0O7ByIzZkLg4GwMnsE0p7PmO/OgnLjEKKBAlIH/dlxENvN1+ZR6uIEsbo/+MW mGtjWac+5+222fPZk8pIP/3rjmjxyM+CBByNe14b8dZEQwS9KUsnYnydsCXzMRiah9Z8 92JO8cYLX6CvsM4Ombt8g9hMgjNbE0cEc6NKD7kxiCbpvAKbXng7ewkzvZ8pZNEt9Fkg d7UQ== X-Gm-Message-State: AC+VfDyOuJUH28nQcCwe+vF6rYu+XDCPeLFupIxUWvKHqIc1W66DpHDL o1sr95KUabIM2xXYsSO1dEIb+A== X-Received: by 2002:a05:620a:27c9:b0:75d:4682:125b with SMTP id i9-20020a05620a27c900b0075d4682125bmr190369qkp.33.1686093224900; Tue, 06 Jun 2023 16:13:44 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id x9-20020ae9e909000000b0075b23e55640sm5221519qkf.123.2023.06.06.16.13.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 16:13:42 -0700 (PDT) From: William Zhang <william.zhang@broadcom.com> To: Broadcom Kernel List <bcm-kernel-feedback-list@broadcom.com>, Linux MTD List <linux-mtd@lists.infradead.org> Cc: f.fainelli@gmail.com, rafal@milecki.pl, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, computersforpeace@gmail.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, William Zhang <william.zhang@broadcom.com>, devicetree@vger.kernel.org, Rob Herring <robh@kernel.org>, linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Vignesh Raghavendra <vigneshr@ti.com>, Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, linux-arm-kernel@lists.infradead.org, Boris Brezillon <bbrezillon@kernel.org>, Kamal Dasu <kdasu.kdev@gmail.com>, Rob Herring <robh+dt@kernel.org> Subject: [PATCH 00/12] mtd: rawnand: brcmnand: driver and doc updates Date: Tue, 6 Jun 2023 16:12:40 -0700 Message-Id: <20230606231252.94838-1-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000bf172e05fd7e2bf3" X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MIME_NO_TEXT, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767997670887841160?= X-GMAIL-MSGID: =?utf-8?q?1767997670887841160?= |
Series |
mtd: rawnand: brcmnand: driver and doc updates
|
|
Message
William Zhang
June 6, 2023, 11:12 p.m. UTC
This patch series include the accumulative updates and fixes for the brcmnand driver. The device tree document is also updated accordingly with the new properties needed by the driver. William Zhang (12): mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller mtd: rawnand: brcmnand: Fix potential false time out warning mtd: rawnand: brcmnand: Fix crash during the panic_write mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write dt-bindings: mtd: brcmnand: Updates for bcmbca SoCs ARM: dts: broadcom: bcmbca: Add NAND controller node arm64: dts: broadcom: bcmbca: Add NAND controller node mtd: rawnand: brcmnand: Rename bcm63138 nand driver mtd: rawnand: brcmnand: Add new compatible string mtd: rawnand: brcmnand: Add BCMBCA read data bus interface mtd: rawnand: brcmnand: Add support for getting ecc setting from strap mtd: rawnand: brcmnand: Support write protection setting from dts .../bindings/mtd/brcm,brcmnand.yaml | 64 ++++--- arch/arm/boot/dts/bcm47622.dtsi | 17 ++ arch/arm/boot/dts/bcm63138.dtsi | 12 +- arch/arm/boot/dts/bcm63148.dtsi | 17 ++ arch/arm/boot/dts/bcm63178.dtsi | 17 ++ arch/arm/boot/dts/bcm6756.dtsi | 17 ++ arch/arm/boot/dts/bcm6846.dtsi | 17 ++ arch/arm/boot/dts/bcm6855.dtsi | 17 ++ arch/arm/boot/dts/bcm6878.dtsi | 17 ++ arch/arm/boot/dts/bcm947622.dts | 4 + arch/arm/boot/dts/bcm963138.dts | 4 + arch/arm/boot/dts/bcm963138dvt.dts | 12 +- arch/arm/boot/dts/bcm963148.dts | 4 + arch/arm/boot/dts/bcm963178.dts | 4 + arch/arm/boot/dts/bcm96756.dts | 4 + arch/arm/boot/dts/bcm96846.dts | 4 + arch/arm/boot/dts/bcm96855.dts | 4 + arch/arm/boot/dts/bcm96878.dts | 4 + .../boot/dts/broadcom/bcmbca/bcm4908.dtsi | 5 +- .../boot/dts/broadcom/bcmbca/bcm4912.dtsi | 17 ++ .../boot/dts/broadcom/bcmbca/bcm63146.dtsi | 17 ++ .../boot/dts/broadcom/bcmbca/bcm63158.dtsi | 17 ++ .../boot/dts/broadcom/bcmbca/bcm6813.dtsi | 17 ++ .../boot/dts/broadcom/bcmbca/bcm6856.dtsi | 17 ++ .../boot/dts/broadcom/bcmbca/bcm6858.dtsi | 17 ++ .../boot/dts/broadcom/bcmbca/bcm94912.dts | 4 + .../boot/dts/broadcom/bcmbca/bcm963146.dts | 4 + .../boot/dts/broadcom/bcmbca/bcm963158.dts | 4 + .../boot/dts/broadcom/bcmbca/bcm96813.dts | 4 + .../boot/dts/broadcom/bcmbca/bcm96856.dts | 4 + .../boot/dts/broadcom/bcmbca/bcm96858.dts | 4 + drivers/mtd/nand/raw/brcmnand/Makefile | 2 +- drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c | 101 ----------- drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c | 138 +++++++++++++++ drivers/mtd/nand/raw/brcmnand/brcmnand.c | 166 ++++++++++++++---- drivers/mtd/nand/raw/brcmnand/brcmnand.h | 2 + 36 files changed, 615 insertions(+), 164 deletions(-) delete mode 100644 drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c create mode 100644 drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c