summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/impedance-analyzer/adi,ad5933.yaml
blob: 2ad043554b9c32f87cbdc930d6afd1fcd5a11027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/impedance-analyzer/adi,ad5933.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Analog Devices AD5933/AD5934 Impedance Converter, Network Analyzer

maintainers:
  - Marcelo Schmitt <marcelo.schmitt1@gmail.com>
  - Gabriel Capella <gabriel@capella.pro>

description: |
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD5933.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD5934.pdf

properties:
  compatible:
    enum:
      - adi,ad5933
      - adi,ad5934

  reg:
    maxItems: 1

  vdd-supply:
    description: |
      The regulator supply for DVDD, AVDD1 and AVDD2 when they
      are connected together.  Used to calculate voltage scaling of measurement
      channels.

  clocks:
    maxItems: 1

  clock-names:
    const: mclk

additionalProperties: false

required:
  - compatible
  - reg
  - vdd-supply

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        impedance-analyzer@d {
            compatible = "adi,ad5933";
            reg = <0x0d>;
            vdd-supply = <&vdd_supply>;
            clocks = <&ref_clk>;
            clock-names = "mclk";
        };
    };
...