Hi Ard! Thanks for your patch! As it involves ACPI I suggest to include Mika Westerberg on review since he's doing the core gpiolib ACPI stuff. On Thu, Apr 25, 2019 at 12:20 PM Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> wrote: > Expose the existing EXIU hierarchical irqchip domain code to permit > the interrupt controller to be used as the irqchip component of a > GPIO controller on ACPI systems. > > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> (...) > +#include <linux/gpio/driver.h> So now this is starting to go from being a pure irqchip driver to a combined irq+gpio driver. > + gc->irq.domain = domain; > + gc->to_irq = exiu_acpi_gpio_to_irq; And there is some gpiochip involved. > +EXPORT_SYMBOL(exiu_acpi_init); Including exporting functions. What about we just move this driver over to drivers/gpio and start working out a combined GPIO+irqchip driver there? I am working on adding generic hierarchical irqchip helpers in the gpiolib core and then it's gonna be nice to have all combined drivers under the drivers/gpio folder. Yours, Linus Walleij