Linear Technology 2992 Power Monitor

Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,ltc2992.yaml#"

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

Maintainers (maintainers): "Cedric Encarnacion <cedricjustine.encarnacion@analog.com>"

Linear Technology 2992 Dual Wide Range Power Monitor https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,ltc2992"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

avcc-supply — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^channel@([0-1])$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Represents the two supplies to be monitored.

Properties and child nodes (properties) #

reg — not listed as required here

The channel number. LTC2992 can monitor two supplies.

Array item rules (items)

Minimum value (minimum): 0

Maximum value (maximum): 1

shunt-resistor-micro-ohms — not listed as required here

The value of current sense resistor in microohms.

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    ltc2992@6f {
        #address-cells = <1>;
        #size-cells = <0>;

        compatible = "adi,ltc2992";
        reg = <0x6f>;

        channel@0 {
            reg = <0x0>;
            shunt-resistor-micro-ohms = <10000>;
        };

        channel@1 {
            reg = <0x1>;
            shunt-resistor-micro-ohms = <10000>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page