Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
d903f5c6 8f5ae30d

+54 -49
-24
Documentation/devicetree/bindings/clock/silabs,si514.txt
··· 1 - Binding for Silicon Labs 514 programmable I2C clock generator. 2 - 3 - Reference 4 - This binding uses the common clock binding[1]. Details about the device can be 5 - found in the datasheet[2]. 6 - 7 - [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 8 - [2] Si514 datasheet 9 - https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf 10 - 11 - Required properties: 12 - - compatible: Shall be "silabs,si514" 13 - - reg: I2C device address. 14 - - #clock-cells: From common clock bindings: Shall be 0. 15 - 16 - Optional properties: 17 - - clock-output-names: From common clock bindings. Recommended to be "si514". 18 - 19 - Example: 20 - si514: clock-generator@55 { 21 - reg = <0x55>; 22 - #clock-cells = <0>; 23 - compatible = "silabs,si514"; 24 - };
-25
Documentation/devicetree/bindings/clock/silabs,si544.txt
··· 1 - Binding for Silicon Labs 544 programmable I2C clock generator. 2 - 3 - Reference 4 - This binding uses the common clock binding[1]. Details about the device can be 5 - found in the datasheet[2]. 6 - 7 - [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 8 - [2] Si544 datasheet 9 - https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf 10 - 11 - Required properties: 12 - - compatible: One of "silabs,si514a", "silabs,si514b" "silabs,si514c" according 13 - to the speed grade of the chip. 14 - - reg: I2C device address. 15 - - #clock-cells: From common clock bindings: Shall be 0. 16 - 17 - Optional properties: 18 - - clock-output-names: From common clock bindings. Recommended to be "si544". 19 - 20 - Example: 21 - si544: clock-controller@55 { 22 - reg = <0x55>; 23 - #clock-cells = <0>; 24 - compatible = "silabs,si544b"; 25 - };
+54
Documentation/devicetree/bindings/clock/silabs,si544.yaml
··· 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 + };