Skip to content

gpiolib: fence off legacy interfaces

Arnd Bergmann linux-gpio linux-input linux-leds linux-sh lkml 5 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 3 repliesApplied
  2. v56 patches 8 repliesSuperseded
  3. v31 patch 0 repliesApplied 1/1
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 of 10 patches4 repliesApplied
v11 patch3 repliesSuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/6Input: soc_button_array - select CONFIG_GPIOLIB_LEGACYdrivers/input/misc/Kconfig drivers/input/misc/soc_button_array.c+3 -10 replies
2/6Input: gpio-keys: make legacy gpiolib optionaldrivers/input/keyboard/gpio_keys.c drivers/input/keyboard/gpio_keys_polled.c drivers/mfd/rohm-bd71828.c +2 more+10 -70 replies
3/6leds: gpio: make legacy gpiolib interface optionaldrivers/leds/leds-gpio.c include/linux/leds.h+37 -173 replies
4/6sh: select legacy gpiolib interfacearch/sh/Kconfig arch/sh/boards/Kconfig arch/sh/boards/mach-highlander/Kconfig +1 more+13 -00 replies
5/6x86/olpc: select GPIOLIB_LEGACYarch/x86/Kconfig arch/x86/platform/olpc/olpc-xo1-sci.c sound/pci/Kconfig +1 more+4 -20 replies
6/6gpiolib: turn off legacy interface by defaultdrivers/gpio/Kconfig+8 -10 replies

Reviews trailers per patch

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

PatchBartosz GolaszewskiDmitry TorokhovLinus WalleijAndy ShevchenkoBorislav Petkov (AMD)Takashi Iwai
1/6A-b A-b
2/6A-b A-b
3/6R-b A-b R-b R-b
4/6A-b A-b
5/6R-b A-b R-b A-b A-b
6/6A-b A-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 6 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/6] gpiolib: fence off legacy interfaces

From: Arnd Bergmann <[email protected]>

This is the remainder of the series previously posted in [1] and [2].

I only made one trivial chance suggested by Andy Shevchenko and reordered the series to have the input patches first.

Dmitry Torokhov asked about having an immutable branch, so I would suggest sharing the two input patches between the mfd and gpio trees, and everything else go through the gpio tree only.

Arnd

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

Arnd Bergmann (6):
[v6] Input: soc_button_array - select CONFIG_GPIOLIB_LEGACY [v6] Input: gpio-keys: make legacy gpiolib optional [v6] leds: gpio: make legacy gpiolib interface optional [v6] sh: select legacy gpiolib interface
[v6] x86/olpc: select GPIOLIB_LEGACY
[v6] gpiolib: turn off legacy interface by default

 arch/sh/Kconfig                           |  1 +
 arch/sh/boards/Kconfig                    |  8 ++++
 arch/sh/boards/mach-highlander/Kconfig    |  1 +
 arch/sh/boards/mach-rsk/Kconfig           |  3 ++
 arch/x86/Kconfig                          |  1 +
 arch/x86/platform/olpc/olpc-xo1-sci.c     |  2 +-
 drivers/gpio/Kconfig                      |  9 +++-
 drivers/input/keyboard/gpio_keys.c        |  9 ++--
 drivers/input/keyboard/gpio_keys_polled.c |  4 +-
 drivers/input/misc/Kconfig                |  3 ++
 drivers/input/misc/soc_button_array.c     |  1 -
 drivers/leds/leds-gpio.c                  | 52 +++++++++++++++--------
 drivers/mfd/rohm-bd71828.c                |  1 -
 drivers/mfd/rohm-bd718x7.c                |  1 -
 include/linux/gpio_keys.h                 |  2 +
 include/linux/leds.h                      |  2 +
 sound/pci/Kconfig                         |  1 +
 sound/pci/cs5535audio/cs5535audio_olpc.c  |  2 +-
 18 files changed, 75 insertions(+), 28 deletions(-)
Signature · 19 lines
2.39.5

Cc: John Paul Adrian Glaubitz <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: [email protected]
Cc: "H. Peter Anvin" <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]