0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/impedance-analyzer/adi,ad5933.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Analog Devices AD5933/AD5934 Impedance Converter, Network Analyzer
0008
0009 maintainers:
0010 - Marcelo Schmitt <marcelo.schmitt1@gmail.com>
0011 - Gabriel Capella <gabriel@capella.pro>
0012
0013 description: |
0014 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5933.pdf
0015 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5934.pdf
0016
0017 properties:
0018 compatible:
0019 enum:
0020 - adi,ad5933
0021 - adi,ad5934
0022
0023 reg:
0024 maxItems: 1
0025
0026 vdd-supply:
0027 description: |
0028 The regulator supply for DVDD, AVDD1 and AVDD2 when they
0029 are connected together. Used to calculate voltage scaling of measurement
0030 channels.
0031
0032 clocks:
0033 maxItems: 1
0034
0035 clock-names:
0036 const: mclk
0037
0038 additionalProperties: false
0039
0040 required:
0041 - compatible
0042 - reg
0043 - vdd-supply
0044
0045 examples:
0046 - |
0047 i2c {
0048 #address-cells = <1>;
0049 #size-cells = <0>;
0050
0051 impedance-analyzer@d {
0052 compatible = "adi,ad5933";
0053 reg = <0x0d>;
0054 vdd-supply = <&vdd_supply>;
0055 clocks = <&ref_clk>;
0056 clock-names = "mclk";
0057 };
0058 };
0059 ...