mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: David Jander <david@protonic.nl>, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH master] pinctrl: stm32: Remove check for pins-are-numbered
Date: Fri, 31 Mar 2023 12:31:23 +0200	[thread overview]
Message-ID: <20230331103123.1525200-1-a.fatoum@pengutronix.de> (raw)

Upstream has dropped this property from the device trees that we import,
so drop our check for it to fix boot up on STM32MP1.

Link: https://lore.kernel.org/all/20221129023401.278780-3-bero@baylibre.com/
Fixes: 03b1dd74aa6e ("dts: update to v6.3-rc1")
Reported-by: David Jander <david@protonic.nl>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/pinctrl/pinctrl-stm32.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-stm32.c b/drivers/pinctrl/pinctrl-stm32.c
index 15d845e0ad34..1eed5473f6e0 100644
--- a/drivers/pinctrl/pinctrl-stm32.c
+++ b/drivers/pinctrl/pinctrl-stm32.c
@@ -348,11 +348,6 @@ static int stm32_pinctrl_probe(struct device *dev)
 	struct device_node *np = dev->of_node, *child;
 	int ret;
 
-	if (!of_find_property(np, "pins-are-numbered", NULL)) {
-		dev_err(dev, "only pins-are-numbered format supported\n");
-		return -EINVAL;
-	}
-
 	for_each_available_child_of_node(np, child)
 		if (of_property_read_bool(child, "gpio-controller"))
 			nbanks++;
-- 
2.39.2




             reply	other threads:[~2023-03-31 10:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31 10:31 Ahmad Fatoum [this message]
2023-04-03  7:04 ` Sascha Hauer

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=20230331103123.1525200-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=david@protonic.nl \
    /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