xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,ad7293.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/adi,ad7293.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AD7293 12-Bit Power Amplifier Current Controller with ADC,
8       DACs, Temperature and Current Sensors
9
10maintainers:
11  - Antoniu Miclaus <antoniu.miclaus@analog.com>
12
13description: |
14   Power Amplifier drain current controller containing functionality
15   for general-purpose monitoring and control of current, voltage,
16   and temperature, integrated into a single chip solution with an
17   SPI-compatible interface.
18
19   https://www.analog.com/en/products/ad7293.html
20
21properties:
22  compatible:
23    enum:
24      - adi,ad7293
25
26  avdd-supply: true
27
28  vdrive-supply: true
29
30  reset-gpios:
31    maxItems: 1
32
33  reg:
34    maxItems: 1
35
36  spi-max-frequency:
37    maximum: 1000000
38
39required:
40  - compatible
41  - reg
42  - avdd-supply
43  - vdrive-supply
44
45additionalProperties: false
46
47examples:
48  - |
49    spi {
50      #address-cells = <1>;
51      #size-cells = <0>;
52      ad7293@0 {
53        compatible = "adi,ad7293";
54        reg = <0>;
55        spi-max-frequency = <1000000>;
56        avdd-supply = <&avdd>;
57        vdrive-supply = <&vdrive>;
58        reset-gpios = <&gpio 10 0>;
59      };
60    };
61...
62