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

Lorenzo Bianconi
2024-05-01T14:06:53Z

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

--
2.44.0