xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/maxim,ds2760.yaml (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1*2eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2*2eb4d8dcSEmmanuel Vadot%YAML 1.2
3*2eb4d8dcSEmmanuel Vadot---
4*2eb4d8dcSEmmanuel Vadot$id: "http://devicetree.org/schemas/power/supply/maxim,ds2760.yaml#"
5*2eb4d8dcSEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6*2eb4d8dcSEmmanuel Vadot
7*2eb4d8dcSEmmanuel Vadottitle: Maxim DS2760 DT bindings
8*2eb4d8dcSEmmanuel Vadot
9*2eb4d8dcSEmmanuel Vadotmaintainers:
10*2eb4d8dcSEmmanuel Vadot  - Sebastian Reichel <sre@kernel.org>
11*2eb4d8dcSEmmanuel Vadot
12*2eb4d8dcSEmmanuel Vadotdescription: |
13*2eb4d8dcSEmmanuel Vadot  The ds2760 is a w1 slave device and must hence have its sub-node in
14*2eb4d8dcSEmmanuel Vadot  DT under a w1 bus master node.
15*2eb4d8dcSEmmanuel Vadot
16*2eb4d8dcSEmmanuel VadotallOf:
17*2eb4d8dcSEmmanuel Vadot  - $ref: power-supply.yaml#
18*2eb4d8dcSEmmanuel Vadot
19*2eb4d8dcSEmmanuel Vadotproperties:
20*2eb4d8dcSEmmanuel Vadot  compatible:
21*2eb4d8dcSEmmanuel Vadot    const: maxim,ds2760
22*2eb4d8dcSEmmanuel Vadot
23*2eb4d8dcSEmmanuel Vadot  maxim,pmod-enabled:
24*2eb4d8dcSEmmanuel Vadot    description: |
25*2eb4d8dcSEmmanuel Vadot      Allow the DS2760 to enter sleep mode when the DQ line goes low for more than 2 seconds
26*2eb4d8dcSEmmanuel Vadot      and leave sleep Mode when the DQ line goes high.
27*2eb4d8dcSEmmanuel Vadot    type: boolean
28*2eb4d8dcSEmmanuel Vadot
29*2eb4d8dcSEmmanuel Vadot  maxim,cache-time-ms:
30*2eb4d8dcSEmmanuel Vadot    description: |
31*2eb4d8dcSEmmanuel Vadot      Time im milliseconds to cache the data for.
32*2eb4d8dcSEmmanuel Vadot      When this time expires, the values are read again from the hardware.
33*2eb4d8dcSEmmanuel Vadot      Defaults to 1000.
34*2eb4d8dcSEmmanuel Vadot
35*2eb4d8dcSEmmanuel Vadot  rated-capacity-microamp-hours:
36*2eb4d8dcSEmmanuel Vadot    description: |
37*2eb4d8dcSEmmanuel Vadot      The rated capacity of the battery, in mAh.
38*2eb4d8dcSEmmanuel Vadot      If not specified, the value stored in the non-volatile chip memory is used.
39*2eb4d8dcSEmmanuel Vadot
40*2eb4d8dcSEmmanuel Vadotrequired:
41*2eb4d8dcSEmmanuel Vadot  - compatible
42*2eb4d8dcSEmmanuel Vadot
43*2eb4d8dcSEmmanuel VadotunevaluatedProperties: false
44