xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/lltc,ltc4151.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/lltc,ltc4151.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: LTC4151 High Voltage I2C Current and Voltage Monitor
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
10c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotproperties:
138cc087a1SEmmanuel Vadot  compatible:
148cc087a1SEmmanuel Vadot    const: lltc,ltc4151
158cc087a1SEmmanuel Vadot
168cc087a1SEmmanuel Vadot  reg:
178cc087a1SEmmanuel Vadot    maxItems: 1
188cc087a1SEmmanuel Vadot
198cc087a1SEmmanuel Vadot  shunt-resistor-micro-ohms:
208cc087a1SEmmanuel Vadot    description:
218cc087a1SEmmanuel Vadot      Shunt resistor value in micro-Ohms
228cc087a1SEmmanuel Vadot    default: 1000
238cc087a1SEmmanuel Vadot
248cc087a1SEmmanuel Vadotrequired:
258cc087a1SEmmanuel Vadot  - compatible
268cc087a1SEmmanuel Vadot  - reg
278cc087a1SEmmanuel Vadot
288cc087a1SEmmanuel VadotadditionalProperties: false
298cc087a1SEmmanuel Vadot
308cc087a1SEmmanuel Vadotexamples:
318cc087a1SEmmanuel Vadot  - |
328cc087a1SEmmanuel Vadot    i2c {
338cc087a1SEmmanuel Vadot        #address-cells = <1>;
348cc087a1SEmmanuel Vadot        #size-cells = <0>;
358cc087a1SEmmanuel Vadot
368cc087a1SEmmanuel Vadot        sensor@6e {
378cc087a1SEmmanuel Vadot            compatible = "lltc,ltc4151";
388cc087a1SEmmanuel Vadot            reg = <0x6e>;
398cc087a1SEmmanuel Vadot            shunt-resistor-micro-ohms = <1500>;
408cc087a1SEmmanuel Vadot        };
418cc087a1SEmmanuel Vadot    };
42