xref: /openbmc/linux/Documentation/devicetree/bindings/iio/frequency/adi,adf4350.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
14f078dffSJonathan Cameron# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
24f078dffSJonathan Cameron%YAML 1.2
34f078dffSJonathan Cameron---
44f078dffSJonathan Cameron$id: http://devicetree.org/schemas/iio/frequency/adi,adf4350.yaml#
54f078dffSJonathan Cameron$schema: http://devicetree.org/meta-schemas/core.yaml#
64f078dffSJonathan Cameron
74f078dffSJonathan Camerontitle: Analog Devices ADF4350/ADF4351 wideband synthesizer
84f078dffSJonathan Cameron
94f078dffSJonathan Cameronmaintainers:
104f078dffSJonathan Cameron  - Michael Hennerich <michael.hennerich@analog.com>
114f078dffSJonathan Cameron
124f078dffSJonathan Cameronproperties:
134f078dffSJonathan Cameron  compatible:
144f078dffSJonathan Cameron    enum:
154f078dffSJonathan Cameron      - adi,adf4350
164f078dffSJonathan Cameron      - adi,adf4351
174f078dffSJonathan Cameron
184f078dffSJonathan Cameron  reg:
194f078dffSJonathan Cameron    maxItems: 1
204f078dffSJonathan Cameron
214f078dffSJonathan Cameron  spi-max-frequency:
224f078dffSJonathan Cameron    maximum: 20000000
234f078dffSJonathan Cameron
244f078dffSJonathan Cameron  clocks:
254f078dffSJonathan Cameron    maxItems: 1
264f078dffSJonathan Cameron    description: Clock to provide CLKIN reference clock signal.
274f078dffSJonathan Cameron
284f078dffSJonathan Cameron  clock-names:
294f078dffSJonathan Cameron    const: clkin
304f078dffSJonathan Cameron
314f078dffSJonathan Cameron  gpios:
324f078dffSJonathan Cameron    maxItems: 1
334f078dffSJonathan Cameron    description: Lock detect GPIO.
344f078dffSJonathan Cameron
354f078dffSJonathan Cameron  adi,channel-spacing:
364f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
374f078dffSJonathan Cameron    description:
384f078dffSJonathan Cameron      Channel spacing in Hz (influences MODULUS).
394f078dffSJonathan Cameron
404f078dffSJonathan Cameron  adi,power-up-frequency:
414f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
424f078dffSJonathan Cameron    description:
434f078dffSJonathan Cameron      If set the PLL tunes to this frequency (in Hz) on driver probe.
444f078dffSJonathan Cameron
454f078dffSJonathan Cameron  adi,reference-div-factor:
464f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
474f078dffSJonathan Cameron    description:
484f078dffSJonathan Cameron      If set the driver skips dynamic calculation and uses this default
494f078dffSJonathan Cameron      value instead.
504f078dffSJonathan Cameron
514f078dffSJonathan Cameron  adi,reference-doubler-enable:
524f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
534f078dffSJonathan Cameron    description: Enables reference doubler.
544f078dffSJonathan Cameron
554f078dffSJonathan Cameron  adi,reference-div2-enable:
564f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
574f078dffSJonathan Cameron    description: Enables reference divider.
584f078dffSJonathan Cameron
594f078dffSJonathan Cameron  adi,phase-detector-polarity-positive-enable:
604f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
614f078dffSJonathan Cameron    description: Enables positive phase detector polarity. Default negative.
624f078dffSJonathan Cameron
634f078dffSJonathan Cameron  adi,lock-detect-precision-6ns-enable:
644f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
654f078dffSJonathan Cameron    description: Enables 6ns lock detect precision. Default = 10ns.
664f078dffSJonathan Cameron
674f078dffSJonathan Cameron  adi,lock-detect-function-integer-n-enable:
684f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
694f078dffSJonathan Cameron    description:
704f078dffSJonathan Cameron      Enables lock detect for integer-N mode. Default = factional-N mode.
714f078dffSJonathan Cameron
724f078dffSJonathan Cameron  adi,charge-pump-current:
734f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
744f078dffSJonathan Cameron    description: Charge pump current in mA. Default = 2500mA.
754f078dffSJonathan Cameron
764f078dffSJonathan Cameron  adi,muxout-select:
774f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
784f078dffSJonathan Cameron    minimum: 0
794f078dffSJonathan Cameron    maximum: 6
804f078dffSJonathan Cameron    description: |
814f078dffSJonathan Cameron      On chip multiplexer output selection.
824f078dffSJonathan Cameron      Valid values for the multiplexer output are:
834f078dffSJonathan Cameron      0: Three-State Output (default)
844f078dffSJonathan Cameron      1: DVDD
854f078dffSJonathan Cameron      2: DGND
864f078dffSJonathan Cameron      3: R-Counter output
874f078dffSJonathan Cameron      4: N-Divider output
884f078dffSJonathan Cameron      5: Analog lock detect
894f078dffSJonathan Cameron      6: Digital lock detect
904f078dffSJonathan Cameron
914f078dffSJonathan Cameron  adi,low-spur-mode-enable:
924f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
934f078dffSJonathan Cameron    description: Enables low spur mode. Default = Low noise mode.
944f078dffSJonathan Cameron
954f078dffSJonathan Cameron  adi,cycle-slip-reduction-enable:
964f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
974f078dffSJonathan Cameron    description: Enables cycle slip reduction.
984f078dffSJonathan Cameron
994f078dffSJonathan Cameron  adi,charge-cancellation-enable:
1004f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
1014f078dffSJonathan Cameron    description:
1024f078dffSJonathan Cameron      Enabled charge pump charge cancellation for integer-N modes.
1034f078dffSJonathan Cameron
1044f078dffSJonathan Cameron  adi,anti-backlash-3ns-enable:
1054f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
1064f078dffSJonathan Cameron    description:
1074f078dffSJonathan Cameron      Enables 3ns antibacklash pulse width for integer-N modes.
1084f078dffSJonathan Cameron
1094f078dffSJonathan Cameron  adi,band-select-clock-mode-high-enable:
1104f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
1114f078dffSJonathan Cameron    description: Enables faster band selection logic.
1124f078dffSJonathan Cameron
1134f078dffSJonathan Cameron  adi,12bit-clk-divider:
1144f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
1154f078dffSJonathan Cameron    description:
1164f078dffSJonathan Cameron      Clock divider value used when adi,12bit-clkdiv-mode != 0
1174f078dffSJonathan Cameron
1184f078dffSJonathan Cameron  adi,clk-divider-mode:
1194f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
1204f078dffSJonathan Cameron    enum: [0, 1, 2]
1214f078dffSJonathan Cameron    description: |
1224f078dffSJonathan Cameron      Valid values for the clkdiv mode are:
1234f078dffSJonathan Cameron      0: Clock divider off (default)
1244f078dffSJonathan Cameron      1: Fast lock enable
1254f078dffSJonathan Cameron      2: Phase resync enable
1264f078dffSJonathan Cameron
1274f078dffSJonathan Cameron  adi,aux-output-enable:
1284f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
1294f078dffSJonathan Cameron    description: Enables auxiliary RF output.
1304f078dffSJonathan Cameron
1314f078dffSJonathan Cameron  adi,aux-output-fundamental-enable:
1324f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
1334f078dffSJonathan Cameron    description: |
1344f078dffSJonathan Cameron      Selects fundamental VCO output on the auxiliary RF output.
1354f078dffSJonathan Cameron      Default = Output of RF dividers.
1364f078dffSJonathan Cameron
1374f078dffSJonathan Cameron  adi,mute-till-lock-enable:
1384f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/flag
1394f078dffSJonathan Cameron    description: Enables Mute-Till-Lock-Detect function.
1404f078dffSJonathan Cameron
1414f078dffSJonathan Cameron  adi,output-power:
1424f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
1434f078dffSJonathan Cameron    enum: [0, 1, 2, 3]
1444f078dffSJonathan Cameron    description: |
1454f078dffSJonathan Cameron      Output power selection.
1464f078dffSJonathan Cameron      Valid values for the power mode are:
1474f078dffSJonathan Cameron      0: -4dBm (default)
1484f078dffSJonathan Cameron      1: -1dBm
1494f078dffSJonathan Cameron      2: +2dBm
1504f078dffSJonathan Cameron      3: +5dBm
1514f078dffSJonathan Cameron
1524f078dffSJonathan Cameron  adi,aux-output-power:
1534f078dffSJonathan Cameron    $ref: /schemas/types.yaml#/definitions/uint32
1544f078dffSJonathan Cameron    enum: [0, 1, 2, 3]
1554f078dffSJonathan Cameron    description: |
1564f078dffSJonathan Cameron      Auxiliary output power selection.
1574f078dffSJonathan Cameron      Valid values for the power mode are:
1584f078dffSJonathan Cameron      0: -4dBm (default)
1594f078dffSJonathan Cameron      1: -1dBm
1604f078dffSJonathan Cameron      2: +2dBm
1614f078dffSJonathan Cameron      3: +5dBm
1624f078dffSJonathan Cameron
1634f078dffSJonathan Cameronrequired:
1644f078dffSJonathan Cameron  - compatible
1654f078dffSJonathan Cameron  - reg
1664f078dffSJonathan Cameron  - clocks
1674f078dffSJonathan Cameron
168*00407a68SKrzysztof KozlowskiallOf:
169*00407a68SKrzysztof Kozlowski  - $ref: /schemas/spi/spi-peripheral-props.yaml#
170*00407a68SKrzysztof Kozlowski
171*00407a68SKrzysztof KozlowskiunevaluatedProperties: false
172*00407a68SKrzysztof Kozlowski
1734f078dffSJonathan Cameronexamples:
1744f078dffSJonathan Cameron  - |
1754f078dffSJonathan Cameron    spi {
1764f078dffSJonathan Cameron        #address-cells = <1>;
1774f078dffSJonathan Cameron        #size-cells = <0>;
1784f078dffSJonathan Cameron
1794f078dffSJonathan Cameron        pll@4 {
1804f078dffSJonathan Cameron            compatible = "adi,adf4351";
1814f078dffSJonathan Cameron            reg = <4>;
1824f078dffSJonathan Cameron            spi-max-frequency = <10000000>;
1834f078dffSJonathan Cameron            clocks = <&clk0_ad9523 9>;
1844f078dffSJonathan Cameron            clock-names = "clkin";
1854f078dffSJonathan Cameron            adi,channel-spacing = <10000>;
1864f078dffSJonathan Cameron            adi,power-up-frequency = <2400000000>;
1874f078dffSJonathan Cameron            adi,phase-detector-polarity-positive-enable;
1884f078dffSJonathan Cameron            adi,charge-pump-current = <2500>;
1894f078dffSJonathan Cameron            adi,output-power = <3>;
1904f078dffSJonathan Cameron            adi,mute-till-lock-enable;
1914f078dffSJonathan Cameron        };
1924f078dffSJonathan Cameron    };
1934f078dffSJonathan Cameron...
194