diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/power_supply/max17042_battery.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/max17042_battery.txt b/Documentation/devicetree/bindings/power_supply/max17042_battery.txt new file mode 100644 index 000000000000..5bc9b685cf8a --- /dev/null +++ b/Documentation/devicetree/bindings/power_supply/max17042_battery.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | max17042_battery | ||
2 | ~~~~~~~~~~~~~~~~ | ||
3 | |||
4 | Required properties : | ||
5 | - compatible : "maxim,max17042" | ||
6 | |||
7 | Optional 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 | |||
12 | Example: | ||
13 | |||
14 | battery-charger@36 { | ||
15 | compatible = "maxim,max17042"; | ||
16 | reg = <0x36>; | ||
17 | maxim,rsns-microohm = <10000>; | ||
18 | }; | ||