18c2ecf20Sopenharmony_ciDevicetree bindings for Maxim DS2760 28c2ecf20Sopenharmony_ci==================================== 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThe ds2760 is a w1 slave device and must hence have its sub-node in DT 58c2ecf20Sopenharmony_ciunder a w1 bus master node. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciThe device exposes a power supply, so the details described in 88c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/power/supply/power_supply.txt apply. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciRequired properties: 118c2ecf20Sopenharmony_ci- compatible: must be "maxim,ds2760" 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciOptional properties: 148c2ecf20Sopenharmony_ci- power-supplies: Refers to one or more power supplies connected to 158c2ecf20Sopenharmony_ci this battery. 168c2ecf20Sopenharmony_ci- maxim,pmod-enabled: This boolean property enables the DS2760 to enter 178c2ecf20Sopenharmony_ci sleep mode when the DQ line goes low for greater 188c2ecf20Sopenharmony_ci than 2 seconds and leave sleep Mode when the DQ 198c2ecf20Sopenharmony_ci line goes high. 208c2ecf20Sopenharmony_ci- maxim,cache-time-ms: Time im milliseconds to cache the data for. When 218c2ecf20Sopenharmony_ci this time expires, the values are read again from 228c2ecf20Sopenharmony_ci the hardware. Defaults to 1000. 238c2ecf20Sopenharmony_ci- rated-capacity-microamp-hours: 248c2ecf20Sopenharmony_ci The rated capacity of the battery, in mAh. 258c2ecf20Sopenharmony_ci If not specified, the value stored in the 268c2ecf20Sopenharmony_ci non-volatile chip memory is used. 27