devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 1/2] dt-bindings: clock: support i.MX93 Analog clock module
@ 2023-10-23  3:31 Peng Fan (OSS)
  2023-10-23  3:31 ` [PATCH V2 2/2] arm64: dts: imx93: update analog node Peng Fan (OSS)
  2023-10-23  6:21 ` [PATCH V2 1/2] dt-bindings: clock: support i.MX93 Analog clock module Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Fan (OSS) @ 2023-10-23  3:31 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, shawnguo, s.hauer,
	sboyd, abelvesa
  Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
	linux-clk, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

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

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

V2:
 Update subject and commit, rename file to fsl,imx93-analog.yaml

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

diff --git a/Documentation/devicetree/bindings/clock/fsl,imx93-analog.yaml b/Documentation/devicetree/bindings/clock/fsl,imx93-analog.yaml
new file mode 100644
index 000000000000..c026639fefa3
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/fsl,imx93-analog.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-analog.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP i.MX93 Analog Clock Module
+
+maintainers:
+  - Peng Fan <peng.fan@nxp.com>
+
+description: |
+  NXP i.MX93 Analog module which produces 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH V2 2/2] arm64: dts: imx93: update analog node
  2023-10-23  3:31 [PATCH V2 1/2] dt-bindings: clock: support i.MX93 Analog clock module Peng Fan (OSS)
@ 2023-10-23  3:31 ` Peng Fan (OSS)
  2023-10-23  6:21 ` [PATCH V2 1/2] dt-bindings: clock: support i.MX93 Analog clock module Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan (OSS) @ 2023-10-23  3:31 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, shawnguo, s.hauer,
	sboyd, abelvesa
  Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
	linux-clk, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

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 <peng.fan@nxp.com>
---

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH V2 1/2] dt-bindings: clock: support i.MX93 Analog clock module
  2023-10-23  3:31 [PATCH V2 1/2] dt-bindings: clock: support i.MX93 Analog clock module Peng Fan (OSS)
  2023-10-23  3:31 ` [PATCH V2 2/2] arm64: dts: imx93: update analog node Peng Fan (OSS)
@ 2023-10-23  6:21 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-10-23  6:21 UTC (permalink / raw)
  To: Peng Fan (OSS), robh+dt, krzysztof.kozlowski+dt, conor+dt,
	shawnguo, s.hauer, sboyd, abelvesa
  Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
	linux-clk, linux-kernel, Peng Fan

On 23/10/2023 05:31, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Support i.MX93 Analog module which produces PLL and OSC for Clock
> Controller Module
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> 
> V2:
>  Update subject and commit, rename file to fsl,imx93-analog.yaml
> 
>  .../bindings/clock/fsl,imx93-analog.yaml      | 42 +++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx93-analog.yaml
> 
> diff --git a/Documentation/devicetree/bindings/clock/fsl,imx93-analog.yaml b/Documentation/devicetree/bindings/clock/fsl,imx93-analog.yaml
> new file mode 100644
> index 000000000000..c026639fefa3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/fsl,imx93-analog.yaml

fsl,imx93-anatop.yaml


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-23  6:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23  3:31 [PATCH V2 1/2] dt-bindings: clock: support i.MX93 Analog clock module Peng Fan (OSS)
2023-10-23  3:31 ` [PATCH V2 2/2] arm64: dts: imx93: update analog node Peng Fan (OSS)
2023-10-23  6:21 ` [PATCH V2 1/2] dt-bindings: clock: support i.MX93 Analog clock module Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).