1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2cb7aa33aSEmmanuel Vadot%YAML 1.2 3cb7aa33aSEmmanuel Vadot--- 4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/adi,ltc2945.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Analog Devices LTC2945 wide range i2c power monitor 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Guenter Roeck <linux@roeck-us.net> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel Vadotdescription: | 13cb7aa33aSEmmanuel Vadot Analog Devices LTC2945 wide range i2c power monitor over I2C. 14cb7aa33aSEmmanuel Vadot 15cb7aa33aSEmmanuel Vadot https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2945.pdf 16cb7aa33aSEmmanuel Vadot 17cb7aa33aSEmmanuel Vadotproperties: 18cb7aa33aSEmmanuel Vadot compatible: 19cb7aa33aSEmmanuel Vadot enum: 20cb7aa33aSEmmanuel Vadot - adi,ltc2945 21cb7aa33aSEmmanuel Vadot 22cb7aa33aSEmmanuel Vadot reg: 23cb7aa33aSEmmanuel Vadot maxItems: 1 24cb7aa33aSEmmanuel Vadot 25cb7aa33aSEmmanuel Vadot shunt-resistor-micro-ohms: 26cb7aa33aSEmmanuel Vadot description: 27cb7aa33aSEmmanuel Vadot Shunt resistor value in micro-Ohms 28cb7aa33aSEmmanuel Vadot default: 1000 29cb7aa33aSEmmanuel Vadot 30cb7aa33aSEmmanuel Vadotrequired: 31cb7aa33aSEmmanuel Vadot - compatible 32cb7aa33aSEmmanuel Vadot - reg 33cb7aa33aSEmmanuel Vadot 34*01950c46SEmmanuel VadotallOf: 35*01950c46SEmmanuel Vadot - $ref: hwmon-common.yaml# 36*01950c46SEmmanuel Vadot 37*01950c46SEmmanuel VadotunevaluatedProperties: false 38cb7aa33aSEmmanuel Vadot 39cb7aa33aSEmmanuel Vadotexamples: 40cb7aa33aSEmmanuel Vadot - | 41cb7aa33aSEmmanuel Vadot i2c { 42cb7aa33aSEmmanuel Vadot #address-cells = <1>; 43cb7aa33aSEmmanuel Vadot #size-cells = <0>; 44cb7aa33aSEmmanuel Vadot 45cb7aa33aSEmmanuel Vadot power-monitor@6e { 46cb7aa33aSEmmanuel Vadot compatible = "adi,ltc2945"; 47cb7aa33aSEmmanuel Vadot reg = <0x6e>; 48cb7aa33aSEmmanuel Vadot /* 10 milli-Ohm shunt resistor */ 49cb7aa33aSEmmanuel Vadot shunt-resistor-micro-ohms = <10000>; 50cb7aa33aSEmmanuel Vadot }; 51cb7aa33aSEmmanuel Vadot }; 52cb7aa33aSEmmanuel Vadot... 53