]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max8998: Add charger regulator
authorJonathan Bakker <xc-racer2@live.ca>
Sat, 16 May 2020 19:47:59 +0000 (12:47 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 22 May 2020 12:11:05 +0000 (13:11 +0100)
commit27f4fc0e314040f5b5565423a4534167c3f0b844
tree1d92539528721b1a79e29156043a323dedf5ee94
parenta0879b43706a4c8dba1119680e59a9bf236ba6b0
regulator: max8998: Add charger regulator

The max8998 has a current regulator for charging control.  The
charger driver in drivers/power/supply/max8998_charger.c has a
comment in it stating that 'charger control is done by a current
regulator "CHARGER"', but this regulator was never added until
now.

The current values have been extracted from a downstream driver
for the SGH-T959V.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/BN6PR04MB0660E1F4A3D5A348BE88311CA3BA0@BN6PR04MB0660.namprd04.prod.outlook.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8998.c
include/linux/mfd/max8998.h