[PATCH 0/3] gpio-regmap support for register fields and other hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a small series to expand the usefulness of gpio-regmap.

Patch 1 allows GPIO direction and level to be mapped to values in a register
field for cases where a one-bit-per-GPIO mapping is insufficient.

Patch 2 allows gpio-regmap to be used for the GPIO portion of a combined
pin control + GPIO driver by deferring some ops to the pin control subsystem.

Patch 3 allows drivers to provide a custom ->to_irq() hook for the GPIO chip
as an alternative to using an IRQ domain.

Aidan MacDonald (3):
  gpio: regmap: Support registers with more than one bit per GPIO
  gpio: regmap: Support combined GPIO and pin control drivers
  gpio: regmap: Support a custom ->to_irq() hook

 drivers/gpio/gpio-regmap.c  | 110 ++++++++++++++++++++++++++----------
 include/linux/gpio/regmap.h |  24 ++++++++
 2 files changed, 103 insertions(+), 31 deletions(-)

-- 
2.35.1




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux