mbox series

[v6,0/3] Add add spi-nand flash controller driver for EN7581

Message ID cover.1714571980.git.lorenzo@kernel.org
Headers show
Series Add add spi-nand flash controller driver for EN7581 | expand

Message

Lorenzo Bianconi May 1, 2024, 2:06 p.m. UTC
Introduce support for SPI-NAND driver of the Airoha NAND Flash Interface
found on Airoha ARM EN7581 SoCs.

Changes since v5:
- modify patch commit logs
- cosmetic rework
Changes since v4:
- rely on devm_platform_ioremap_resource() routine
- rework airoha_snand_is_page_ops() routine
Changes since v3:
- rely on devm_kzalloc() to allocate airoha_snand_dev buffers
- rely on dev_err_probe()
- cosmetic rework
Changes since v2:
- Fix compilation warnings
- Remove interrupt entry in dts since it is not connected so far
Changes since v1:
- Introduce spi clock dependency

Lorenzo Bianconi (3):
  spi: dt-bindings: Add binding doc for spi-airoha-snfi
  arm64: dts: airoha: en7581: Add spi-nand node
  spi: airoha: Add spi-nand flash controller driver

 .../bindings/spi/airoha,en7581-snand.yaml     |   65 +
 MAINTAINERS                                   |    9 +
 arch/arm64/boot/dts/airoha/en7581.dtsi        |   19 +
 drivers/spi/Kconfig                           |   10 +
 drivers/spi/Makefile                          |    1 +
 drivers/spi/spi-airoha-snfi.c                 | 1124 +++++++++++++++++
 6 files changed, 1228 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/airoha,en7581-snand.yaml
 create mode 100644 drivers/spi/spi-airoha-snfi.c