xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/maxim,ds2760.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Devicetree bindings for Maxim DS2760
2====================================
3
4The ds2760 is a w1 slave device and must hence have its sub-node in DT
5under a w1 bus master node.
6
7The device exposes a power supply, so the details described in
8Documentation/devicetree/bindings/power/supply/power_supply.txt apply.
9
10Required properties:
11- compatible: must be "maxim,ds2760"
12
13Optional 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.
27