[PATCH 16/28] dt-bindings: dpll: Add support for Microchip Azurite chip family

From: Ivan Vecera
Date: Mon Apr 07 2025 - 13:37:16 EST


This adds DT bindings schema for Microchip Azurite DPLL chip family.
These bindings are used by zl3073x driver and specifies this device
that can be connected either to I2C or SPI bus.

The schema inherits existing dpll-device and dpll-pin schemas.

Reviewed-by: Michal Schmidt <mschmidt@xxxxxxxxxx>
Signed-off-by: Ivan Vecera <ivecera@xxxxxxxxxx>
---
.../bindings/dpll/microchip,zl3073x.yaml | 74 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 75 insertions(+)
create mode 100644 Documentation/devicetree/bindings/dpll/microchip,zl3073x.yaml

diff --git a/Documentation/devicetree/bindings/dpll/microchip,zl3073x.yaml b/Documentation/devicetree/bindings/dpll/microchip,zl3073x.yaml
new file mode 100644
index 0000000000000..38a6cc00bc026
--- /dev/null
+++ b/Documentation/devicetree/bindings/dpll/microchip,zl3073x.yaml
@@ -0,0 +1,74 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/dpll/microchip,zl3073x.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Microchip Azurite DPLL device
+
+maintainers:
+ - Ivan Vecera <ivecera@xxxxxxxxxx>
+
+properties:
+ compatible:
+ enum:
+ - microchip,zl3073x-i2c
+ - microchip,zl3073x-spi
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+allOf:
+ - $ref: /schemas/dpll/dpll-device.yaml
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ dpll@70 {
+ compatible = "microchip,zl3073x-i2c";
+ #address-cells = <0>;
+ #size-cells = <0>;
+ reg = <0x70>;
+ status = "okay";
+
+ num-dplls = <2>;
+ dpll-types = "pps", "eec";
+
+ input-pins {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pin@0 { /* REF0P */
+ reg = <0>;
+
+ label = "Input 0";
+ type = "ext";
+ supported-frequencies = /bits/ 64 <1 1000>;
+ };
+ };
+
+ output-pins {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pin@3 { /* OUT1N */
+ reg = <3>;
+
+ label = "Output 1";
+ type = "gnss";
+ esync-control;
+ supported-frequencies = /bits/ 64 <1 10000>;
+ };
+ };
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index eaf2576a9b746..ec86bec05c40c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16001,6 +16001,7 @@ M: Ivan Vecera <ivecera@xxxxxxxxxx>
M: Prathosh Satish <Prathosh.Satish@xxxxxxxxxxxxx>
L: netdev@xxxxxxxxxxxxxxx
S: Supported
+F: Documentation/devicetree/bindings/dpll/microchip,zl3073x.yaml
F: drivers/dpll/dpll_zl3073x*
F: drivers/mfd/zl3073x*
F: include/linux/mfd/zl3073x.h
--
2.48.1