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,ad5766.yaml (1403B)


      1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
      2# Copyright 2020 Analog Devices Inc.
      3%YAML 1.2
      4---
      5$id: http://devicetree.org/schemas/iio/dac/adi,ad5766.yaml#
      6$schema: http://devicetree.org/meta-schemas/core.yaml#
      7
      8title: Analog Devices AD5766 DAC device driver
      9
     10maintainers:
     11  - Cristian Pop <cristian.pop@analog.com>
     12
     13description: |
     14  Bindings for the Analog Devices AD5766 current DAC device. Datasheet can be
     15  found here:
     16    https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf
     17
     18properties:
     19  compatible:
     20    enum:
     21      - adi,ad5766
     22      - adi,ad5767
     23
     24  output-range-microvolts:
     25    description: Select converter output range.
     26
     27  reg:
     28    maxItems: 1
     29
     30  spi-max-frequency:
     31    maximum: 1000000
     32
     33  spi-cpol: true
     34
     35  reset-gpios:
     36    description: GPIO spec for the RESET pin. As the line is active low, it
     37      should be marked GPIO_ACTIVE_LOW.
     38    maxItems: 1
     39
     40required:
     41  - compatible
     42  - output-range-microvolts
     43  - reg
     44  - spi-max-frequency
     45  - spi-cpol
     46
     47additionalProperties: false
     48
     49examples:
     50  - |
     51    spi {
     52          #address-cells = <1>;
     53          #size-cells = <0>;
     54
     55          ad5766@0 {
     56              compatible = "adi,ad5766";
     57              output-range-microvolts = <(-5000000) 5000000>;
     58              reg = <0>;
     59              spi-cpol;
     60              spi-max-frequency = <1000000>;
     61              reset-gpios = <&gpio 22 0>;
     62            };
     63      };