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