aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorJonathan Bakker <xc-racer2@live.ca>2020-05-16 12:47:59 -0700
committerMark Brown <broonie@kernel.org>2020-05-22 13:11:05 +0100
commit4ffea5e083f8125fe273cf331ecb10d901eb64a2 (patch)
tree1d92539528721b1a79e29156043a323dedf5ee94 /include/linux/mfd
parentMerge series "MAINTAINER entries for few ROHM power devices" from Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>: (diff)
downloadwireguard-linux-4ffea5e083f8125fe273cf331ecb10d901eb64a2.tar.xz
wireguard-linux-4ffea5e083f8125fe273cf331ecb10d901eb64a2.zip
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/max8998.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/max8998.h b/include/linux/mfd/max8998.h
index 061af220dcd3..79c020bd0c70 100644
--- a/include/linux/mfd/max8998.h
+++ b/include/linux/mfd/max8998.h
@@ -39,6 +39,7 @@ enum {
MAX8998_ENVICHG,
MAX8998_ESAFEOUT1,
MAX8998_ESAFEOUT2,
+ MAX8998_CHARGER,
};
/**