linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] gpio: generic regmap implementation
@ 2020-05-28  3:58 Michael Walle
  2020-05-28  3:58 ` [PATCH v5 1/2] gpiolib: Introduce gpiochip_irqchip_add_domain() Michael Walle
  2020-05-28  3:58 ` [PATCH v5 2/2] gpio: add a reusable generic gpio_chip using regmap Michael Walle
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Walle @ 2020-05-28  3:58 UTC (permalink / raw)
  To: linux-kernel, linux-gpio
  Cc: Linus Walleij, Bartosz Golaszewski, Mark Brown,
	Pierre-Louis Bossart, Michael Walle

This series is a split off of the sl28cpld series:
https://lore.kernel.org/linux-gpio/20200423174543.17161-1-michael@walle.cc/

I wasn't sure if I should also include the gpiochip_irqchip_add_domain()
patch here. So feel free to skip it. OTOH if you use interrupts with
gpio-regmap it is quite handy.

For an actual user see the patch 11/16 ("gpio: add support for the sl28cpld
GPIO controller") of the series above.

Changes since v4:
 - add comment about can_sleep
 - fix config->label typo
 - add config->names property

Changes since v3:
 - set reg_dat_base, that was actually broken
 - fix typo
 - fix swapped reg_in_dir/reg_out_dir documentation
 - use "goto err" in error path in gpio_regmap_register()

Changes since v2:
 See changelog in the former patch series.

Michael Walle (2):
  gpiolib: Introduce gpiochip_irqchip_add_domain()
  gpio: add a reusable generic gpio_chip using regmap

 drivers/gpio/Kconfig        |   4 +
 drivers/gpio/Makefile       |   1 +
 drivers/gpio/gpio-regmap.c  | 352 ++++++++++++++++++++++++++++++++++++
 drivers/gpio/gpiolib.c      |  20 ++
 include/linux/gpio-regmap.h |  70 +++++++
 include/linux/gpio/driver.h |   3 +
 6 files changed, 450 insertions(+)
 create mode 100644 drivers/gpio/gpio-regmap.c
 create mode 100644 include/linux/gpio-regmap.h

-- 
2.20.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-28 13:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28  3:58 [PATCH v5 0/2] gpio: generic regmap implementation Michael Walle
2020-05-28  3:58 ` [PATCH v5 1/2] gpiolib: Introduce gpiochip_irqchip_add_domain() Michael Walle
2020-05-28  3:58 ` [PATCH v5 2/2] gpio: add a reusable generic gpio_chip using regmap Michael Walle
2020-05-28 11:04   ` Michael Walle
2020-05-28 11:45   ` Andy Shevchenko
2020-05-28 13:00     ` Michael Walle
2020-05-28 13:43       ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).