Re: [PATCH v4 5/6] gpio: max77620: Use irqchip template

2020-07-16 Thread Linus Walleij
On Thu, Jul 9, 2020 at 7:12 PM Dmitry Osipenko wrote: > + mgpio->gpio_chip.irq.chip = &max77620_gpio_irqchip; > + mgpio->gpio_chip.irq.default_type = IRQ_TYPE_NONE; > + mgpio->gpio_chip.irq.handler = handle_edge_irq; > + mgpio->gpio_chip.irq.threaded = true; And I didn't

[PATCH v4 5/6] gpio: max77620: Use irqchip template

2020-07-09 Thread Dmitry Osipenko
This change addresses one of the GPIO-core TODOs for the MAX77620 driver which requires modern drivers to use the irqchip template. Instead of using the GPIO's irqchip-helpers for creating the IRQ domain, the gpio_irq_chip structure is now filled by the driver itself and then gpiochip_add_data() ta