From: "Rob Herring (Arm)" <robh@kernel.org>
To: Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Claudiu Beznea <claudiu.beznea@tuxon.dev>,
Russell King <linux@armlinux.org.uk>
Cc: linux-mtd@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/3] at91: Remove of_platform_default_populate() calls
Date: Thu, 20 Nov 2025 15:37:49 -0600 [thread overview]
Message-ID: <20251120-at91-probe-v2-0-8c8592f02e8e@kernel.org> (raw)
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>
---
Rob Herring (1):
ARM: at91: Move PM init functions to .init_late hook
Rob Herring (Arm) (2):
mtd: nand: atmel: Defer probe if SRAM is missing
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 | 2 +-
7 files changed, 9 insertions(+), 73 deletions(-)
---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251120-at91-probe-20fbce9a6d1b
Best regards,
--
Rob Herring (Arm) <robh@kernel.org>
next reply other threads:[~2025-11-20 21:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-20 21:37 Rob Herring (Arm) [this message]
2025-11-20 21:37 ` [PATCH v2 1/3] mtd: nand: atmel: Defer probe if SRAM is missing Rob Herring (Arm)
2025-11-21 14:15 ` Miquel Raynal
2025-11-20 21:37 ` [PATCH v2 2/3] ARM: at91: Move PM init functions to .init_late hook Rob Herring
2025-11-22 15:37 ` Claudiu Beznea
2025-12-09 22:39 ` Rob Herring
2025-12-10 8:04 ` Claudiu Beznea
2025-11-20 21:37 ` [PATCH v2 3/3] ARM: at91: remove unnecessary of_platform_default_populate calls Rob Herring (Arm)
2025-11-22 15:37 ` Claudiu Beznea
2025-12-12 17:37 ` [PATCH v2 0/3] at91: Remove of_platform_default_populate() calls Alexandre Belloni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251120-at91-probe-v2-0-8c8592f02e8e@kernel.org \
--to=robh@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=miquel.raynal@bootlin.com \
--cc=nicolas.ferre@microchip.com \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).