drivers/mtd/nand/spi

SPI NAND flash framework and vendor chip support

The generic Linux stack for serial-peripheral-interface NAND flash chips, plus per-vendor ID tables covering parts from GigaDevice, Macronix, Micron, Winbond, Kioxia, ESMT, Foresee and others. SPI NAND is the small, cheap raw-flash storage commonly soldered into routers, IoT gateways, set-top boxes, and other embedded Linux devices.

keep conf=0.95 deploy=medium replacement=none subsystem=mtd category=storage-flash
95%

recommendation

It should stay because this is the kernel's current generic SPI NAND subsystem, not a legacy holdover, and the hardware is still being designed in. New chip support and core features such as Octal DTR mode were posted upstream in January 2026, and parts like Macronix MX35LF2G24AD and Winbond's W25N01GV and W35N02JW OctalNAND are still in mass production and stocked by major distributors.

repository signals

18 files
6,381 source lines
148 commits, 5y
+4,459 / −773 lines added / removed, 5y
41 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 148 total · active in 36/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 3 commits · +155 −19 2021-06: 5 commits · +85 −39 2021-07: 0 commits · +0 −0 2021-08: 1 commit · +8 −8 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 1 commit · +1 −1 2022-01: 2 commits · +41 −10 2022-02: 0 commits · +0 −0 2022-03: 5 commits · +157 −1 2022-04: 1 commit · +131 −1 2022-05: 0 commits · +0 −0 2022-06: 2 commits · +98 −1 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 2 commits · +77 −2 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 2 commits · +157 −2 2023-02: 0 commits · +0 −0 2023-03: 1 commit · +138 −1 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +10 −0 2023-06: 6 commits · +86 −4 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 1 commit · +1 −1 2023-10: 3 commits · +276 −1 2023-11: 2 commits · +5 −3 2023-12: 0 commits · +0 −0 2024-01: 2 commits · +18 −3 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 2 commits · +51 −13 2024-08: 9 commits · +355 −94 2024-09: 2 commits · +23 −7 2024-10: 5 commits · +62 −49 2024-11: 1 commit · +10 −0 2024-12: 4 commits · +171 −7 2025-01: 6 commits · +63 −37 2025-02: 8 commits · +730 −34 2025-03: 1 commit · +5 −5 2025-04: 18 commits · +248 −170 2025-05: 1 commit · +1 −1 2025-06: 11 commits · +267 −103 2025-07: 1 commit · +4 −1 2025-08: 2 commits · +181 −3 2025-09: 4 commits · +99 −20 2025-10: 0 commits · +0 −0 2025-11: 3 commits · +98 −1 2025-12: 2 commits · +95 −3 2026-01: 24 commits · +543 −121 2026-02: 4 commits · +9 −7 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. spinics.net

    An Octal DTR support series for SPI NAND was posted in January 2026, indicating active upstream feature development rather than retirement.

  2. spinics.net

    The SPI NAND core itself received a dedicated 'Add octal DTR support' patch in January 2026.

  3. spinics.net

    A new Foresee SPI NAND chip support patch was reviewed and applied in January 2026, showing ongoing enablement of new hardware.

  4. winbond.com

    Winbond listed the W35N02JW OctalNAND part as 'Mass Production', showing this class of SPI NAND hardware is still shipping in the mid-2020s.

  5. digikey.com

    Macronix MX35LF2G24AD SPI NAND was listed by a major distributor as an active product, supporting continued market availability.

  6. digikey.com

    Winbond W25N01GV SPI NAND was listed by a major distributor as an active product, supporting continued deployment in embedded designs.

codex reasoning notes (technical)

Local shell inspection (`rg`, `sed`) shows this is the SPI NAND framework plus per-vendor chip tables for Alliance Memory, ATO, Dosilicon, ESMT, FMSH, Foresee, GigaDevice, Macronix, Micron, Paragon, SkyHigh, Toshiba/Kioxia, Winbond, and XTX. Local `git -c safe.directory=... log` showed many 2024-2026 feature/fix commits and no deprecation/removal-oriented path log hits; the only 'remove' grep match was a normal chip-behavior fix, not driver retirement. URLs were obtained via web search: spinics threads for 2025-2026 SPI NAND patch traffic, Winbond product page for current mass-production OctalNAND, and DigiKey product pages for active Macronix/Winbond SPI NAND parts. No natural upstream replacement exists because this directory is the current generic Linux SPI-NAND stack, not a legacy vendor one-off driver.