Re: [PATCH v3] mfd: ADP5520 Multifunction LCD Backlight and KeypadInput Device Driver

Mark Brown
2009-10-06T14:48:47Z

On Tue, Oct 06, 2009 at 03:32:56PM +0100, Hennerich, Michael wrote:

> This is not an interrupt controller.
> The only ADP5520 subdev that needs to be notified is the adp5520-keys
> input driver, if present.
> Sounds like overshoot, registering a irq_chip using
> set_irq_chip_and_handler() and friends, for exactly one dedicated and
> known consumer.

According to the datasheet the GPIOs, light sensor and regulator can
also generate interrupts? The GPIOs in particular would benefit from
this since this would mean that their interrupts would be usable by
generic gpiolib based drivers.