diff options
author | Marcin Niestroj <m.niestroj@grinn-global.com> | 2016-09-09 10:42:02 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-10-04 15:48:03 +0100 |
commit | 6556bdacf646fcaa0586123ba85412de1c8f0eee (patch) | |
tree | 08127ad074d74b7b3e66a2abea909171abd06067 /drivers/mfd/Kconfig | |
parent | 7e94e51525d3a289ed0c60b57dff36630a8413e4 (diff) | |
download | op-kernel-dev-6556bdacf646fcaa0586123ba85412de1c8f0eee.zip op-kernel-dev-6556bdacf646fcaa0586123ba85412de1c8f0eee.tar.gz |
mfd: tps65217: Add support for IRQs
Add support for handling IRQs: power button, AC and USB power state
changes. Mask and interrupt bits are shared within one register, which
prevents us to use regmap_irq implementation. New irq_domain is created in
order to add interrupt handling for each tps65217's subsystem. IRQ
resources have been added for charger subsystem to be able to notify about
AC and USB state changes.
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 9ac9f62..a23ef43 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1232,6 +1232,7 @@ config MFD_TPS65217 depends on I2C select MFD_CORE select REGMAP_I2C + select IRQ_DOMAIN help If you say yes here you get support for the TPS65217 series of Power Management / White LED chips. |