Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: devicetree: Add TI BQ25890 bindings

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

authored by

Laurentiu Palcu and committed by
Sebastian Reichel
7e9f8a25 4970d839

+46
+46
Documentation/devicetree/bindings/power/bq25890.txt
··· 1 + Binding for TI bq25890 Li-Ion Charger 2 + 3 + Required properties: 4 + - compatible: Should contain one of the following: 5 + * "ti,bq25890" 6 + - reg: integer, i2c address of the device. 7 + - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 8 + - ti,charge-current: integer, maximum charging current (in uA); 9 + - ti,termination-current: integer, charge will be terminated when current in 10 + constant-voltage phase drops below this value (in uA); 11 + - ti,precharge-current: integer, maximum charge current during precharge 12 + phase (in uA); 13 + - ti,minimum-sys-voltage: integer, when battery is charging and it is below 14 + minimum system voltage, the system will be regulated above 15 + minimum-sys-voltage setting (in uV); 16 + - ti,boost-voltage: integer, VBUS voltage level in boost mode (in uV); 17 + - ti,boost-max-current: integer, maximum allowed current draw in boost mode 18 + (in uA). 19 + 20 + Optional properties: 21 + - ti,boost-low-freq: boolean, if present boost mode frequency will be 500kHz, 22 + otherwise 1.5MHz; 23 + - ti,use-ilim-pin: boolean, if present the ILIM resistor will be used and the 24 + input current will be the lower between the resistor setting and the IINLIM 25 + register setting; 26 + - ti,thermal-regulation-threshold: integer, temperature above which the charge 27 + current is lowered, to avoid overheating (in degrees Celsius). If omitted, 28 + the default setting will be used (120 degrees); 29 + 30 + Example: 31 + 32 + bq25890 { 33 + compatible = "ti,bq25890"; 34 + reg = <0x6a>; 35 + 36 + ti,battery-regulation-voltage = <4200000>; 37 + ti,charge-current = <1000000>; 38 + ti,termination-current = <50000>; 39 + ti,precharge-current = <128000>; 40 + ti,minimum-sys-voltage = <3600000>; 41 + ti,boost-voltage = <5000000>; 42 + ti,boost-max-current = <1000000>; 43 + 44 + ti,use-ilim-pin; 45 + ti,thermal-regulation-threshold = <120>; 46 + };