public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] at91: Remove of_platform_default_populate() calls
@ 2026-01-05 21:06 Rob Herring (Arm)
  2026-01-05 21:06 ` [PATCH v3 1/3] mtd: nand: atmel: Defer probe if SRAM is missing Rob Herring (Arm)
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Rob Herring (Arm) @ 2026-01-05 21:06 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Russell King
  Cc: linux-mtd, linux-arm-kernel, linux-kernel

This is another attempt at removing of_platform_default_populate() calls 
on at91 platforms. The last attempts were in 2018[1] and 2023[2]. The 
problems reported are PM and NAND failures. Both of these depend on SRAM 
pool which doesn't have any fw_devlink tracking. Also, the PM code is 
not a driver, so fw_devlink wouldn't help. For the NAND driver, we can 
simply defer probe. For the PM init, we can move it to the .late_init 
hook.

Rob

[1] https://lore.kernel.org/all/20180712192222.32481-1-robh@kernel.org/
[2] https://lore.kernel.org/all/3908fa6f-dc33-4aac-c21f-4a676a3a6b23@microchip.com/

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
Changes in v3:
- Fixup mismatch in my author vs. Sob.
- Fixup the split between patch 2 and 3 to fix bisection
- Use dev_err_probe() in NAND driver
- Link to v2: https://patch.msgid.link/20251120-at91-probe-v2-0-8c8592f02e8e@kernel.org

---
Rob Herring (Arm) (3):
      mtd: nand: atmel: Defer probe if SRAM is missing
      ARM: at91: Move PM init functions to .init_late hook
      ARM: at91: remove unnecessary of_platform_default_populate calls

 arch/arm/mach-at91/at91rm9200.c              | 12 +-----------
 arch/arm/mach-at91/at91sam9.c                | 12 +-----------
 arch/arm/mach-at91/sam9x60.c                 | 12 +-----------
 arch/arm/mach-at91/sam9x7.c                  | 12 +-----------
 arch/arm/mach-at91/sama5.c                   | 21 +++------------------
 arch/arm/mach-at91/sama7.c                   | 11 +----------
 drivers/mtd/nand/raw/atmel/nand-controller.c |  6 ++----
 7 files changed, 10 insertions(+), 76 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251120-at91-probe-20fbce9a6d1b

Best regards,
--  
Rob Herring (Arm) <robh@kernel.org>


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-01-19 10:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 21:06 [PATCH v3 0/3] at91: Remove of_platform_default_populate() calls Rob Herring (Arm)
2026-01-05 21:06 ` [PATCH v3 1/3] mtd: nand: atmel: Defer probe if SRAM is missing Rob Herring (Arm)
2026-01-05 21:06 ` [PATCH v3 2/3] ARM: at91: Move PM init functions to .init_late hook Rob Herring (Arm)
2026-01-05 21:06 ` [PATCH v3 3/3] ARM: at91: remove unnecessary of_platform_default_populate calls Rob Herring (Arm)
2026-01-10 15:57 ` [PATCH v3 0/3] at91: Remove of_platform_default_populate() calls Claudiu Beznea
2026-01-19 10:21 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox