Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andreas Kemnade and committed by
Lee Jones
d1264a07 31c53962

+1
+1
drivers/mfd/rn5t618.c
··· 25 25 26 26 static const struct mfd_cell rc5t619_cells[] = { 27 27 { .name = "rn5t618-adc" }, 28 + { .name = "rn5t618-power" }, 28 29 { .name = "rn5t618-regulator" }, 29 30 { .name = "rc5t619-rtc" }, 30 31 { .name = "rn5t618-wdt" },