1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
5 $id: http://devicetree.org/schemas/hwmon/ti,ina2xx.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Texas Instruments INA209 family of power/voltage monitors
11 - Krzysztof Kozlowski <krzk@kernel.org>
14 The INA209 is a high-side current shunt and power monitor with
18 https://www.ti.com/product/INA209
36 Shunt resistor value in micro-Ohm.
37 $ref: /schemas/types.yaml#/definitions/uint32
41 Programmable gain divisor for the shunt voltage accuracy and range. This
42 property only applies to devices that have configurable PGA/ADCRANGE. The
43 gain value is used configure the gain and to convert the shunt voltage,
44 current and power register values when reading measurements from the
47 For devices that have a configurable PGA (e.g. INA209, INA219, INA220),
48 the gain value maps directly with the PG bits of the config register.
50 For devices that have ADCRANGE configuration (e.g. INA238) a shunt-gain
51 value of 1 maps to ADCRANGE=1 where no gain divisor is applied to the
52 shunt voltage, and a value of 4 maps to ADCRANGE=0 such that a wider
53 voltage range is used.
55 The default value is device dependent, and is defined by the reset value
56 of PGA/ADCRANGE in the respective configuration registers.
57 $ref: /schemas/types.yaml#/definitions/uint32
64 additionalProperties: false
73 compatible = "ti,ina220";
75 shunt-resistor = <1000>;