xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/lltc,ltc4151.yaml (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
2*8cc087a1SEmmanuel Vadot%YAML 1.2
3*8cc087a1SEmmanuel Vadot---
4*8cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/lltc,ltc4151.yaml#
5*8cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8cc087a1SEmmanuel Vadot
7*8cc087a1SEmmanuel Vadottitle: LTC4151 High Voltage I2C Current and Voltage Monitor
8*8cc087a1SEmmanuel Vadot
9*8cc087a1SEmmanuel Vadotmaintainers:
10*8cc087a1SEmmanuel Vadot  - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
11*8cc087a1SEmmanuel Vadot
12*8cc087a1SEmmanuel Vadotproperties:
13*8cc087a1SEmmanuel Vadot  compatible:
14*8cc087a1SEmmanuel Vadot    const: lltc,ltc4151
15*8cc087a1SEmmanuel Vadot
16*8cc087a1SEmmanuel Vadot  reg:
17*8cc087a1SEmmanuel Vadot    maxItems: 1
18*8cc087a1SEmmanuel Vadot
19*8cc087a1SEmmanuel Vadot  shunt-resistor-micro-ohms:
20*8cc087a1SEmmanuel Vadot    description:
21*8cc087a1SEmmanuel Vadot      Shunt resistor value in micro-Ohms
22*8cc087a1SEmmanuel Vadot    default: 1000
23*8cc087a1SEmmanuel Vadot
24*8cc087a1SEmmanuel Vadotrequired:
25*8cc087a1SEmmanuel Vadot  - compatible
26*8cc087a1SEmmanuel Vadot  - reg
27*8cc087a1SEmmanuel Vadot
28*8cc087a1SEmmanuel VadotadditionalProperties: false
29*8cc087a1SEmmanuel Vadot
30*8cc087a1SEmmanuel Vadotexamples:
31*8cc087a1SEmmanuel Vadot  - |
32*8cc087a1SEmmanuel Vadot    i2c {
33*8cc087a1SEmmanuel Vadot        #address-cells = <1>;
34*8cc087a1SEmmanuel Vadot        #size-cells = <0>;
35*8cc087a1SEmmanuel Vadot
36*8cc087a1SEmmanuel Vadot        sensor@6e {
37*8cc087a1SEmmanuel Vadot            compatible = "lltc,ltc4151";
38*8cc087a1SEmmanuel Vadot            reg = <0x6e>;
39*8cc087a1SEmmanuel Vadot            shunt-resistor-micro-ohms = <1500>;
40*8cc087a1SEmmanuel Vadot        };
41*8cc087a1SEmmanuel Vadot    };
42