* [PATCH] dt-bindings: clock: Convert silabs,si514/544 to DT schema
@ 2025-08-04 22:20 Rob Herring (Arm)
2025-08-05 9:03 ` Krzysztof Kozlowski
2025-08-13 18:01 ` Stephen Boyd
0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-08-04 22:20 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Krzysztof Kozlowski,
Conor Dooley, Mike Looijmans
Cc: linux-clk, devicetree, linux-kernel
Convert the Silicon Labs SI514 and SI544 bindings to DT schema format.
Combine the bindings into a single schema as they are the same.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../bindings/clock/silabs,si514.txt | 24 ---------
.../bindings/clock/silabs,si544.txt | 25 ---------
.../bindings/clock/silabs,si544.yaml | 54 +++++++++++++++++++
3 files changed, 54 insertions(+), 49 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/silabs,si514.txt
delete mode 100644 Documentation/devicetree/bindings/clock/silabs,si544.txt
create mode 100644 Documentation/devicetree/bindings/clock/silabs,si544.yaml
diff --git a/Documentation/devicetree/bindings/clock/silabs,si514.txt b/Documentation/devicetree/bindings/clock/silabs,si514.txt
deleted file mode 100644
index a4f28ec86f35..000000000000
--- a/Documentation/devicetree/bindings/clock/silabs,si514.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Binding for Silicon Labs 514 programmable I2C clock generator.
-
-Reference
-This binding uses the common clock binding[1]. Details about the device can be
-found in the datasheet[2].
-
-[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
-[2] Si514 datasheet
- https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf
-
-Required properties:
- - compatible: Shall be "silabs,si514"
- - reg: I2C device address.
- - #clock-cells: From common clock bindings: Shall be 0.
-
-Optional properties:
- - clock-output-names: From common clock bindings. Recommended to be "si514".
-
-Example:
- si514: clock-generator@55 {
- reg = <0x55>;
- #clock-cells = <0>;
- compatible = "silabs,si514";
- };
diff --git a/Documentation/devicetree/bindings/clock/silabs,si544.txt b/Documentation/devicetree/bindings/clock/silabs,si544.txt
deleted file mode 100644
index b86535b80920..000000000000
--- a/Documentation/devicetree/bindings/clock/silabs,si544.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Binding for Silicon Labs 544 programmable I2C clock generator.
-
-Reference
-This binding uses the common clock binding[1]. Details about the device can be
-found in the datasheet[2].
-
-[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
-[2] Si544 datasheet
- https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf
-
-Required properties:
- - compatible: One of "silabs,si514a", "silabs,si514b" "silabs,si514c" according
- to the speed grade of the chip.
- - reg: I2C device address.
- - #clock-cells: From common clock bindings: Shall be 0.
-
-Optional properties:
- - clock-output-names: From common clock bindings. Recommended to be "si544".
-
-Example:
- si544: clock-controller@55 {
- reg = <0x55>;
- #clock-cells = <0>;
- compatible = "silabs,si544b";
- };
diff --git a/Documentation/devicetree/bindings/clock/silabs,si544.yaml b/Documentation/devicetree/bindings/clock/silabs,si544.yaml
new file mode 100644
index 000000000000..f87e71867108
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/silabs,si544.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/silabs,si544.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Silicon Labs SI514/SI544 clock generator
+
+maintainers:
+ - Mike Looijmans <mike.looijmans@topic.nl>
+
+description: >
+ Silicon Labs 514/544 programmable I2C clock generator. Details about the device
+ can be found in the datasheet:
+
+ https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf
+ https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf
+
+properties:
+ compatible:
+ enum:
+ - silabs,si514
+ - silabs,si544a
+ - silabs,si544b
+ - silabs,si544c
+
+ reg:
+ maxItems: 1
+
+ "#clock-cells":
+ const: 0
+
+ clock-output-names:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - "#clock-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ clock-controller@55 {
+ reg = <0x55>;
+ #clock-cells = <0>;
+ compatible = "silabs,si544b";
+ };
+ };
--
2.47.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: clock: Convert silabs,si514/544 to DT schema
2025-08-04 22:20 [PATCH] dt-bindings: clock: Convert silabs,si514/544 to DT schema Rob Herring (Arm)
@ 2025-08-05 9:03 ` Krzysztof Kozlowski
2025-08-13 18:01 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-05 9:03 UTC (permalink / raw)
To: Rob Herring (Arm), Michael Turquette, Stephen Boyd,
Krzysztof Kozlowski, Conor Dooley, Mike Looijmans
Cc: linux-clk, devicetree, linux-kernel
On 05/08/2025 00:20, Rob Herring (Arm) wrote:
> Convert the Silicon Labs SI514 and SI544 bindings to DT schema format.
> Combine the bindings into a single schema as they are the same.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> .../bindings/clock/silabs,si514.txt | 24 ---------
> .../bindings/clock/silabs,si544.txt | 25 ---------
> .../bindings/clock/silabs,si544.yaml | 54 +++++++++++++++++++
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: clock: Convert silabs,si514/544 to DT schema
2025-08-04 22:20 [PATCH] dt-bindings: clock: Convert silabs,si514/544 to DT schema Rob Herring (Arm)
2025-08-05 9:03 ` Krzysztof Kozlowski
@ 2025-08-13 18:01 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2025-08-13 18:01 UTC (permalink / raw)
To: Conor Dooley, Krzysztof Kozlowski, Michael Turquette,
Mike Looijmans, Rob Herring
Cc: linux-clk, devicetree, linux-kernel
Quoting Rob Herring (Arm) (2025-08-04 15:20:40)
> Convert the Silicon Labs SI514 and SI544 bindings to DT schema format.
> Combine the bindings into a single schema as they are the same.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-13 18:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-04 22:20 [PATCH] dt-bindings: clock: Convert silabs,si514/544 to DT schema Rob Herring (Arm)
2025-08-05 9:03 ` Krzysztof Kozlowski
2025-08-13 18:01 ` 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).