aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/sec-core.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-core.c
parentmfd: sec: Put one element structure initialisation on one line (diff)
downloadlinux-dev-ec85d4a10e355db0a2b4f2176396b2246e01818b.tar.xz
linux-dev-ec85d4a10e355db0a2b4f2176396b2246e01818b.zip
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-core.c')
-rw-r--r--drivers/mfd/sec-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
index d8f29f4493c0..95473ff9bb4b 100644
--- a/drivers/mfd/sec-core.c
+++ b/drivers/mfd/sec-core.c
@@ -86,6 +86,7 @@ static const struct mfd_cell s2mps15_devs[] = {
static const struct mfd_cell s2mpa01_devs[] = {
{ .name = "s2mpa01-pmic", },
+ { .name = "s2mps14-rtc", },
};
static const struct mfd_cell s2mpu02_devs[] = {