2023-11-21 06:31:16

by Peng Fan (OSS)

[permalink] [raw]
Subject: [PATCH V4 1/2] dt-bindings: clock: support i.MX93 Analog clock module

From: Peng Fan <[email protected]>

Support i.MX93 Analog module which contains PLL and OSC for Clock
Controller Module

Reviewed-by: Conor Dooley <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
---

V4:
Add R-b, typo update.
V3:
Rename back to fsl,imx93-anatop.yaml
V2:
Update subject and commit, rename file to fsl,imx93-analog.yaml

.../bindings/clock/fsl,imx93-anatop.yaml | 42 +++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml

diff --git a/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml b/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml
new file mode 100644
index 000000000000..253ed6c1c771
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml
@@ -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 Analog Clock Module
+
+maintainers:
+ - Peng Fan <[email protected]>
+
+description: |
+ NXP i.MX93 Analog 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>;
+ };
+
+...
--
2.37.1


2023-11-21 06:31:36

by Peng Fan (OSS)

[permalink] [raw]
Subject: [PATCH V4 2/2] arm64: dts: imx93: update analog node

From: Peng Fan <[email protected]>

The analog module produces PLL and OSC for Clock Controller Module. Since
the binding doc has been updated to clock-controller for this module,
Let's also update the device tree node.

Signed-off-by: Peng Fan <[email protected]>
---

V4:
None
V3:
None
V2:
Update subject/commit
Drop node alias

arch/arm64/boot/dts/freescale/imx93.dtsi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index ceccf4766440..235f1ae583e5 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -422,9 +422,10 @@ mediamix: power-domain@44462400 {
};
};

- anatop: anatop@44480000 {
- compatible = "fsl,imx93-anatop", "syscon";
+ clock-controller@44480000 {
+ compatible = "fsl,imx93-anatop";
reg = <0x44480000 0x2000>;
+ #clock-cells = <1>;
};

tmu: tmu@44482000 {
--
2.37.1

2023-12-05 13:58:38

by Abel Vesa

[permalink] [raw]
Subject: Re: [PATCH V4 1/2] dt-bindings: clock: support i.MX93 Analog clock module


On Tue, 21 Nov 2023 14:34:45 +0800, Peng Fan (OSS) wrote:
> Support i.MX93 Analog module which contains PLL and OSC for Clock
> Controller Module
>
>

Applied, thanks!

[1/2] dt-bindings: clock: support i.MX93 Analog clock module
commit: d24ffddd1071dd3bb348b010f1f9b780722ae90f

Best regards,
--
Abel Vesa <[email protected]>