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,ad5761.yaml (1055B)


      1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
      2%YAML 1.2
      3---
      4$id: http://devicetree.org/schemas/iio/dac/adi,ad5761.yaml#
      5$schema: http://devicetree.org/meta-schemas/core.yaml#
      6
      7title: Analog Devices AD5761 and similar DACs
      8
      9maintainers:
     10  - Ricardo Ribalda <ribalda@kernel.org>
     11  - Jonathan Cameron <jic23@kernel.org>
     12
     13properties:
     14
     15  compatible:
     16    enum:
     17      - adi,ad5721
     18      - adi,ad5721r
     19      - adi,ad5761
     20      - adi,ad5761r
     21
     22  reg:
     23    maxItems: 1
     24
     25  spi-max-frequency: true
     26
     27  vref-supply:
     28    description: If not supplied, internal reference will be used.
     29
     30additionalProperties: false
     31
     32required:
     33  - compatible
     34  - reg
     35
     36allOf:
     37  - if:
     38      properties:
     39        compatible:
     40          contains:
     41            enum:
     42              - adi,ad5721
     43              - adi,ad5761
     44    then:
     45      required:
     46        - vref-supply
     47
     48examples:
     49  - |
     50    spi {
     51        #address-cells = <1>;
     52        #size-cells = <0>;
     53
     54        dac@0 {
     55            compatible = "adi,ad5721";
     56            reg = <0>;
     57            vref-supply = <&dac_vref>;
     58        };
     59    };
     60...