File Index
Files and directories
Sign in
FILE

maxim,ds2760.yaml

File preview with syntax highlighting.

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