Merge tag 'drm-next-2021-11-12' of git://anongit.freedesktop.org/drm/drm
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / hwmon / lltc,ltc4151.yaml
1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/hwmon/lltc,ltc4151.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: LTC4151 High Voltage I2C Current and Voltage Monitor
8
9 maintainers:
10   - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
11
12 properties:
13   compatible:
14     const: lltc,ltc4151
15
16   reg:
17     maxItems: 1
18
19   shunt-resistor-micro-ohms:
20     description:
21       Shunt resistor value in micro-Ohms
22     default: 1000
23
24 required:
25   - compatible
26   - reg
27
28 additionalProperties: false
29
30 examples:
31   - |
32     i2c {
33         #address-cells = <1>;
34         #size-cells = <0>;
35
36         sensor@6e {
37             compatible = "lltc,ltc4151";
38             reg = <0x6e>;
39             shunt-resistor-micro-ohms = <1500>;
40         };
41     };