gpio: ixp4xx: Convert to hierarchical GPIOLIB_IRQCHIP
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Aug 2019 12:32:38 +0000 (14:32 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Aug 2019 07:44:19 +0000 (09:44 +0200)
commitaa7d618ac65fb10697972549efc38d606595afc7
tree19b739f712e4f6f1e60edeca27f75cf9d6b1114c
parentfdd61a013a24f2699aec1a446f0168682b6f9ec4
gpio: ixp4xx: Convert to hierarchical GPIOLIB_IRQCHIP

This modifies the IXP4xx driver to use the new helpers
to handle the remapping of parent to child hardware irqs
in the gpiolib core.

This pulls the majority of the code out of the driver
and use the generic code in gpiolib.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Lina Iyer <ilina@codeaurora.org>
Cc: Jon Hunter <jonathanh@nvidia.com>
Cc: Sowjanya Komatineni <skomatineni@nvidia.com>
Cc: Bitan Biswas <bbiswas@nvidia.com>
Cc: linux-tegra@vger.kernel.org
Cc: Thierry Reding <treding@nvidia.com>
Cc: Brian Masney <masneyb@onstation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190808123242.5359-2-linus.walleij@linaro.org
drivers/gpio/Kconfig
drivers/gpio/gpio-ixp4xx.c