]>
Commit | Line | Data |
---|---|---|
94f1ab94 KK |
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 | ||
8 | title: Texas Instruments INA209 family of power/voltage monitors | |
9 | ||
10 | maintainers: | |
11 | - Krzysztof Kozlowski <krzk@kernel.org> | |
12 | ||
13 | description: | | |
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 | ||
20 | properties: | |
21 | compatible: | |
22 | enum: | |
23 | - ti,ina209 | |
24 | - ti,ina219 | |
25 | - ti,ina220 | |
26 | - ti,ina226 | |
27 | - ti,ina230 | |
28 | - ti,ina231 | |
29 | ||
30 | reg: | |
31 | maxItems: 1 | |
32 | ||
33 | shunt-resistor: | |
34 | description: | |
35 | Shunt resistor value in micro-Ohm. | |
36 | $ref: /schemas/types.yaml#/definitions/uint32 | |
37 | ||
38 | required: | |
39 | - compatible | |
40 | - reg | |
41 | ||
42 | additionalProperties: false | |
43 | ||
44 | examples: | |
45 | - | | |
46 | i2c { | |
47 | #address-cells = <1>; | |
48 | #size-cells = <0>; | |
49 | ||
50 | power-sensor@44 { | |
51 | compatible = "ti,ina220"; | |
52 | reg = <0x44>; | |
53 | shunt-resistor = <1000>; | |
54 | }; | |
55 | }; |