]> Git Repo - linux.git/commit
gpiolib: Introduce gpiochip_irqchip_add_domain()
authorMichael Walle <[email protected]>
Thu, 28 May 2020 14:58:43 +0000 (16:58 +0200)
committerLinus Walleij <[email protected]>
Wed, 3 Jun 2020 08:48:37 +0000 (10:48 +0200)
commit6a45b0e2589fafd7fc501a5fbd0ab56689a08124
tree354473198d7559b15863615df6963a840d2b9998
parenta8173820f441ab3e2a45c4bb66b70da9a57a349e
gpiolib: Introduce gpiochip_irqchip_add_domain()

The function connects an IRQ domain to a gpiochip and reuses
gpiochip_to_irq() which is provided by gpiolib.

gpiochip_irqchip_* and regmap_irq partially provide the same
functionality. This function will help to connect just the
minimal functionality of the gpiochip_irqchip which is needed to
work together with regmap-irq.

Signed-off-by: Michael Walle <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h
This page took 0.059462 seconds and 4 git commands to generate.