Path: blob/master/Documentation/devicetree/bindings/hwmon/adi,ltc2991.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/hwmon/adi,ltc2991.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Analog Devices LTC2991 Octal I2C Voltage, Current and Temperature Monitor78maintainers:9- Antoniu Miclaus <antoniu.miclaus@analog.com>1011description: |12The LTC2991 is used to monitor system temperatures, voltages and currents.13Through the I2C serial interface, the eight monitors can individually measure14supply voltages and can be paired for differential measurements of current15sense resistors or temperature sensing transistors.1617Datasheet:18https://www.analog.com/en/products/ltc2991.html1920properties:21compatible:22const: adi,ltc29912324reg:25maxItems: 12627'#address-cells':28const: 12930'#size-cells':31const: 03233vcc-supply: true3435patternProperties:36"^channel@[0-3]$":37type: object38description:39Represents the differential/temperature channels.4041properties:42reg:43description:44The channel number. LTC2991 can monitor 4 currents/temperatures.45items:46minimum: 047maximum: 34849shunt-resistor-micro-ohms:50description:51The value of curent sense resistor in micro ohms. Pin configuration is52set for differential input pair.5354adi,temperature-enable:55description:56Enables temperature readings. Pin configuration is set for remote57diode temperature measurement.58type: boolean5960required:61- reg6263allOf:64- if:65required:66- shunt-resistor-micro-ohms67then:68properties:69adi,temperature-enable: false7071additionalProperties: false7273required:74- compatible75- reg76- vcc-supply7778additionalProperties: false7980examples:81- |82i2c {83#address-cells = <1>;84#size-cells = <0>;8586hwmon@48 {87compatible = "adi,ltc2991";88reg = <0x48>;89vcc-supply = <&vcc>;90};91};92- |93i2c {94#address-cells = <1>;95#size-cells = <0>;9697hwmon@48 {98#address-cells = <1>;99#size-cells = <0>;100101compatible = "adi,ltc2991";102reg = <0x48>;103vcc-supply = <&vcc>;104105channel@0 {106reg = <0x0>;107shunt-resistor-micro-ohms = <100000>;108};109110channel@1 {111reg = <0x1>;112shunt-resistor-micro-ohms = <100000>;113};114115channel@2 {116reg = <0x2>;117adi,temperature-enable;118};119120channel@3 {121reg = <0x3>;122adi,temperature-enable;123};124};125};126...127128129