Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/9] MIPS: TXX9: Legacy GPIO interfaces cleanup
@ 2026-07-01 10:11 Geert Uytterhoeven
  2026-07-01 10:11 ` [PATCH v2 1/9] MIPS: TXX9: Remove tx4938_spi_init() and txx9_spi_init() Geert Uytterhoeven
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2026-07-01 10:11 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Linus Walleij, Bartosz Golaszewski,
	Arnd Bergmann
  Cc: linux-mips, linux-gpio, linux-kernel, Geert Uytterhoeven

	Hi all,

This patch series gets rid of legacy GPIO interface usage on the MIPS
RBTX4927 development board, preceded and followed by some cleanups.
No blinky LEDs were harmed during the production of this series.

Changes compared to v1[1]:
  - Add Reviewed-by,
  - Return early on platform_device_add() failure.

Thanks for your comments!

[1] "[PATCH 0/9] MIPS: TXX9: Legacy GPIO interfaces cleanup"
    https://lore.kernel.org/cover.1782389357.git.geert@linux-m68k.org

Geert Uytterhoeven (9):
  MIPS: TXX9: Remove tx4938_spi_init() and txx9_spi_init()
  MIPS: TXX9: Remove txx9_7segled_*() forward declarations
  MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR
  MIPS: TXX9: rbtx4927: Use GPIO lookup table for TXx9 LEDs
  MIPS: TXX9: Reduce TXX9_IOCLED_MAXLEDS to 3
  MIPS: TXX9: Use GPIO lookup table for iocled LEDs
  MIPS: TXX9: Drop GPIOLIB_LEGACY select
  MIPS: TXX9: Convert gpio_txx9 to dynamic GPIO base allocation
  MIPS: TXX9: Clean up txx9_iocled_init()

 arch/mips/include/asm/txx9/generic.h  |  9 +-----
 arch/mips/include/asm/txx9/tx4938.h   |  1 -
 arch/mips/include/asm/txx9pio.h       |  3 +-
 arch/mips/kernel/gpio_txx9.c          |  5 ++-
 arch/mips/txx9/Kconfig                |  1 -
 arch/mips/txx9/generic/setup.c        | 45 ++++++++++-----------------
 arch/mips/txx9/generic/setup_tx4938.c |  6 ----
 arch/mips/txx9/rbtx4927/setup.c       | 41 ++++++++++++++++++------
 8 files changed, 53 insertions(+), 58 deletions(-)

-- 
2.43.0

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] 12+ messages in thread

end of thread, other threads:[~2026-07-01 14:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 10:11 [PATCH v2 0/9] MIPS: TXX9: Legacy GPIO interfaces cleanup Geert Uytterhoeven
2026-07-01 10:11 ` [PATCH v2 1/9] MIPS: TXX9: Remove tx4938_spi_init() and txx9_spi_init() Geert Uytterhoeven
2026-07-01 10:11 ` [PATCH v2 2/9] MIPS: TXX9: Remove txx9_7segled_*() forward declarations Geert Uytterhoeven
2026-07-01 10:11 ` [PATCH v2 3/9] MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTR Geert Uytterhoeven
2026-07-01 10:11 ` [PATCH v2 4/9] MIPS: TXX9: rbtx4927: Use GPIO lookup table for TXx9 LEDs Geert Uytterhoeven
2026-07-01 14:27   ` Philippe Mathieu-Daudé
2026-07-01 10:11 ` [PATCH v2 5/9] MIPS: TXX9: Reduce TXX9_IOCLED_MAXLEDS to 3 Geert Uytterhoeven
2026-07-01 10:11 ` [PATCH v2 6/9] MIPS: TXX9: Use GPIO lookup table for iocled LEDs Geert Uytterhoeven
2026-07-01 14:29   ` Philippe Mathieu-Daudé
2026-07-01 10:11 ` [PATCH v2 7/9] MIPS: TXX9: Drop GPIOLIB_LEGACY select Geert Uytterhoeven
2026-07-01 10:11 ` [PATCH v2 8/9] MIPS: TXX9: Convert gpio_txx9 to dynamic GPIO base allocation Geert Uytterhoeven
2026-07-01 10:11 ` [PATCH v2 9/9] MIPS: TXX9: Clean up txx9_iocled_init() Geert Uytterhoeven

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