WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / hwmon / ti,ina2xx.yaml
blob6f0443322a36c8cc69708faa423af6ce7ab7fa35
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
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
10 maintainers:
11   - Krzysztof Kozlowski <krzk@kernel.org>
13 description: |
14   The INA209 is a high-side current shunt and power monitor with
15   an I2C interface.
17   Datasheets:
18     https://www.ti.com/product/INA209
20 properties:
21   compatible:
22     enum:
23       - ti,ina209
24       - ti,ina219
25       - ti,ina220
26       - ti,ina226
27       - ti,ina230
28       - ti,ina231
30   reg:
31     maxItems: 1
33   shunt-resistor:
34     description:
35       Shunt resistor value in micro-Ohm.
36     $ref: /schemas/types.yaml#/definitions/uint32
38 required:
39   - compatible
40   - reg
42 additionalProperties: false
44 examples:
45   - |
46     i2c {
47         #address-cells = <1>;
48         #size-cells = <0>;
50         power-sensor@44 {
51             compatible = "ti,ina220";
52             reg = <0x44>;
53             shunt-resistor = <1000>;
54         };
55     };