Skip to content

Commit 7513cc3

Browse files
robherringbebarino
authored andcommitted
dt-bindings: clock: Convert silabs,si570 to DT schema
Convert the Silicon Labs SI570 binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250804222010.4082782-1-robh@kernel.org Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent b02011c commit 7513cc3

2 files changed

Lines changed: 80 additions & 41 deletions

File tree

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

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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,si570.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Silicon Labs Si570/Si571/Si598/Si599 programmable I2C clock generator
8+
9+
maintainers:
10+
- Soren Brinkmann <soren.brinkmann@xilinx.com>
11+
12+
description: >
13+
Silicon Labs 570, 571, 598 and 599 programmable I2C clock generators. Details
14+
about the devices can be found in the data sheets[1][2].
15+
16+
[1] Si570/571 Data Sheet
17+
https://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf
18+
[2] Si598/599 Data Sheet
19+
https://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf
20+
21+
properties:
22+
compatible:
23+
enum:
24+
- silabs,si570
25+
- silabs,si571
26+
- silabs,si598
27+
- silabs,si599
28+
29+
reg:
30+
maxItems: 1
31+
32+
'#clock-cells':
33+
const: 0
34+
35+
factory-fout:
36+
description: Factory-set default frequency in Hz.
37+
$ref: /schemas/types.yaml#/definitions/uint32
38+
39+
temperature-stability:
40+
description: Temperature stability of the device in PPM.
41+
$ref: /schemas/types.yaml#/definitions/uint32
42+
enum:
43+
- 7
44+
- 20
45+
- 50
46+
- 100
47+
48+
clock-output-names:
49+
maxItems: 1
50+
51+
clock-frequency:
52+
description: Output frequency to generate at boot; can be reprogrammed at runtime.
53+
54+
silabs,skip-recall:
55+
description: Skip the NVM-to-RAM recall operation during boot.
56+
type: boolean
57+
58+
required:
59+
- compatible
60+
- reg
61+
- '#clock-cells'
62+
- factory-fout
63+
- temperature-stability
64+
65+
additionalProperties: false
66+
67+
examples:
68+
- |
69+
i2c {
70+
#address-cells = <1>;
71+
#size-cells = <0>;
72+
73+
clock-generator@5d {
74+
compatible = "silabs,si570";
75+
reg = <0x5d>;
76+
#clock-cells = <0>;
77+
temperature-stability = <50>;
78+
factory-fout = <156250000>;
79+
};
80+
};

0 commit comments

Comments
 (0)