[GIT PULL] gpio: updates for v5.18

From: Bartosz Golaszewski
Date: Wed Mar 23 2022 - 12:32:39 EST


Linus,

There are relatively few updates for the next release cycle. We have a single
new driver and some minor changes in drivers, more work on limiting the usage
of of_node in drivers and DT updates.

Please pull,
Bartosz Golaszewski

The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-updates-for-v5.18

for you to fetch changes up to 87ba5badc541a79bab2fa3243ee0008c0880c64a:

gpio: ts4900: Use SPDX header (2022-03-10 10:05:39 +0100)

----------------------------------------------------------------
gpio updates for v5.18-rc1

- new driver: gpio-en7523
- dt-bindings: convertion of faraday,ftgpio010 to YAML, new compatible string
in gpio-vf610 and a bugfix in an example
- gpiolib core: several improvements and some code shrink
- documentation: convert all public docs into kerneldoc format
- set IRQ bus token in gpio-crystalcove (addresses a debugfs issue)
- add a missing return value check for kstrdup() in gpio-merrifield
- allow gpio-tps68470 to be built as module
- more work on limiting usage of of_node in GPIO drivers
- several sysfs interface improvements
- use SDPX in gpio-ts4900

----------------------------------------------------------------
Andy Shevchenko (9):
gpio: altera-a10sr: Switch to use fwnode instead of of_node
gpio: tegra: Get rid of duplicate of_node assignment
gpiolib: Introduce for_each_gpio_desc_with_flag() macro
gpiolib: Use short form of ternary operator in gpiod_get_index()
gpiolib: Simplify error path in gpiod_get_index() when requesting GPIO
gpiolib: sysfs: Move sysfs_emit() calls outside of the mutex lock
gpiolib: sysfs: Move kstrtox() calls outside of the mutex lock
gpiolib: sysfs: Simplify edge handling in the code
gpiolib: Use list_first_entry()/list_last_entry()

Bartosz Golaszewski (2):
gpiolib: make struct comments into real kernel docs
Merge tag 'intel-gpio-v5.18-1' of gitolite.kernel.org:pub/scm/linux/kernel/git/andy/linux-gpio-intel into gpio/for-next

Corentin Labbe (1):
dt-bindings: gpio: convert faraday,ftgpio01 to yaml

Hans de Goede (2):
gpio: crystalcove: Set IRQ domain bus token to DOMAIN_BUS_WIRED
gpio: tps68470: Allow building as module

John Crispin (2):
dt-bindings: arm: airoha: Add binding for Airoha GPIO controller
gpio: Add support for Airoha EN7523 GPIO controller

Kris Bahnsen (1):
gpio: ts4900: Use SPDX header

Marcel Ziswiler (1):
dt-bindings: gpio: fix gpio-hog example

Peng Fan (1):
dt-bindings: gpio: gpio-vf610: Add imx93 compatible string

Xiaoke Wang (1):
gpio: merrifield: check the return value of devm_kstrdup()

.../bindings/gpio/airoha,en7523-gpio.yaml | 66 ++++++++++
.../devicetree/bindings/gpio/faraday,ftgpio010.txt | 27 ----
.../bindings/gpio/faraday,ftgpio010.yaml | 65 ++++++++++
.../devicetree/bindings/gpio/gpio-vf610.yaml | 4 +-
Documentation/devicetree/bindings/gpio/gpio.txt | 2 +-
drivers/gpio/Kconfig | 16 ++-
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-altera-a10sr.c | 3 +-
drivers/gpio/gpio-crystalcove.c | 9 +-
drivers/gpio/gpio-en7523.c | 137 +++++++++++++++++++++
drivers/gpio/gpio-merrifield.c | 3 +
drivers/gpio/gpio-tegra.c | 1 -
drivers/gpio/gpio-tps68470.c | 5 +-
drivers/gpio/gpio-ts4900.c | 10 +-
drivers/gpio/gpiolib-of.c | 10 +-
drivers/gpio/gpiolib-sysfs.c | 100 ++++++---------
drivers/gpio/gpiolib.c | 41 +++---
drivers/gpio/gpiolib.h | 41 ++++++
include/linux/gpio/consumer.h | 35 +++---
19 files changed, 422 insertions(+), 154 deletions(-)
create mode 100644 Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml
delete mode 100644 Documentation/devicetree/bindings/gpio/faraday,ftgpio010.txt
create mode 100644 Documentation/devicetree/bindings/gpio/faraday,ftgpio010.yaml
create mode 100644 drivers/gpio/gpio-en7523.c