brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · 6401b0a Raw
53 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 monitor8 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.pdf16 17properties:18  compatible:19    enum:20      - adi,ltc294521 22  reg:23    maxItems: 124 25  shunt-resistor-micro-ohms:26    description:27      Shunt resistor value in micro-Ohms28    default: 100029 30required:31  - compatible32  - reg33 34allOf:35  - $ref: hwmon-common.yaml#36 37unevaluatedProperties: false38 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