cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

adi,ltc2992.yaml (1666B)


      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,ltc2992.yaml#
      5$schema: http://devicetree.org/meta-schemas/core.yaml#
      6
      7title: Linear Technology 2992 Power Monitor
      8
      9maintainers:
     10  - Alexandru Tachici <alexandru.tachici@analog.com>
     11
     12description: |
     13  Linear Technology 2992 Dual Wide Range Power Monitor
     14  https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf
     15
     16properties:
     17  compatible:
     18    enum:
     19      - adi,ltc2992
     20
     21  reg:
     22    maxItems: 1
     23
     24  '#address-cells':
     25    const: 1
     26
     27  '#size-cells':
     28    const: 0
     29
     30  avcc-supply: true
     31
     32patternProperties:
     33  "^channel@([0-1])$":
     34    type: object
     35    description: |
     36      Represents the two supplies to be monitored.
     37
     38    properties:
     39      reg:
     40        description: |
     41          The channel number. LTC2992 can monitor two supplies.
     42        items:
     43          minimum: 0
     44          maximum: 1
     45
     46      shunt-resistor-micro-ohms:
     47        description:
     48          The value of curent sense resistor in microohms.
     49
     50required:
     51  - compatible
     52  - reg
     53
     54additionalProperties: false
     55
     56examples:
     57  - |
     58    i2c1 {
     59        #address-cells = <1>;
     60        #size-cells = <0>;
     61
     62        ltc2992@6F {
     63                #address-cells = <1>;
     64                #size-cells = <0>;
     65
     66                compatible = "adi,ltc2992";
     67                reg = <0x6F>;
     68
     69                channel@0 {
     70                        reg = <0x0>;
     71                        shunt-resistor-micro-ohms = <10000>;
     72                };
     73
     74                channel@1 {
     75                        reg = <0x1>;
     76                        shunt-resistor-micro-ohms = <10000>;
     77                };
     78        };
     79    };
     80...