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