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

From: Mark Brown
Date: Tue Oct 06 2009 - 10:49:37 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/