Skip to contentSkip to conversation

gpio: immutable branch between the GPIO and pinctrl trees for v6.8-rc1

GIT PULL Bartosz Golaszewski 2 participants 2 messages Dec 8, 2023 – Dec 11, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

From: Bartosz Golaszewski <[email protected]>

Linus, Andy,

Please pull the following changes into your trees for the next merge window. These are the patches providing a safer alternative for gpiochip_is_requested() before we rework the locking in GPIOLIB.

Bart

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio-remove-gpiochip_is_requested-for-v6.8-rc1

for you to fetch changes up to f8d05e276b45e3097dfddd628fa991ce69c05c99:

gpiolib: remove gpiochip_is_requested() (2023-12-08 09:26:43 +0100)

----------------------------------------------------------------
gpio: remove gpiochip_is_requested()

- provide a safer alternative to gpiochip_is_requested()
- convert all existing users
- remove gpiochip_is_requested()

----------------------------------------------------------------
Bartosz Golaszewski (10):
gpiolib: provide gpiochip_dup_line_label()
gpio: wm831x: use gpiochip_dup_line_label()
gpio: wm8994: use gpiochip_dup_line_label()
gpio: stmpe: use gpiochip_dup_line_label()
pinctrl: abx500: use gpiochip_dup_line_label()
pinctrl: nomadik: use gpiochip_dup_line_label()
pinctrl: baytrail: use gpiochip_dup_line_label()
pinctrl: sppctl: use gpiochip_dup_line_label()
gpiolib: use gpiochip_dup_line_label() in for_each helpers
gpiolib: remove gpiochip_is_requested()

 drivers/gpio/gpio-stmpe.c                 |  6 ++++-
 drivers/gpio/gpio-wm831x.c                | 14 +++++++----
 drivers/gpio/gpio-wm8994.c                | 13 +++++++----
 drivers/gpio/gpiolib.c                    | 35 ++++++++++++++++-----------
 drivers/pinctrl/intel/pinctrl-baytrail.c  | 11 +++++----
 drivers/pinctrl/nomadik/pinctrl-abx500.c  |  9 +++++--
 drivers/pinctrl/nomadik/pinctrl-nomadik.c |  6 ++++-
 drivers/pinctrl/sunplus/sppctl.c          | 10 ++++----
 include/linux/gpio/driver.h               | 39 ++++++++++++++++++++++++-------
 9 files changed, 96 insertions(+), 47 deletions(-)
#1 lore raw
Quoted 7 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Linus, Andy,

Please pull the following changes into your trees for the next merge window. These are the patches providing a safer alternative for gpiochip_is_requested() before we rework the locking in GPIOLIB.

I pulled this into the pin control devel branch.

Yours,
Linus Walleij