1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4 5$id: http://devicetree.org/schemas/hwmon/ti,ina2xx.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: Texas Instruments INA209 family of power/voltage monitors 9 10maintainers: 11 - Krzysztof Kozlowski <krzk@kernel.org> 12 13description: | 14 The INA209 is a high-side current shunt and power monitor with 15 an I2C interface. 16 17 Datasheets: 18 https://www.ti.com/product/INA209 19 20properties: 21 compatible: 22 enum: 23 - ti,ina209 24 - ti,ina219 25 - ti,ina220 26 - ti,ina226 27 - ti,ina230 28 - ti,ina231 29 - ti,ina238 30 31 reg: 32 maxItems: 1 33 34 shunt-resistor: 35 description: 36 Shunt resistor value in micro-Ohm. 37 $ref: /schemas/types.yaml#/definitions/uint32 38 39required: 40 - compatible 41 - reg 42 43additionalProperties: false 44 45examples: 46 - | 47 i2c { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 power-sensor@44 { 52 compatible = "ti,ina220"; 53 reg = <0x44>; 54 shunt-resistor = <1000>; 55 }; 56 }; 57