mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 05:15:23 +02:00

The adf4378 provides only one output channel. Therefore there is only one gpio available to enable the output. Reflect that into the bindings using property conditions. Add product link for the adf4378. Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20240729095047.25040-2-antoniu.miclaus@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
103 lines
2.4 KiB
YAML
103 lines
2.4 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/frequency/adi,adf4377.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ADF4377 Microwave Wideband Synthesizer with Integrated VCO
|
|
|
|
maintainers:
|
|
- Antoniu Miclaus <antoniu.miclaus@analog.com>
|
|
- Dragos Bogdan <dragos.bogdan@analog.com>
|
|
|
|
description: |
|
|
The ADF4377 is a high performance, ultralow jitter, dual output integer-N
|
|
phased locked loop (PLL) with integrated voltage controlled oscillator (VCO)
|
|
ideally suited for data converter and mixed signal front end (MxFE) clock
|
|
applications.
|
|
|
|
https://www.analog.com/en/products/adf4377.html
|
|
https://www.analog.com/en/products/adf4378.html
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- adi,adf4377
|
|
- adi,adf4378
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
spi-max-frequency:
|
|
maximum: 10000000
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
clock-names:
|
|
description:
|
|
External clock that provides reference input frequency.
|
|
items:
|
|
- const: ref_in
|
|
|
|
chip-enable-gpios:
|
|
description:
|
|
GPIO that controls the Chip Enable Pin.
|
|
maxItems: 1
|
|
|
|
clk1-enable-gpios:
|
|
description:
|
|
GPIO that controls the Enable Clock 1 Output Buffer Pin.
|
|
maxItems: 1
|
|
|
|
clk2-enable-gpios:
|
|
description:
|
|
GPIO that controls the Enable Clock 2 Output Buffer Pin.
|
|
maxItems: 1
|
|
|
|
adi,muxout-select:
|
|
description:
|
|
On chip multiplexer output selection.
|
|
high_z - MUXOUT Pin set to high-Z.
|
|
lock_detect - MUXOUT Pin set to lock detector output.
|
|
muxout_low - MUXOUT Pin set to low.
|
|
f_div_rclk_2 - MUXOUT Pin set to fDIV_RCLK/2.
|
|
f_div_nclk_2 - MUXOUT Pin set to fDIV_NCLK/2.
|
|
muxout_high - MUXOUT Pin set to high.
|
|
enum: [high_z, lock_detect, muxout_low, f_div_rclk_2, f_div_nclk_2, muxout_high]
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
|
|
allOf:
|
|
- $ref: /schemas/spi/spi-peripheral-props.yaml#
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- adi,adf4378
|
|
then:
|
|
properties:
|
|
clk2-enable-gpios: false
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
spi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
frequency@0 {
|
|
compatible = "adi,adf4377";
|
|
reg = <0>;
|
|
spi-max-frequency = <10000000>;
|
|
clocks = <&adf4377_ref_in>;
|
|
clock-names = "ref_in";
|
|
};
|
|
};
|
|
...
|