* [PATCH] dt-bindings: clock: Convert lsi,axm5516-clks to DT schema
@ 2025-05-21 21:07 Rob Herring (Arm)
2025-06-19 1:39 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-05-21 21:07 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Krzysztof Kozlowski,
Conor Dooley, Anders Berg
Cc: linux-clk, devicetree, linux-kernel
Convert the Intel/LSI AXM5516 clock binding to DT schema format. It's
a straight forward conversion.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../bindings/clock/lsi,axm5516-clks.txt | 29 -------------
.../bindings/clock/lsi,axm5516-clks.yaml | 43 +++++++++++++++++++
2 files changed, 43 insertions(+), 29 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt
create mode 100644 Documentation/devicetree/bindings/clock/lsi,axm5516-clks.yaml
diff --git a/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt b/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt
deleted file mode 100644
index 3ce97cfe999b..000000000000
--- a/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-AXM5516 clock driver bindings
------------------------------
-
-Required properties :
-- compatible : shall contain "lsi,axm5516-clks"
-- reg : shall contain base register location and length
-- #clock-cells : shall contain 1
-
-The consumer specifies the desired clock by having the clock ID in its "clocks"
-phandle cell. See <dt-bindings/clock/lsi,axxia-clock.h> for the list of
-supported clock IDs.
-
-Example:
-
- clks: clock-controller@2010020000 {
- compatible = "lsi,axm5516-clks";
- #clock-cells = <1>;
- reg = <0x20 0x10020000 0 0x20000>;
- };
-
- serial0: uart@2010080000 {
- compatible = "arm,pl011", "arm,primecell";
- reg = <0x20 0x10080000 0 0x1000>;
- interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clks AXXIA_CLK_PER>;
- clock-names = "apb_pclk";
- };
- };
-
diff --git a/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.yaml b/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.yaml
new file mode 100644
index 000000000000..7a792dbeffb3
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.yaml
@@ -0,0 +1,43 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright 2025 LSI
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/lsi,axm5516-clks.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: LSI AXM5516 Clock Controller
+
+maintainers:
+ - Anders Berg <anders.berg@lsi.com>
+
+description:
+ See <dt-bindings/clock/lsi,axxia-clock.h> for the list of supported clock IDs.
+
+properties:
+ compatible:
+ const: lsi,axm5516-clks
+
+ reg:
+ maxItems: 1
+
+ '#clock-cells':
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - '#clock-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ bus {
+ #address-cells = <2>;
+ #size-cells = <1>;
+ clock-controller@2010020000 {
+ compatible = "lsi,axm5516-clks";
+ #clock-cells = <1>;
+ reg = <0x20 0x10020000 0x20000>;
+ };
+ };
--
2.47.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: clock: Convert lsi,axm5516-clks to DT schema
2025-05-21 21:07 [PATCH] dt-bindings: clock: Convert lsi,axm5516-clks to DT schema Rob Herring (Arm)
@ 2025-06-19 1:39 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2025-06-19 1:39 UTC (permalink / raw)
To: Anders Berg, Conor Dooley, Krzysztof Kozlowski, Michael Turquette,
Rob Herring
Cc: linux-clk, devicetree, linux-kernel
Quoting Rob Herring (Arm) (2025-05-21 14:07:40)
> Convert the Intel/LSI AXM5516 clock binding to DT schema format. It's
> a straight forward conversion.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-19 1:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-21 21:07 [PATCH] dt-bindings: clock: Convert lsi,axm5516-clks to DT schema Rob Herring (Arm)
2025-06-19 1:39 ` Stephen Boyd
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).