blob: 8f0095bb7f6eb237daaa0d5585d84d92225b276b [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/lltc,ltc4151.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LTC4151 High Voltage I2C Current and Voltage Monitor
8
9maintainers:
10 - Krzysztof Kozlowski <krzk@kernel.org>
11
12properties:
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
24required:
25 - compatible
26 - reg
27
Tom Rini6bb92fc2024-05-20 09:54:58 -060028allOf:
29 - $ref: hwmon-common.yaml#
30
31unevaluatedProperties: false
Tom Rini53633a82024-02-29 12:33:36 -050032
33examples:
34 - |
35 i2c {
36 #address-cells = <1>;
37 #size-cells = <0>;
38
39 sensor@6e {
40 compatible = "lltc,ltc4151";
41 reg = <0x6e>;
42 shunt-resistor-micro-ohms = <1500>;
43 };
44 };