drivers/mtd/nand/raw/atmel

Atmel/Microchip AT91SAM9 and SAMA5 raw NAND flash controllers

Raw NAND flash controllers built into Atmel (now Microchip) AT91SAM9 and SAMA5 ARM system-on-chips, including the PMECC hardware error-correction block. These parts power industrial and embedded Linux gear from the late 2000s onward, with the SAMA5D2 family still sold new for industrial gateways, point-of-sale, and IoT designs.

keep-annotate conf=0.88 deploy=low replacement=none subsystem=mtd category=storage-flash
88%

recommendation

Worth keeping but flagging as a narrow embedded-only component. Microchip still actively markets the SAMA5D2 family in 2025 and publishes current Linux4SAM PMECC documentation, and the upstream stable tree saw fresh Atmel NAND fixes in 2025. A March 2025 linux-mtd thread converting the device-tree bindings to YAML explicitly dropped the word "deprecated," confirming maintainers view this as legacy-but-supported rather than on the way out. Real-world deployments are niche industrial embedded systems rather than mainstream hardware.

repository signals

4 files
3,766 source lines
24 commits, 5y
+73 / −54 lines added / removed, 5y
17 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 24 total · active in 17/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 2 commits · +6 −1 2021-06: 1 commit · +1 −3 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 1 commit · +2 −5 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 2 commits · +4 −4 2022-02: 0 commits · +0 −0 2022-03: 1 commit · +11 −3 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 1 commit · +3 −1 2022-07: 1 commit · +1 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 1 commit · +2 −4 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +1 −2 2023-08: 0 commits · +0 −0 2023-09: 1 commit · +1 −1 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 1 commit · +1 −1 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: 0 commits · +0 −0 2024-08: 1 commit · +4 −1 2024-09: 0 commits · +0 −0 2024-10: 3 commits · +3 −13 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 2 commits · +7 −1 2025-08: 1 commit · +13 −3 2025-09: 3 commits · +11 −7 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 1 commit · +2 −4 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. microchip.com

    Microchip still markets the SAMA5D2 series and related SOM/SiP variants on a current product page, indicating the family remained sold new in/after 2025.

  2. developerhelp.microchip.com

    Microchip published and updated Linux4SAM PMECC configuration guidance in 2025 for AT91SAM/SAMA5 NAND use, showing ongoing support for the controller family in embedded Linux deployments.

  3. git.sceen.net

    The stable-tree MTD log shows 2025 Atmel raw NAND fixes and pull summaries mentioning additional Atmel rawnand fixes, so upstream maintenance is active rather than abandoned.

  4. lists.infradead.org

    A 2025 linux-mtd thread converted Atmel NAND DT bindings to YAML for 'legacy nand controllers'; the review discussion removed 'deprecated' wording, which indicates maintenance of legacy bindings rather than a driver removal push.

codex reasoning notes (technical)

Not an early-exit case: local source inspection via exec_command shows platform_driver/module code plus OF matches for at91sam9g45, sama5d4, and sama5d2 NAND/PMECC blocks. URLs were obtained by web.search_query; the stable log and linux-mtd thread were also inspected via web.open. Evidence points to active fix traffic in 2025 and current Microchip product/support pages for SAMA5D2-class hardware. Deployments look niche industrial/embedded Linux rather than broad mainstream, so keep the driver but annotate it as legacy/narrow rather than deprecating or removing it.