Re: [PATCH v2 0/9] MIPS: TXX9: Legacy GPIO interfaces cleanup
From: Thomas Bogendoerfer
Date: Fri Jul 17 2026 - 07:16:36 EST
On Wed, Jul 01, 2026 at 12:11:35PM +0200, Geert Uytterhoeven wrote:
> 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@xxxxxxxxxxxxxx
>
> 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(-)
series applied to mips-next
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]