xref: /linux/Documentation/devicetree/bindings/iio/impedance-analyzer/adi,ad5933.yaml (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/impedance-analyzer/adi,ad5933.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices AD5933/AD5934 Impedance Converter, Network Analyzer
8
9maintainers:
10  - Marcelo Schmitt <marcelo.schmitt1@gmail.com>
11  - Gabriel Capella <gabriel@capella.pro>
12
13description: |
14  https://www.analog.com/media/en/technical-documentation/data-sheets/AD5933.pdf
15  https://www.analog.com/media/en/technical-documentation/data-sheets/AD5934.pdf
16
17properties:
18  compatible:
19    enum:
20      - adi,ad5933
21      - adi,ad5934
22
23  reg:
24    maxItems: 1
25
26  vdd-supply:
27    description: |
28      The regulator supply for DVDD, AVDD1 and AVDD2 when they
29      are connected together.  Used to calculate voltage scaling of measurement
30      channels.
31
32  clocks:
33    maxItems: 1
34
35  clock-names:
36    const: mclk
37
38additionalProperties: false
39
40required:
41  - compatible
42  - reg
43  - vdd-supply
44
45examples:
46  - |
47    i2c {
48        #address-cells = <1>;
49        #size-cells = <0>;
50
51        impedance-analyzer@d {
52            compatible = "adi,ad5933";
53            reg = <0x0d>;
54            vdd-supply = <&vdd_supply>;
55            clocks = <&ref_clk>;
56            clock-names = "mclk";
57        };
58    };
59...
60