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