summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rn5t618.c
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2020-08-15 18:56:10 +0200
committerLee Jones <lee.jones@linaro.org>2020-09-30 16:24:48 +0100
commitd1264a075ed65d6b174a4742e69186125e66fd27 (patch)
treec54e45846c485f7e8d8aae9c11be6960da84aa91 /drivers/mfd/rn5t618.c
parent31c53962d65fb813eded2332b0fff60ffaaf2368 (diff)
downloadlinux-d1264a075ed65d6b174a4742e69186125e66fd27.tar.bz2
mfd: rn5t618: Add a power supply subdevice
The RN5T618 and RC5T619 both have a charger and a fuel gauge, so add a subdevice for it. According to drivers in the wild, things should be at least similar, but since it is not tested, add it only to the RC5T619. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rn5t618.c')
-rw-r--r--drivers/mfd/rn5t618.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618.c
index e25407ed3ad4..dc452df1f1bf 100644
--- a/drivers/mfd/rn5t618.c
+++ b/drivers/mfd/rn5t618.c
@@ -25,6 +25,7 @@ static const struct mfd_cell rn5t618_cells[] = {
static const struct mfd_cell rc5t619_cells[] = {
{ .name = "rn5t618-adc" },
+ { .name = "rn5t618-power" },
{ .name = "rn5t618-regulator" },
{ .name = "rc5t619-rtc" },
{ .name = "rn5t618-wdt" },