Skip to content

MIPS: TXX9: Legacy GPIO interfaces cleanup

Geert Uytterhoeven linux-gpio linux-mips lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 3 repliesIn review
  2. v19 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9MIPS: TXX9: Remove tx4938_spi_init() and txx9_spi_init()arch/mips/include/asm/txx9/generic.h arch/mips/include/asm/txx9/tx4938.h arch/mips/txx9/generic/setup.c +1 more+0 -250 replies
2/9MIPS: TXX9: Remove txx9_7segled_*() forward declarationsarch/mips/include/asm/txx9/generic.h+0 -50 replies
3/9MIPS: TXX9: rbtx4927: Use GPIO lookup table for SIO DTRarch/mips/txx9/rbtx4927/setup.c+13 -30 replies
4/9MIPS: TXX9: rbtx4927: Use GPIO lookup table for TXx9 LEDsarch/mips/txx9/rbtx4927/setup.c+16 -31 reply
5/9MIPS: TXX9: Reduce TXX9_IOCLED_MAXLEDS to 3arch/mips/txx9/generic/setup.c+1 -10 replies
6/9MIPS: TXX9: Use GPIO lookup table for iocled LEDsarch/mips/txx9/generic/setup.c+12 -21 reply
7/9MIPS: TXX9: Drop GPIOLIB_LEGACY selectarch/mips/txx9/Kconfig+0 -10 replies
8/9MIPS: TXX9: Convert gpio_txx9 to dynamic GPIO base allocationarch/mips/include/asm/txx9pio.h arch/mips/kernel/gpio_txx9.c arch/mips/txx9/rbtx4927/setup.c+5 -70 replies
9/9MIPS: TXX9: Clean up txx9_iocled_init()arch/mips/include/asm/txx9/generic.h arch/mips/txx9/generic/setup.c arch/mips/txx9/rbtx4927/setup.c+6 -110 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchBartosz GolaszewskiPhilippe Mathieu-DaudéLinus Walleij
1/9R-b R-b R-b
2/9R-b R-b R-b
3/9R-b R-b
4/9R-b R-b R-b
5/9R-b R-b R-b
6/9R-b R-b R-b
7/9R-b R-b
8/9R-b R-b
9/9R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/9] MIPS: TXX9: Legacy GPIO interfaces cleanup

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/[email protected]

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(-)
Signature · 12 lines
2.43.0

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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