Merge branches 'x86/amd', 'x86/vt-d', 'arm/exynos', 'arm/mediatek' and 'arm/renesas...
[deliverable/linux.git] / Documentation / devicetree / bindings / power_supply / max17042_battery.txt
CommitLineData
3832246d
KL
1max17042_battery
2~~~~~~~~~~~~~~~~
3
4Required properties :
5 - compatible : "maxim,max17042"
6
7Optional properties :
8 - maxim,rsns-microohm : Resistance of rsns resistor in micro Ohms
9 (datasheet-recommended value is 10000).
10 Defining this property enables current-sense functionality.
11
a6e6b63e
KK
12Optional threshold properties :
13 If skipped the condition won't be reported.
14 - maxim,cold-temp : Temperature threshold to report battery
15 as cold (in tenths of degree Celsius).
16 - maxim,over-heat-temp : Temperature threshold to report battery
17 as over heated (in tenths of degree Celsius).
18 - maxim,dead-volt : Voltage threshold to report battery
19 as dead (in mV).
20 - maxim,over-volt : Voltage threshold to report battery
21 as over voltage (in mV).
22
3832246d
KL
23Example:
24
25 battery-charger@36 {
26 compatible = "maxim,max17042";
27 reg = <0x36>;
28 maxim,rsns-microohm = <10000>;
a6e6b63e
KK
29 maxim,over-heat-temp = <600>;
30 maxim,over-volt = <4300>;
3832246d 31 };
This page took 0.257128 seconds and 5 git commands to generate.