GNU Linux-libre 4.19.281-gnu1
[releases.git] / Documentation / devicetree / bindings / power / supply / maxim,ds2760.txt
1 Devicetree bindings for Maxim DS2760
2 ====================================
3
4 The ds2760 is a w1 slave device and must hence have its sub-node in DT
5 under a w1 bus master node.
6
7 The device exposes a power supply, so the details described in
8 Documentation/devicetree/bindings/power/supply/power_supply.txt apply.
9
10 Required properties:
11 - compatible: must be "maxim,ds2760"
12
13 Optional properties:
14 - power-supplies:       Refers to one or more power supplies connected to
15                         this battery.
16 - maxim,pmod-enabled:   This boolean property enables the DS2760 to enter
17                         sleep mode when the DQ line goes low for greater
18                         than 2 seconds and leave sleep Mode when the DQ
19                         line goes high.
20 - maxim,cache-time-ms:  Time im milliseconds to cache the data for. When
21                         this time expires, the values are read again from
22                         the hardware. Defaults to 1000.
23 - rated-capacity-microamp-hours:
24                         The rated capacity of the battery, in mAh.
25                         If not specified, the value stored in the
26                         non-volatile chip memory is used.