mfd: samsung: Add s2mps11 irq driver
PATCH v3 5/7 mfd: samsung: Add s2mps11 irq driver
This patch support irq handling driver for s2mps11.
As this patch use regmap_irq, s5m8767 and s5m8763 are modified with regmap_irq.
Signed-off-by Sangbeom Kim <[email protected]>
--- drivers/mfd/Kconfig | 1 + drivers/mfd/sec-irq.c | 477 ++++++++++++-------------------------- include/linux/mfd/samsung/core.h | 2 + include/linux/mfd/samsung/irq.h | 42 ++++ 4 files changed, 193 insertions(+), 329 deletions(-)
drivers/mfd/Kconfig +1 -0
@@ -513,6 +513,7 @@ config MFD_SEC_CORE depends on I2C=y && GENERIC_HARDIRQS select MFD_CORE select REGMAP_I2C + select REGMAP_IRQ help Support for the Samsung Electronics MFD series. This driver provides common support for accessing the device,
drivers/mfd/sec-irq.c +148 -329
627 lines not on this page · raw message
include/linux/mfd/samsung/core.h +2 -0
@@ -48,6 +48,8 @@ struct sec_pmic_dev {int device_type;int irq_base;int irq; +struct regmap_irq_chip_data *irq_data; +int ono;u8 irq_masks_cur[NUM_IRQ_REGS ];u8 irq_masks_cache[NUM_IRQ_REGS ];
include/linux/mfd/samsung/irq.h +42 -0
48 lines not on this page · raw message
Signature · 1 line
1.7.1