Path: blob/main/sys/contrib/device-tree/Bindings/hwmon/adi,ltc2991.yaml
48377 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---34$id: http://devicetree.org/schemas/hwmon/adi,ltc2991.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Analog Devices LTC2991 Octal I2C Voltage, Current and Temperature Monitor89maintainers:10- Antoniu Miclaus <antoniu.miclaus@analog.com>1112description: |13The LTC2991 is used to monitor system temperatures, voltages and currents.14Through the I2C serial interface, the eight monitors can individually measure15supply voltages and can be paired for differential measurements of current16sense resistors or temperature sensing transistors.1718Datasheet:19https://www.analog.com/en/products/ltc2991.html2021properties:22compatible:23const: adi,ltc29912425reg:26maxItems: 12728'#address-cells':29const: 13031'#size-cells':32const: 03334vcc-supply: true3536patternProperties:37"^channel@[0-3]$":38type: object39description:40Represents the differential/temperature channels.4142properties:43reg:44description:45The channel number. LTC2991 can monitor 4 currents/temperatures.46items:47minimum: 048maximum: 34950shunt-resistor-micro-ohms:51description:52The value of curent sense resistor in micro ohms. Pin configuration is53set for differential input pair.5455adi,temperature-enable:56description:57Enables temperature readings. Pin configuration is set for remote58diode temperature measurement.59type: boolean6061required:62- reg6364allOf:65- if:66required:67- shunt-resistor-micro-ohms68then:69properties:70adi,temperature-enable: false7172additionalProperties: false7374required:75- compatible76- reg77- vcc-supply7879additionalProperties: false8081examples:82- |83i2c {84#address-cells = <1>;85#size-cells = <0>;8687hwmon@48 {88compatible = "adi,ltc2991";89reg = <0x48>;90vcc-supply = <&vcc>;91};92};93- |94i2c {95#address-cells = <1>;96#size-cells = <0>;9798hwmon@48 {99#address-cells = <1>;100#size-cells = <0>;101102compatible = "adi,ltc2991";103reg = <0x48>;104vcc-supply = <&vcc>;105106channel@0 {107reg = <0x0>;108shunt-resistor-micro-ohms = <100000>;109};110111channel@1 {112reg = <0x1>;113shunt-resistor-micro-ohms = <100000>;114};115116channel@2 {117reg = <0x2>;118adi,temperature-enable;119};120121channel@3 {122reg = <0x3>;123adi,temperature-enable;124};125};126};127...128129130