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