From: Ciprian Hegbeli <ciprian.hegbeli@analog.com>
To: Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Jonathan Cameron <jic23@kernel.org>,
"Rob Herring" <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
Javier Carrasco <javier.carrasco.cruz@gmail.com>,
Ciprian Hegbeli <ciprian.hegbeli@analog.com>,
Kim Seer Paller <kimseer.paller@analog.com>,
Antoniu Miclaus <antoniu.miclaus@analog.com>,
<linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 1/2] dt-bindings: iio: frequency: Add ADF4382
Date: Thu, 14 Nov 2024 15:03:10 +0200 [thread overview]
Message-ID: <20241114130340.7354-2-ciprian.hegbeli@analog.com> (raw)
In-Reply-To: <20241114130340.7354-1-ciprian.hegbeli@analog.com>
The ADF4382A is a high performance, ultralow jitter, Frac-N PLL
with integrated VCO ideally suited for LO generation for 5G applications
or data converter clock applications. The high performance
PLL has a figure of merit of -239 dBc/Hz, low 1/f Noise and
high PFD frequency of 625MHz in integer mode that can achieve
ultralow in-band noise and integrated jitter. The ADF4382A can
generate frequencies in a fundamental octave range of 11.5 GHz to
21 GHz, thereby eliminating the need for sub-harmonic filters. The
divide by 2 and 4 output dividers on the part allow frequencies to
be generated from 5.75GHz to 10.5GHz and 2.875GHz to 5.25GHz
respectively.
Signed-off-by: Ciprian Hegbeli <ciprian.hegbeli@analog.com>
---
.../bindings/iio/frequency/adi,adf4382.yaml | 141 ++++++++++++++++++
1 file changed, 141 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/frequency/adi,adf4382.yaml
diff --git a/Documentation/devicetree/bindings/iio/frequency/adi,adf4382.yaml b/Documentation/devicetree/bindings/iio/frequency/adi,adf4382.yaml
new file mode 100644
index 000000000000..44a29ac7a2e8
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/frequency/adi,adf4382.yaml
@@ -0,0 +1,141 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/frequency/adi,adf4382.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ADF4382 Microwave Wideband Synthesizer with Integrated VCO
+
+maintainers:
+ - Antoniu Miclaus <antoniu.miclaus@analog.com>
+ - Ciprian Hegbeli <ciprian.hegbeli@analog.com>
+
+description: The ADF4382 is a high performance, ultralow jitter, Frac-N PLL with
+ integrated VCO ideally suited for LO generation for 5G applications
+ or data converter clock applications.
+
+ https://www.analog.com/en/products/adf4382a.html
+
+properties:
+ compatible:
+ enum:
+ - adi,adf4382
+ - adi,adf4382a
+
+ reg:
+ maxItems: 1
+
+ spi-max-frequency:
+ maximum: 75000000
+
+ clocks:
+ description: Clock to provide CLKIN reference clock signal.
+ maxItems: 1
+
+ clock-names:
+ description:
+ External clock that provides reference input frequency.
+ items:
+ - const: ref_clk
+
+ '#clock-cells':
+ const: 0
+
+ clock-output-names:
+ maxItems: 1
+
+ adi,charge-pump-microamp:
+ description:
+ The charge pump current that the external loop filter was designed for.
+ If this property is not specified, then the charge pump current is set to the
+ default 11100uA. The valid values are listed below. However, if the set value is
+ not supported, the driver will look for the closest valid charge pump current.
+ anyOf:
+ - enum: [790, 990, 1190, 1380, 1590, 1980, 2390, 2790, 3180, 3970, 4770, 5570, 6330, 7910, 9510, 11100]
+
+ adi,ref-divider:
+ description:
+ Input divider of the reference frequency, cannot be lower then 1 or
+ higher then 63.
+ allOf:
+ - $ref: /schemas/types.yaml#/definitions/uint32
+ - minimum: 1
+ - maximum: 63
+ - default: 1
+ maxItems: 1
+
+ adi,ref-doubler-enable:
+ description:
+ Enables the doubling of the reference clock.
+ type: boolean
+ maxItems: 1
+
+ adi,bleed-word:
+ description:
+ A small programmable constant charge pump current, known as bleed current,
+ can be used to optimize the phase noise and fractional spurious signals
+ in fractional mode.
+ allOf:
+ - $ref: /schemas/types.yaml#/definitions/uint32
+ - minimum: 0
+ - maximum: 4095
+ - default: 0
+ maxItems: 1
+
+ adi,power-up-frequency:
+ description:
+ PLL tunes to the set frequency on probe or defaults to 2,305 GHz.
+ allOf:
+ - $ref: /schemas/types.yaml#/definitions/uint64
+ - minimum: 687500000
+ - maximum: 22000000000
+ - default: 2305000000
+ maxItems: 1
+
+ adi,output-power-value:
+ description:
+ The output power amplitude level which will be applied for both channels
+ at startup.
+ allOf:
+ - $ref: /schemas/types.yaml#/definitions/uint32
+ - minimum: 0
+ - maximum: 15
+ - default: 11
+ maxItems: 1
+
+ adi,spi-3wire-enable:
+ description:
+ Uses SPI in 3 wire mode, by default is uses 4 wire mode.
+ type: boolean
+ maxItems: 1
+
+ adi,cmos-3v3:
+ description:
+ Sets the SPI logic to 3.3V, by defautl it uses 1,8V.
+ type: boolean
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+
+additionalProperties: false
+
+examples:
+ - |
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ frequency@0 {
+ compatible = "adi,adf4382";
+ reg = <0>;
+ spi-max-frequency = <1000000>;
+ clocks = <&adf4382_clkin>;
+ clock-names = "ref_clk";
+ adi,charge-pump-current = <15>;
+ adi,ref-divider = <1>;
+ };
+ };
+...
--
2.43.0
next prev parent reply other threads:[~2024-11-14 13:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 13:03 [PATCH 0/2] Add support for ADF4382 Ciprian Hegbeli
2024-11-14 13:03 ` Ciprian Hegbeli [this message]
2024-11-14 13:49 ` [PATCH 1/2] dt-bindings: iio: frequency: Add ADF4382 Javier Carrasco
2024-11-14 13:59 ` Javier Carrasco
2024-11-14 14:35 ` Rob Herring (Arm)
2024-11-14 19:55 ` Conor Dooley
2024-11-25 20:04 ` Jonathan Cameron
2024-11-14 13:03 ` [PATCH 2/2] " Ciprian Hegbeli
2024-11-14 13:27 ` Javier Carrasco
2024-11-25 21:28 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241114130340.7354-2-ciprian.hegbeli@analog.com \
--to=ciprian.hegbeli@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=antoniu.miclaus@analog.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=javier.carrasco.cruz@gmail.com \
--cc=jic23@kernel.org \
--cc=kimseer.paller@analog.com \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox