blob: 6401b0a9aff4d2d074b0ac6befd463eab5b3e515 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/adi,ltc2945.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices LTC2945 wide range i2c power monitor
8
9maintainers:
10 - Guenter Roeck <linux@roeck-us.net>
11
12description: |
13 Analog Devices LTC2945 wide range i2c power monitor over I2C.
14
15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2945.pdf
16
17properties:
18 compatible:
19 enum:
20 - adi,ltc2945
21
22 reg:
23 maxItems: 1
24
25 shunt-resistor-micro-ohms:
26 description:
27 Shunt resistor value in micro-Ohms
28 default: 1000
29
30required:
31 - compatible
32 - reg
33
Tom Rini6bb92fc2024-05-20 09:54:58 -060034allOf:
35 - $ref: hwmon-common.yaml#
36
37unevaluatedProperties: false
Tom Rini53633a82024-02-29 12:33:36 -050038
39examples:
40 - |
41 i2c {
42 #address-cells = <1>;
43 #size-cells = <0>;
44
45 power-monitor@6e {
46 compatible = "adi,ltc2945";
47 reg = <0x6e>;
48 /* 10 milli-Ohm shunt resistor */
49 shunt-resistor-micro-ohms = <10000>;
50 };
51 };
52...