1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/frequency/adi,admv1013.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ADMV1013 Microwave Upconverter
8
9maintainers:
10  - Antoniu Miclaus <antoniu.miclaus@analog.com>
11
12description: |
13   Wideband, microwave upconverter optimized for point to point microwave
14   radio designs operating in the 24 GHz to 44 GHz frequency range.
15
16   https://www.analog.com/en/products/admv1013.html
17
18properties:
19  compatible:
20    enum:
21      - adi,admv1013
22
23  reg:
24    maxItems: 1
25
26  spi-max-frequency:
27    maximum: 1000000
28
29  clocks:
30    description:
31      Definition of the external clock.
32    minItems: 1
33
34  clock-names:
35    items:
36      - const: lo_in
37
38  vcm-supply:
39    description:
40      Analog voltage regulator.
41
42  adi,detector-enable:
43    description:
44      Enable the Envelope Detector available at output pins VENV_P and
45      VENV_N. Disable to reduce power consumption.
46    type: boolean
47
48  adi,input-mode:
49    description:
50      Select the input mode.
51      iq - in-phase quadrature (I/Q) input
52      if - complex intermediate frequency (IF) input
53    enum: [iq, if]
54
55  adi,quad-se-mode:
56    description:
57      Switch the LO path from differential to single-ended operation.
58      se-neg - Single-Ended Mode, Negative Side Disabled.
59      se-pos - Single-Ended Mode, Positive Side Disabled.
60      diff - Differential Mode.
61    enum: [se-neg, se-pos, diff]
62
63  '#clock-cells':
64    const: 0
65
66required:
67  - compatible
68  - reg
69  - clocks
70  - clock-names
71  - vcm-supply
72
73additionalProperties: false
74
75examples:
76  - |
77    spi {
78      #address-cells = <1>;
79      #size-cells = <0>;
80      admv1013@0{
81        compatible = "adi,admv1013";
82        reg = <0>;
83        spi-max-frequency = <1000000>;
84        clocks = <&admv1013_lo>;
85        clock-names = "lo_in";
86        vcm-supply = <&vcm>;
87        adi,quad-se-mode = "diff";
88        adi,detector-enable;
89      };
90    };
91...
92