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