mtd: rawnand: brcmnand: driver and doc updates
Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v6 from the cover letter
- Moved style fixes to a separate patch
- Fix style issue
- Add reviewed-by tags
- Add other nand ecc properties to the exclude check list
- Update the brcm,nand-ecc-use-strap property description
- Combine the ecc step size and ecc strength into one get function
- Treat it as error condition if both brcm,nand-ecc-use-strap and nand ecc dts properties are set
- Add intermediate steps to get the sector size bitfield
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | mtd: rawnand: brcmnand: exec_op helper functions return type fixesdrivers/ | +8 | 2 replies | |
| 2/13 | mtd: rawnand: brcmnand: fix style issuesdrivers/ | +11 | 1 reply | |
| 3/13 | mtd: rawnand: brcmnand: update log level messagesdrivers/ | +3 | 1 reply | |
| 4/13 | dt-bindings: mtd: brcmnand: Updates for bcmbca SoCsDocumentation/ | +8 | 1 reply | |
| 5/13 | dt-bindings: mtd: brcmnand: Add WP pin connection propertyDocumentation/ | +7 | 1 reply | |
| 6/13 | dt-bindings: mtd: brcmnand: Add ecc strap propertyDocumentation/ | +24 | 2 replies | |
| 7/13 | ARM: dts: broadcom: bcmbca: Add NAND controller nodearch/ arch/ arch/ +14 more | +191 | 1 reply | |
| 8/13 | arm64: dts: broadcom: bcmbca: Add NAND controller nodearch/ arch/ arch/ +11 more | +156 | 1 reply | |
| 9/13 | arm64: dts: broadcom: bcmbca: Update router boardsarch/ arch/ arch/ | +15 | 1 reply | |
| 10/13 | mtd: rawnand: brcmnand: Rename bcm63138 nand driverdrivers/ drivers/ drivers/ | +100 | 1 reply | |
| 11/13 | mtd: rawnand: brcmnand: Add BCMBCA read data bus interfacedrivers/ drivers/ drivers/ | +46 | 1 reply | |
| 12/13 | mtd: rawnand: brcmnand: Add support for getting ecc setting from strapdrivers/ | +77 | 6 replies | |
| 13/13 | mtd: rawnand: brcmnand: Support write protection setting from dtsdrivers/ | +4 | 1 reply |
Reviews trailers per patch
12 of 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | William Zhang | David Regan | Rob Herring | Florian Fainelli | Conor Dooley | Kamal Dasu |
|---|---|---|---|---|---|---|
| Series | A-b | |||||
| 1/13 | R-b | R-b | ||||
| 2/13 | R-b | |||||
| 3/13 | R-b | |||||
| 4/13 | R-b | R-b | R-b | |||
| 5/13 | R-b | R-b | ||||
| 6/13 | R-b | |||||
| 7/13 | R-b | |||||
| 8/13 | R-b | |||||
| 9/13 | ||||||
| 10/13 | R-b | A-b | ||||
| 11/13 | R-b | |||||
| 12/13 | R-b | |||||
| 13/13 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH v6 00/13] mtd: rawnand: brcmnand: driver and doc updates
This patch series is an update from the previous version [1] after exex_op support and fixes (patch 1 to 4 from the previous version.)
It updates all the BCMBCA SoC to support the nand controller and add functions to handle BCMBCA specific needs on ECC and Write Protection usage. The device tree document is also updated accordingly with the new properties needed by the driver.
In addition there is a bug fix for exec_op helper functions, log level adjustment on uncorrectable ECC error and some coding style fixes.
[1] https://lore.kernel.org/lkml/[email protected]/
Changes in v6:
- Moved style fixes to a separate patch
- Fix style issue
- Add reviewed-by tags
- Add other nand ecc properties to the exclude check list
- Update the brcm,nand-ecc-use-strap property description
- Combine the ecc step size and ecc strength into one get function
- Treat it as error condition if both brcm,nand-ecc-use-strap and nand ecc dts properties are set
- Add intermediate steps to get the sector size bitfield
Changes in v5:
- Update the commit message
- Add reviewed-by tag
- Update the description of this new property
- Update the description for this ecc strap property
- Add check to make sure brcm,nand-ecc-use-strap and nand-ecc-strength/brcm,nand-oob-sector-size can not be used at the same time
Changes in v4:
- Fix the commit id in the fixes tag
- Revert the log level change for correctable ecc error
- Split the yaml changes into three patches. This is the first one
- Move the WP pin property to this separate patch and change it to boolean type.
- Move ecc strap property to this separate patch and remove some non-binding related text from the description
- Move the board related dts setting from SoC dtsi to board dts
- Move the board related dts setting from SoC dtsi to board dts
- Update the comments for ecc setting selection
- Use the new brcm,wp-not-connected property based on the dts binding change
Changes in v3:
- Update brcm,nand-use-wp description
- Revert the description change to BCM63168 SoC-specific NAND controller
- Updated bcmbca_read_data_bus comment
Changes in v2:
- Added to patch series
- Added to patch series
- Revert the new compatible string nand-bcmbca
- Drop the BCM63168 compatible fix to avoid any potential ABI incompatibility issue
- Simplify the explanation for brcm,nand-use-wp
- Keep the interrupt name requirement when interrupt number is specified
- Add nand controller node label for 4908 so it is consistent with other SoCs and can be referenced by board dts file
- Drop the is_param argument to the read data bus function now that we have the exec_op API to read the parameter page and ONFI data
- Remove be32_to_cpu from brcmnand_read_data_bus
- Minor cosmetic fixes
David Regan (2):
mtd: rawnand: brcmnand: exec_op helper functions return type fixes
mtd: rawnand: brcmnand: update log level messages
William Zhang (11):
mtd: rawnand: brcmnand: fix style issues
dt-bindings: mtd: brcmnand: Updates for bcmbca SoCs
dt-bindings: mtd: brcmnand: Add WP pin connection property
dt-bindings: mtd: brcmnand: Add ecc strap property
ARM: dts: broadcom: bcmbca: Add NAND controller node
arm64: dts: broadcom: bcmbca: Add NAND controller node
arm64: dts: broadcom: bcmbca: Update router boards
mtd: rawnand: brcmnand: Rename bcm63138 nand driver
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 | 44 +++++- arch/arm/boot/dts/broadcom/bcm47622.dtsi | 14 ++ arch/arm/boot/dts/broadcom/bcm63138.dtsi | 7 +- arch/arm/boot/dts/broadcom/bcm63148.dtsi | 14 ++ arch/arm/boot/dts/broadcom/bcm63178.dtsi | 14 ++ arch/arm/boot/dts/broadcom/bcm6756.dtsi | 14 ++ arch/arm/boot/dts/broadcom/bcm6846.dtsi | 14 ++ arch/arm/boot/dts/broadcom/bcm6855.dtsi | 14 ++ arch/arm/boot/dts/broadcom/bcm6878.dtsi | 14 ++ arch/arm/boot/dts/broadcom/bcm947622.dts | 10 ++ arch/arm/boot/dts/broadcom/bcm963138.dts | 10 ++ arch/arm/boot/dts/broadcom/bcm963138dvt.dts | 14 +- arch/arm/boot/dts/broadcom/bcm963148.dts | 10 ++ arch/arm/boot/dts/broadcom/bcm963178.dts | 10 ++ arch/arm/boot/dts/broadcom/bcm96756.dts | 10 ++ arch/arm/boot/dts/broadcom/bcm96846.dts | 10 ++ arch/arm/boot/dts/broadcom/bcm96855.dts | 10 ++ arch/arm/boot/dts/broadcom/bcm96878.dts | 10 ++ .../bcmbca/bcm4906-netgear-r8000p.dts | 5 + .../bcmbca/bcm4906-tplink-archer-c2300-v1.dts | 5 + .../bcmbca/bcm4908-asus-gt-ac5300.dts | 6 +- .../boot/dts/broadcom/bcmbca/bcm4908.dtsi | 4 +- .../boot/dts/broadcom/bcmbca/bcm4912.dtsi | 14 ++ .../boot/dts/broadcom/bcmbca/bcm63146.dtsi | 14 ++ .../boot/dts/broadcom/bcmbca/bcm63158.dtsi | 14 ++ .../boot/dts/broadcom/bcmbca/bcm6813.dtsi | 14 ++ .../boot/dts/broadcom/bcmbca/bcm6856.dtsi | 14 ++ .../boot/dts/broadcom/bcmbca/bcm6858.dtsi | 14 ++ .../boot/dts/broadcom/bcmbca/bcm94908.dts | 10 ++ .../boot/dts/broadcom/bcmbca/bcm94912.dts | 10 ++ .../boot/dts/broadcom/bcmbca/bcm963146.dts | 10 ++ .../boot/dts/broadcom/bcmbca/bcm963158.dts | 10 ++ .../boot/dts/broadcom/bcmbca/bcm96813.dts | 10 ++ .../boot/dts/broadcom/bcmbca/bcm96856.dts | 10 ++ .../boot/dts/broadcom/bcmbca/bcm96858.dts | 10 ++ drivers/mtd/nand/raw/brcmnand/Makefile | 2 +- drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c | 99 ------------ drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c | 126 +++++++++++++++ drivers/mtd/nand/raw/brcmnand/brcmnand.c | 148 ++++++++++++++---- drivers/mtd/nand/raw/brcmnand/brcmnand.h | 2 + 40 files changed, 650 insertions(+), 144 deletions(-) delete mode 100644 drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c create mode 100644 drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c
Signature · 1 line
2.37.3