* [PATCH] mips: txx9: drop linux/gpio.h inclusion
@ 2026-11-24 14:34 Arnd Bergmann
2026-11-24 14:40 ` Bartosz Golaszewski
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Arnd Bergmann @ 2026-11-24 14:34 UTC (permalink / raw)
To: Thomas Bogendoerfer, Linus Walleij, Geert Uytterhoeven,
Bartosz Golaszewski
Cc: Arnd Bergmann, Philippe Mathieu-Daudé, linux-mips
From: Arnd Bergmann <arnd@arndb.de>
This header is going away soon, so include the appropriate one instead.
The legacy interface is no longer needed since the conversion to a
lookup table, but the consumer interface is still used.
Fixes: 0caeacb11691 ("MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
--
This was previously part of the patch to remove the header,
but we ended up splitting that up again.
---
arch/mips/txx9/rbtx4927/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/txx9/rbtx4927/setup.c b/arch/mips/txx9/rbtx4927/setup.c
index 223889c03186..fdbe2bd87979 100644
--- a/arch/mips/txx9/rbtx4927/setup.c
+++ b/arch/mips/txx9/rbtx4927/setup.c
@@ -48,7 +48,7 @@
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
-#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
#include <linux/gpio/machine.h>
#include <linux/leds.h>
#include <asm/io.h>
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] mips: txx9: drop linux/gpio.h inclusion
2026-11-24 14:34 [PATCH] mips: txx9: drop linux/gpio.h inclusion Arnd Bergmann
@ 2026-11-24 14:40 ` Bartosz Golaszewski
2026-11-26 12:07 ` Philippe Mathieu-Daudé
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2026-11-24 14:40 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Thomas Bogendoerfer, Linus Walleij, Geert Uytterhoeven,
Bartosz Golaszewski, Arnd Bergmann, Philippe Mathieu-Daudé,
linux-mips
On Tue, Nov 24, 2026 at 03:34:26PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> This header is going away soon, so include the appropriate one instead.
> The legacy interface is no longer needed since the conversion to a
> lookup table, but the consumer interface is still used.
>
> Fixes: 0caeacb11691 ("MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> --
> This was previously part of the patch to remove the header,
> but we ended up splitting that up again.
> ---
> arch/mips/txx9/rbtx4927/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/mips/txx9/rbtx4927/setup.c b/arch/mips/txx9/rbtx4927/setup.c
> index 223889c03186..fdbe2bd87979 100644
> --- a/arch/mips/txx9/rbtx4927/setup.c
> +++ b/arch/mips/txx9/rbtx4927/setup.c
> @@ -48,7 +48,7 @@
> #include <linux/ioport.h>
> #include <linux/platform_device.h>
> #include <linux/delay.h>
> -#include <linux/gpio.h>
> +#include <linux/gpio/consumer.h>
> #include <linux/gpio/machine.h>
> #include <linux/leds.h>
> #include <asm/io.h>
> --
> 2.53.0
>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mips: txx9: drop linux/gpio.h inclusion
2026-11-24 14:34 [PATCH] mips: txx9: drop linux/gpio.h inclusion Arnd Bergmann
2026-11-24 14:40 ` Bartosz Golaszewski
@ 2026-11-26 12:07 ` Philippe Mathieu-Daudé
2026-11-26 12:33 ` Geert Uytterhoeven
2026-12-01 20:41 ` Linus Walleij
3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-11-26 12:07 UTC (permalink / raw)
To: Arnd Bergmann, Thomas Bogendoerfer, Linus Walleij,
Geert Uytterhoeven, Bartosz Golaszewski
Cc: Arnd Bergmann, linux-mips
On 24/11/26 15:34, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> This header is going away soon, so include the appropriate one instead.
> The legacy interface is no longer needed since the conversion to a
> lookup table, but the consumer interface is still used.
>
> Fixes: 0caeacb11691 ("MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> --
> This was previously part of the patch to remove the header,
> but we ended up splitting that up again.
> ---
> arch/mips/txx9/rbtx4927/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mips: txx9: drop linux/gpio.h inclusion
2026-11-24 14:34 [PATCH] mips: txx9: drop linux/gpio.h inclusion Arnd Bergmann
2026-11-24 14:40 ` Bartosz Golaszewski
2026-11-26 12:07 ` Philippe Mathieu-Daudé
@ 2026-11-26 12:33 ` Geert Uytterhoeven
2026-12-01 20:41 ` Linus Walleij
3 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2026-11-26 12:33 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Arnd Bergmann, Philippe Mathieu-Daudé, linux-mips,
Thomas Bogendoerfer, Bartosz Golaszewski, Linus Walleij
On Tue, Nov 24, 2026, at 15:34, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> This header is going away soon, so include the appropriate one instead.
> The legacy interface is no longer needed since the conversion to a
> lookup table, but the consumer interface is still used.
>
> Fixes: 0caeacb11691 ("MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> This was previously part of the patch to remove the header,
> but we ended up splitting that up again.
I had that one in my local tree for the past few months, so
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mips: txx9: drop linux/gpio.h inclusion
2026-11-24 14:34 [PATCH] mips: txx9: drop linux/gpio.h inclusion Arnd Bergmann
` (2 preceding siblings ...)
2026-11-26 12:33 ` Geert Uytterhoeven
@ 2026-12-01 20:41 ` Linus Walleij
3 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2026-12-01 20:41 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Thomas Bogendoerfer, Geert Uytterhoeven, Bartosz Golaszewski,
Arnd Bergmann, Philippe Mathieu-Daudé, linux-mips
On Tue, Nov 24, 2026 at 3:34 PM Arnd Bergmann <arnd@kernel.org> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> This header is going away soon, so include the appropriate one instead.
> The legacy interface is no longer needed since the conversion to a
> lookup table, but the consumer interface is still used.
>
> Fixes: 0caeacb11691 ("MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-12-01 20:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 14:34 [PATCH] mips: txx9: drop linux/gpio.h inclusion Arnd Bergmann
2026-11-24 14:40 ` Bartosz Golaszewski
2026-11-26 12:07 ` Philippe Mathieu-Daudé
2026-11-26 12:33 ` Geert Uytterhoeven
2026-12-01 20:41 ` Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.