linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2
@ 2018-09-17 11:17 Lubomir Rintel
  2018-11-03 19:03 ` Pavel Machek
  0 siblings, 1 reply; 6+ messages in thread
From: Lubomir Rintel @ 2018-09-17 11:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-gpio, Lubomir Rintel, Robert Jarzmik, Linus Walleij

Similarly to PXA3xx pinctrl-single can't set pin direction on MMP2 either.
See also: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for
PXA3xx")

Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
 drivers/gpio/gpio-pxa.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index c18712dabf93..2f8fade7497d 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void)
 {
 	switch (gpio_type) {
 	case PXA3XX_GPIO:
+	case MMP2_GPIO:
 		return false;
 
 	default:
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH] gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2
@ 2019-02-13 23:06 Lubomir Rintel
  2019-02-14  8:13 ` Linus Walleij
  0 siblings, 1 reply; 6+ messages in thread
From: Lubomir Rintel @ 2019-02-13 23:06 UTC (permalink / raw)
  To: Robert Jarzmik
  Cc: Linus Walleij, Bartosz Golaszewski, linux-gpio, linux-kernel,
	Lubomir Rintel, Pavel Machek

Similarly to PXA3xx, pinctrl-single can't set pin direction on MMP2 either.
See also: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for
PXA3xx")

Fixes: a770d946371e ("gpio: pxa: add pin control gpio direction and request")
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
---
 drivers/gpio/gpio-pxa.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index e9600b556f39..bcc6be4a5cb2 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void)
 {
 	switch (gpio_type) {
 	case PXA3XX_GPIO:
+	case MMP2_GPIO:
 		return false;
 
 	default:
-- 
2.20.1

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

end of thread, other threads:[~2019-02-14  9:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-17 11:17 [PATCH] gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2 Lubomir Rintel
2018-11-03 19:03 ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2019-02-13 23:06 Lubomir Rintel
2019-02-14  8:13 ` Linus Walleij
2019-02-14  8:52   ` Lubomir Rintel
2019-02-14  9:05     ` Linus Walleij

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).