Skip to content

Commit d903f5c

Browse files
robherringbebarino
authored andcommitted
dt-bindings: clock: Convert silabs,si514/544 to DT schema
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> Link: https://lore.kernel.org/r/20250804222042.4083656-1-robh@kernel.org Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 8f5ae30 commit d903f5c

3 files changed

Lines changed: 54 additions & 49 deletions

File tree

Documentation/devicetree/bindings/clock/silabs,si514.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

Documentation/devicetree/bindings/clock/silabs,si544.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/silabs,si544.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Silicon Labs SI514/SI544 clock generator
8+
9+
maintainers:
10+
- Mike Looijmans <mike.looijmans@topic.nl>
11+
12+
description: >
13+
Silicon Labs 514/544 programmable I2C clock generator. Details about the device
14+
can be found in the datasheet:
15+
16+
https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf
17+
https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- silabs,si514
23+
- silabs,si544a
24+
- silabs,si544b
25+
- silabs,si544c
26+
27+
reg:
28+
maxItems: 1
29+
30+
"#clock-cells":
31+
const: 0
32+
33+
clock-output-names:
34+
maxItems: 1
35+
36+
required:
37+
- compatible
38+
- reg
39+
- "#clock-cells"
40+
41+
additionalProperties: false
42+
43+
examples:
44+
- |
45+
i2c {
46+
#address-cells = <1>;
47+
#size-cells = <0>;
48+
49+
clock-controller@55 {
50+
reg = <0x55>;
51+
#clock-cells = <0>;
52+
compatible = "silabs,si544b";
53+
};
54+
};

0 commit comments

Comments
 (0)