summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/max8998.txt
diff options
context:
space:
mode:
authorJonathan Bakker <xc-racer2@live.ca>2020-05-16 12:47:58 -0700
committerMark Brown <broonie@kernel.org>2020-05-22 13:11:06 +0100
commit0c680ffb99ea4022b97fbbf831da46b0f90958a5 (patch)
tree9d28215676072485e212a361814895afefa4ea78 /Documentation/devicetree/bindings/mfd/max8998.txt
parent4ffea5e083f8125fe273cf331ecb10d901eb64a2 (diff)
regulator/mfd: max8998: Document charger regulator
max8998 has a current regulator for control of its charging current. Document it. Signed-off-by: Jonathan Bakker <xc-racer2@live.ca> Link: https://lore.kernel.org/r/BN6PR04MB06600D05B27BAE69970E3C30A3BA0@BN6PR04MB0660.namprd04.prod.outlook.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/max8998.txt')
-rw-r--r--Documentation/devicetree/bindings/mfd/max8998.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/max8998.txt b/Documentation/devicetree/bindings/mfd/max8998.txt
index 5f2f07c09c90..4ed52184d081 100644
--- a/Documentation/devicetree/bindings/mfd/max8998.txt
+++ b/Documentation/devicetree/bindings/mfd/max8998.txt
@@ -73,6 +73,8 @@ number as described in MAX8998 datasheet.
- ESAFEOUT1: (ldo19)
- ESAFEOUT2: (ld020)
+ - CHARGER: main battery charger current control
+
Standard regulator bindings are used inside regulator subnodes. Check
Documentation/devicetree/bindings/regulator/regulator.txt
for more details.
@@ -113,5 +115,11 @@ Example:
regulator-always-on;
regulator-boot-on;
};
+
+ charger_reg: CHARGER {
+ regulator-name = "CHARGER";
+ regulator-min-microamp = <90000>;
+ regulator-max-microamp = <800000>;
+ };
};
};