12f06fcbdSSebastian Reichel# SPDX-License-Identifier: GPL-2.0 22f06fcbdSSebastian Reichel%YAML 1.2 32f06fcbdSSebastian Reichel--- 41ea78ec5SKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/supply/maxim,ds2760.yaml# 51ea78ec5SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 62f06fcbdSSebastian Reichel 7*a612130cSKrzysztof Kozlowskititle: Maxim DS2760 82f06fcbdSSebastian Reichel 92f06fcbdSSebastian Reichelmaintainers: 102f06fcbdSSebastian Reichel - Sebastian Reichel <sre@kernel.org> 112f06fcbdSSebastian Reichel 122f06fcbdSSebastian Reicheldescription: | 132f06fcbdSSebastian Reichel The ds2760 is a w1 slave device and must hence have its sub-node in 142f06fcbdSSebastian Reichel DT under a w1 bus master node. 152f06fcbdSSebastian Reichel 162f06fcbdSSebastian ReichelallOf: 172f06fcbdSSebastian Reichel - $ref: power-supply.yaml# 182f06fcbdSSebastian Reichel 192f06fcbdSSebastian Reichelproperties: 202f06fcbdSSebastian Reichel compatible: 212f06fcbdSSebastian Reichel const: maxim,ds2760 222f06fcbdSSebastian Reichel 232f06fcbdSSebastian Reichel maxim,pmod-enabled: 242f06fcbdSSebastian Reichel description: | 252f06fcbdSSebastian Reichel Allow the DS2760 to enter sleep mode when the DQ line goes low for more than 2 seconds 262f06fcbdSSebastian Reichel and leave sleep Mode when the DQ line goes high. 272f06fcbdSSebastian Reichel type: boolean 282f06fcbdSSebastian Reichel 292f06fcbdSSebastian Reichel maxim,cache-time-ms: 302f06fcbdSSebastian Reichel description: | 312f06fcbdSSebastian Reichel Time im milliseconds to cache the data for. 322f06fcbdSSebastian Reichel When this time expires, the values are read again from the hardware. 332f06fcbdSSebastian Reichel Defaults to 1000. 342f06fcbdSSebastian Reichel 352f06fcbdSSebastian Reichel rated-capacity-microamp-hours: 362f06fcbdSSebastian Reichel description: | 372f06fcbdSSebastian Reichel The rated capacity of the battery, in mAh. 382f06fcbdSSebastian Reichel If not specified, the value stored in the non-volatile chip memory is used. 392f06fcbdSSebastian Reichel 402f06fcbdSSebastian Reichelrequired: 412f06fcbdSSebastian Reichel - compatible 422f06fcbdSSebastian Reichel 432f06fcbdSSebastian ReichelunevaluatedProperties: false 44