]> 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)
commita93106b7fd4b9220072fbc1935f69dd5443ae26e
tree1d92539528721b1a79e29156043a323dedf5ee94
parent37d3d1bd34c37824840f66261256d10fe6650555
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