Renesas ISL28022 power monitor

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

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

Maintainers (maintainers): "Carsten Spieß <mail@carsten-spiess.de>"

The ISL28022 is a power monitor with I2C interface. The device monitors voltage, current via shunt resistor and calculated power.

Datasheets:
  https://www.renesas.com/us/en/www/doc/datasheet/isl28022.pdf

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "renesas,isl28022"

reg — required here #

Maximum number of items (maxItems): 1

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

Shunt resistor value in micro-Ohm

Minimum value (minimum): 800

Default value (default): 10000

renesas,shunt-range-microvolt — not listed as required here #

Maximal shunt voltage range of +/- 40 mV, 80 mV, 160 mV or 320 mV

Default value (default): 320000

Allowed values (enum): 40000, 80000, 160000, 320000

renesas,average-samples — not listed as required here #

Number of samples to be used to report voltage, current and power values.

Default value (default): 1

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 4, 8, 16, 32, 64, 128

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>;

    power-monitor@40 {
        compatible = "renesas,isl28022";
        reg = <0x40>;
        shunt-resistor-micro-ohms = <8000>;
        renesas,shunt-range-microvolt = <40000>;
        renesas,average-samples = <128>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page