summaryrefslogtreecommitdiff
path: root/drivers/mfd/sec-irq.c
diff options
context:
space:
mode:
authorStuart Menefy <stuart.menefy@mathembedded.com>2019-02-13 22:24:02 +0000
committerLee Jones <lee.jones@linaro.org>2019-05-14 08:13:25 +0100
commitec85d4a10e355db0a2b4f2176396b2246e01818b (patch)
treea2a93cd1bb66c306b3a8c84eb07f332072039861 /drivers/mfd/sec-irq.c
parentf01faec6256c9ad2fb89b1c8ab8a765f57657c56 (diff)
mfd: sec: Add support for the RTC on S2MPA01
The RTC portion of the S2MPA01 appears to have the same register layout as the S2MPS14. Signed-off-by: Stuart Menefy <stuart.menefy@mathembedded.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/sec-irq.c')
-rw-r--r--drivers/mfd/sec-irq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/sec-irq.c b/drivers/mfd/sec-irq.c
index ad0099077e7e..a98c5d165039 100644
--- a/drivers/mfd/sec-irq.c
+++ b/drivers/mfd/sec-irq.c
@@ -455,6 +455,9 @@ int sec_irq_init(struct sec_pmic_dev *sec_pmic)
case S5M8767X:
sec_irq_chip = &s5m8767_irq_chip;
break;
+ case S2MPA01:
+ sec_irq_chip = &s2mps14_irq_chip;
+ break;
case S2MPS11X:
sec_irq_chip = &s2mps11_irq_chip;
break;