Maxim DS2760

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/maxim,ds2760.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"

The ds2760 is a w1 slave device and must hence have its sub-node in DT under a w1 bus master node.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): power-supply.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,ds2760"

maxim,pmod-enabled — not listed as required here #

Allow the DS2760 to enter sleep mode when the DQ line goes low for more than 2 seconds and leave sleep Mode when the DQ line goes high.

Value type (type): "boolean"

maxim,cache-time-ms — not listed as required here #

Time im milliseconds to cache the data for. When this time expires, the values are read again from the hardware. Defaults to 1000.

rated-capacity-microamp-hours — not listed as required here #

The rated capacity of the battery, in mAh. If not specified, the value stored in the non-volatile chip memory is used.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page