15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/adi,ltc2992.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Linear Technology 2992 Power Monitor 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Alexandru Tachici <alexandru.tachici@analog.com> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: | 135def4c47SEmmanuel Vadot Linear Technology 2992 Dual Wide Range Power Monitor 145def4c47SEmmanuel Vadot https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadotproperties: 175def4c47SEmmanuel Vadot compatible: 185def4c47SEmmanuel Vadot enum: 195def4c47SEmmanuel Vadot - adi,ltc2992 205def4c47SEmmanuel Vadot 215def4c47SEmmanuel Vadot reg: 225def4c47SEmmanuel Vadot maxItems: 1 235def4c47SEmmanuel Vadot 245def4c47SEmmanuel Vadot '#address-cells': 255def4c47SEmmanuel Vadot const: 1 265def4c47SEmmanuel Vadot 275def4c47SEmmanuel Vadot '#size-cells': 285def4c47SEmmanuel Vadot const: 0 295def4c47SEmmanuel Vadot 305def4c47SEmmanuel Vadot avcc-supply: true 315def4c47SEmmanuel Vadot 325def4c47SEmmanuel VadotpatternProperties: 335def4c47SEmmanuel Vadot "^channel@([0-1])$": 345def4c47SEmmanuel Vadot type: object 35fac71e4eSEmmanuel Vadot additionalProperties: false 365def4c47SEmmanuel Vadot description: | 375def4c47SEmmanuel Vadot Represents the two supplies to be monitored. 385def4c47SEmmanuel Vadot 395def4c47SEmmanuel Vadot properties: 405def4c47SEmmanuel Vadot reg: 415def4c47SEmmanuel Vadot description: | 425def4c47SEmmanuel Vadot The channel number. LTC2992 can monitor two supplies. 435def4c47SEmmanuel Vadot items: 445def4c47SEmmanuel Vadot minimum: 0 455def4c47SEmmanuel Vadot maximum: 1 465def4c47SEmmanuel Vadot 475def4c47SEmmanuel Vadot shunt-resistor-micro-ohms: 485def4c47SEmmanuel Vadot description: 49*aa1a8ff2SEmmanuel Vadot The value of current sense resistor in microohms. 505def4c47SEmmanuel Vadot 515def4c47SEmmanuel Vadotrequired: 525def4c47SEmmanuel Vadot - compatible 535def4c47SEmmanuel Vadot - reg 545def4c47SEmmanuel Vadot 555def4c47SEmmanuel VadotadditionalProperties: false 565def4c47SEmmanuel Vadot 575def4c47SEmmanuel Vadotexamples: 585def4c47SEmmanuel Vadot - | 59cb7aa33aSEmmanuel Vadot i2c { 605def4c47SEmmanuel Vadot #address-cells = <1>; 615def4c47SEmmanuel Vadot #size-cells = <0>; 625def4c47SEmmanuel Vadot 63cb7aa33aSEmmanuel Vadot ltc2992@6f { 645def4c47SEmmanuel Vadot #address-cells = <1>; 655def4c47SEmmanuel Vadot #size-cells = <0>; 665def4c47SEmmanuel Vadot 675def4c47SEmmanuel Vadot compatible = "adi,ltc2992"; 68cb7aa33aSEmmanuel Vadot reg = <0x6f>; 695def4c47SEmmanuel Vadot 705def4c47SEmmanuel Vadot channel@0 { 715def4c47SEmmanuel Vadot reg = <0x0>; 725def4c47SEmmanuel Vadot shunt-resistor-micro-ohms = <10000>; 735def4c47SEmmanuel Vadot }; 745def4c47SEmmanuel Vadot 755def4c47SEmmanuel Vadot channel@1 { 765def4c47SEmmanuel Vadot reg = <0x1>; 775def4c47SEmmanuel Vadot shunt-resistor-micro-ohms = <10000>; 785def4c47SEmmanuel Vadot }; 795def4c47SEmmanuel Vadot }; 805def4c47SEmmanuel Vadot }; 815def4c47SEmmanuel Vadot... 82