dt-bindings: clock: support i.MX93 ANATOP clock module
authorPeng Fan <peng.fan@nxp.com>
Tue, 21 Nov 2023 06:34:45 +0000 (14:34 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Tue, 5 Dec 2023 14:04:10 +0000 (16:04 +0200)
Support i.MX93 ANATOP module which contains PLL and OSC for Clock
Controller Module

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20231121063446.155300-1-peng.fan@oss.nxp.com
[abel.vesa@linaro.org: renamed to ANATOP instead of Analog]
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml b/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml
new file mode 100644 (file)
index 0000000..8a3b247
--- /dev/null
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/fsl,imx93-anatop.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP i.MX93 ANATOP Clock Module
+
+maintainers:
+  - Peng Fan <peng.fan@nxp.com>
+
+description: |
+  NXP i.MX93 ANATOP module which contains PLL and OSC to Clock Controller
+  Module.
+
+properties:
+  compatible:
+    items:
+      - const: fsl,imx93-anatop
+
+  reg:
+    maxItems: 1
+
+  '#clock-cells':
+    const: 1
+
+required:
+  - compatible
+  - reg
+  - '#clock-cells'
+
+additionalProperties: false
+
+examples:
+  - |
+    clock-controller@44480000 {
+        compatible = "fsl,imx93-anatop";
+        reg = <0x44480000 0x2000>;
+        #clock-cells = <1>;
+    };
+
+...