Skip to content

Commit 0c680ff

Browse files
xc-racer99broonie
authored andcommitted
regulator/mfd: max8998: Document charger regulator
max8998 has a current regulator for control of its charging current. Document it. Signed-off-by: Jonathan Bakker <[email protected]> Link: https://lore.kernel.org/r/BN6PR04MB06600D05B27BAE69970E3C30A3BA0@BN6PR04MB0660.namprd04.prod.outlook.com Signed-off-by: Mark Brown <[email protected]>
1 parent 4ffea5e commit 0c680ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/devicetree/bindings/mfd/max8998.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ number as described in MAX8998 datasheet.
7373
- ESAFEOUT1: (ldo19)
7474
- ESAFEOUT2: (ld020)
7575

76+
- CHARGER: main battery charger current control
77+
7678
Standard regulator bindings are used inside regulator subnodes. Check
7779
Documentation/devicetree/bindings/regulator/regulator.txt
7880
for more details.
@@ -113,5 +115,11 @@ Example:
113115
regulator-always-on;
114116
regulator-boot-on;
115117
};
118+
119+
charger_reg: CHARGER {
120+
regulator-name = "CHARGER";
121+
regulator-min-microamp = <90000>;
122+
regulator-max-microamp = <800000>;
123+
};
116124
};
117125
};

0 commit comments

Comments
 (0)