1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*5f62a964SEmmanuel Vadot%YAML 1.2 3*5f62a964SEmmanuel Vadot--- 4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/renesas,isl28022.yaml# 5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5f62a964SEmmanuel Vadot 7*5f62a964SEmmanuel Vadottitle: Renesas ISL28022 power monitor 8*5f62a964SEmmanuel Vadot 9*5f62a964SEmmanuel Vadotmaintainers: 10*5f62a964SEmmanuel Vadot - Carsten Spieß <mail@carsten-spiess.de> 11*5f62a964SEmmanuel Vadot 12*5f62a964SEmmanuel Vadotdescription: | 13*5f62a964SEmmanuel Vadot The ISL28022 is a power monitor with I2C interface. The device monitors 14*5f62a964SEmmanuel Vadot voltage, current via shunt resistor and calculated power. 15*5f62a964SEmmanuel Vadot 16*5f62a964SEmmanuel Vadot Datasheets: 17*5f62a964SEmmanuel Vadot https://www.renesas.com/us/en/www/doc/datasheet/isl28022.pdf 18*5f62a964SEmmanuel Vadot 19*5f62a964SEmmanuel Vadotproperties: 20*5f62a964SEmmanuel Vadot compatible: 21*5f62a964SEmmanuel Vadot const: renesas,isl28022 22*5f62a964SEmmanuel Vadot 23*5f62a964SEmmanuel Vadot reg: 24*5f62a964SEmmanuel Vadot maxItems: 1 25*5f62a964SEmmanuel Vadot 26*5f62a964SEmmanuel Vadot shunt-resistor-micro-ohms: 27*5f62a964SEmmanuel Vadot description: 28*5f62a964SEmmanuel Vadot Shunt resistor value in micro-Ohm 29*5f62a964SEmmanuel Vadot minimum: 800 30*5f62a964SEmmanuel Vadot default: 10000 31*5f62a964SEmmanuel Vadot 32*5f62a964SEmmanuel Vadot renesas,shunt-range-microvolt: 33*5f62a964SEmmanuel Vadot description: 34*5f62a964SEmmanuel Vadot Maximal shunt voltage range of +/- 40 mV, 80 mV, 160 mV or 320 mV 35*5f62a964SEmmanuel Vadot default: 320000 36*5f62a964SEmmanuel Vadot enum: [40000, 80000, 160000, 320000] 37*5f62a964SEmmanuel Vadot 38*5f62a964SEmmanuel Vadot renesas,average-samples: 39*5f62a964SEmmanuel Vadot description: 40*5f62a964SEmmanuel Vadot Number of samples to be used to report voltage, current and power values. 41*5f62a964SEmmanuel Vadot default: 1 42*5f62a964SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 43*5f62a964SEmmanuel Vadot enum: [1, 2, 4, 8, 16, 32, 64, 128] 44*5f62a964SEmmanuel Vadot 45*5f62a964SEmmanuel Vadotrequired: 46*5f62a964SEmmanuel Vadot - compatible 47*5f62a964SEmmanuel Vadot - reg 48*5f62a964SEmmanuel Vadot 49*5f62a964SEmmanuel VadotadditionalProperties: false 50*5f62a964SEmmanuel Vadot 51*5f62a964SEmmanuel Vadotexamples: 52*5f62a964SEmmanuel Vadot - | 53*5f62a964SEmmanuel Vadot i2c { 54*5f62a964SEmmanuel Vadot #address-cells = <1>; 55*5f62a964SEmmanuel Vadot #size-cells = <0>; 56*5f62a964SEmmanuel Vadot 57*5f62a964SEmmanuel Vadot power-monitor@40 { 58*5f62a964SEmmanuel Vadot compatible = "renesas,isl28022"; 59*5f62a964SEmmanuel Vadot reg = <0x40>; 60*5f62a964SEmmanuel Vadot shunt-resistor-micro-ohms = <8000>; 61*5f62a964SEmmanuel Vadot renesas,shunt-range-microvolt = <40000>; 62*5f62a964SEmmanuel Vadot renesas,average-samples = <128>; 63*5f62a964SEmmanuel Vadot }; 64*5f62a964SEmmanuel Vadot }; 65