mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pinctrl: at91: add sama5d3 compatible after DT regression
@ 2025-04-16 15:30 Lars Schmidt
  2025-04-17  9:29 ` Ahmad Fatoum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lars Schmidt @ 2025-04-16 15:30 UTC (permalink / raw)
  To: barebox; +Cc: Lars Schmidt

From: Lars Schmidt <lsc@pengutronix.de>

Commit f9abec74133a6 ("ARM: dts: microchip: Remove additional compatible
string from PIO3 pinctrl nodes") removed compatible string
atmel,at91sam9x5-pinctrl, which was used by pinctrl driver for sama3d3 in
barebox. Compatible string atmel,sama5d3-pinctrl was left in list, so
that needs to be included for identification.

The removal caused an issue during boot process. The system did still boot,
but no bootloader console was shown. Leaving the user without
possibility to interact with the bootloader.

The DT ABI breakage has been reported upstream:

https://lore.kernel.org/all/fcdb9283-07aa-4d50-ac4d-317b0a4e5f7e@pengutronix.de/

Signed-off-by: Lars Schmidt <lsc@pengutronix.de>
---
 drivers/pinctrl/pinctrl-at91.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index a3372a5035..ddc725187b 100644
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -370,6 +370,9 @@ static struct at91_pinctrl_mux_ops at91sam9x5_ops = {
 
 static struct of_device_id at91_pinctrl_dt_ids[] = {
 	{
+		.compatible = "atmel,sama5d3-pinctrl",
+		.data = &at91sam9x5_ops,
+	}, {
 		.compatible = "atmel,at91rm9200-pinctrl",
 		.data = &at91rm9200_ops,
 	}, {
-- 
2.39.5




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

end of thread, other threads:[~2025-04-22 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-16 15:30 [PATCH] pinctrl: at91: add sama5d3 compatible after DT regression Lars Schmidt
2025-04-17  9:29 ` Ahmad Fatoum
2025-04-22  9:47 ` Sascha Hauer
2025-04-22  9:48 ` Sascha Hauer

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