Messages in this thread |  | | From | Aidan MacDonald <> | Subject | [PATCH 0/3] gpio-regmap support for register fields and other hooks | Date | Sun, 3 Jul 2022 12:10:54 +0100 |
| |
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
|  |