~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/iio/frequency/adi,adf4350.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/iio/frequency/adi,adf4350.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Analog Devices ADF4350/ADF4351 wideband synthesizer
  8 
  9 maintainers:
 10   - Michael Hennerich <michael.hennerich@analog.com>
 11 
 12 properties:
 13   compatible:
 14     enum:
 15       - adi,adf4350
 16       - adi,adf4351
 17 
 18   reg:
 19     maxItems: 1
 20 
 21   spi-max-frequency:
 22     maximum: 20000000
 23 
 24   clocks:
 25     maxItems: 1
 26     description: Clock to provide CLKIN reference clock signal.
 27 
 28   clock-names:
 29     const: clkin
 30 
 31   '#clock-cells':
 32     const: 0
 33 
 34   clock-output-names:
 35     maxItems: 1
 36 
 37   gpios:
 38     maxItems: 1
 39     description: Lock detect GPIO.
 40 
 41   adi,channel-spacing:
 42     $ref: /schemas/types.yaml#/definitions/uint32
 43     description:
 44       Channel spacing in Hz (influences MODULUS).
 45 
 46   adi,power-up-frequency:
 47     $ref: /schemas/types.yaml#/definitions/uint32
 48     description:
 49       If set the PLL tunes to this frequency (in Hz) on driver probe.
 50 
 51   adi,reference-div-factor:
 52     $ref: /schemas/types.yaml#/definitions/uint32
 53     description:
 54       If set the driver skips dynamic calculation and uses this default
 55       value instead.
 56 
 57   adi,reference-doubler-enable:
 58     $ref: /schemas/types.yaml#/definitions/flag
 59     description: Enables reference doubler.
 60 
 61   adi,reference-div2-enable:
 62     $ref: /schemas/types.yaml#/definitions/flag
 63     description: Enables reference divider.
 64 
 65   adi,phase-detector-polarity-positive-enable:
 66     $ref: /schemas/types.yaml#/definitions/flag
 67     description: Enables positive phase detector polarity. Default negative.
 68 
 69   adi,lock-detect-precision-6ns-enable:
 70     $ref: /schemas/types.yaml#/definitions/flag
 71     description: Enables 6ns lock detect precision. Default = 10ns.
 72 
 73   adi,lock-detect-function-integer-n-enable:
 74     $ref: /schemas/types.yaml#/definitions/flag
 75     description:
 76       Enables lock detect for integer-N mode. Default = factional-N mode.
 77 
 78   adi,charge-pump-current:
 79     $ref: /schemas/types.yaml#/definitions/uint32
 80     description: Charge pump current in mA. Default = 2500mA.
 81 
 82   adi,muxout-select:
 83     $ref: /schemas/types.yaml#/definitions/uint32
 84     minimum: 0
 85     maximum: 6
 86     description: |
 87       On chip multiplexer output selection.
 88       Valid values for the multiplexer output are:
 89       0: Three-State Output (default)
 90       1: DVDD
 91       2: DGND
 92       3: R-Counter output
 93       4: N-Divider output
 94       5: Analog lock detect
 95       6: Digital lock detect
 96 
 97   adi,low-spur-mode-enable:
 98     $ref: /schemas/types.yaml#/definitions/flag
 99     description: Enables low spur mode. Default = Low noise mode.
100 
101   adi,cycle-slip-reduction-enable:
102     $ref: /schemas/types.yaml#/definitions/flag
103     description: Enables cycle slip reduction.
104 
105   adi,charge-cancellation-enable:
106     $ref: /schemas/types.yaml#/definitions/flag
107     description:
108       Enabled charge pump charge cancellation for integer-N modes.
109 
110   adi,anti-backlash-3ns-enable:
111     $ref: /schemas/types.yaml#/definitions/flag
112     description:
113       Enables 3ns antibacklash pulse width for integer-N modes.
114 
115   adi,band-select-clock-mode-high-enable:
116     $ref: /schemas/types.yaml#/definitions/flag
117     description: Enables faster band selection logic.
118 
119   adi,12bit-clk-divider:
120     $ref: /schemas/types.yaml#/definitions/uint32
121     description:
122       Clock divider value used when adi,12bit-clkdiv-mode != 0
123 
124   adi,clk-divider-mode:
125     $ref: /schemas/types.yaml#/definitions/uint32
126     enum: [0, 1, 2]
127     description: |
128       Valid values for the clkdiv mode are:
129       0: Clock divider off (default)
130       1: Fast lock enable
131       2: Phase resync enable
132 
133   adi,aux-output-enable:
134     $ref: /schemas/types.yaml#/definitions/flag
135     description: Enables auxiliary RF output.
136 
137   adi,aux-output-fundamental-enable:
138     $ref: /schemas/types.yaml#/definitions/flag
139     description: |
140       Selects fundamental VCO output on the auxiliary RF output.
141       Default = Output of RF dividers.
142 
143   adi,mute-till-lock-enable:
144     $ref: /schemas/types.yaml#/definitions/flag
145     description: Enables Mute-Till-Lock-Detect function.
146 
147   adi,output-power:
148     $ref: /schemas/types.yaml#/definitions/uint32
149     enum: [0, 1, 2, 3]
150     description: |
151       Output power selection.
152       Valid values for the power mode are:
153       0: -4dBm (default)
154       1: -1dBm
155       2: +2dBm
156       3: +5dBm
157 
158   adi,aux-output-power:
159     $ref: /schemas/types.yaml#/definitions/uint32
160     enum: [0, 1, 2, 3]
161     description: |
162       Auxiliary output power selection.
163       Valid values for the power mode are:
164       0: -4dBm (default)
165       1: -1dBm
166       2: +2dBm
167       3: +5dBm
168 
169 required:
170   - compatible
171   - reg
172   - clocks
173 
174 allOf:
175   - $ref: /schemas/spi/spi-peripheral-props.yaml#
176 
177 unevaluatedProperties: false
178 
179 examples:
180   - |
181     spi {
182         #address-cells = <1>;
183         #size-cells = <0>;
184 
185         pll@4 {
186             compatible = "adi,adf4351";
187             reg = <4>;
188             spi-max-frequency = <10000000>;
189             clocks = <&clk0_ad9523 9>;
190             clock-names = "clkin";
191             adi,channel-spacing = <10000>;
192             adi,power-up-frequency = <2400000000>;
193             adi,phase-detector-polarity-positive-enable;
194             adi,charge-pump-current = <2500>;
195             adi,output-power = <3>;
196             adi,mute-till-lock-enable;
197         };
198     };
199 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php