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

dt-bindings: clock: Convert cirrus,ep7209-clk to DT schema

Convert the Cirrus EP7xxx (aka CLPS711x) 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/20250521004923.1795927-1-robh@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
add0c562 094e1118

+47 -19
+47
Documentation/devicetree/bindings/clock/cirrus,ep7209-clk.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/cirrus,ep7209-clk.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Cirrus Logic CLPS711X Clock Controller 8 + 9 + maintainers: 10 + - Alexander Shiyan <shc_work@mail.ru> 11 + 12 + description: 13 + See include/dt-bindings/clock/clps711x-clock.h for the full list of CLPS711X 14 + clock IDs. 15 + 16 + properties: 17 + compatible: 18 + items: 19 + - const: cirrus,ep7312-clk 20 + - const: cirrus,ep7209-clk 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + startup-frequency: 26 + description: Factory set CPU startup frequency in HZ. 27 + $ref: /schemas/types.yaml#/definitions/uint32 28 + 29 + "#clock-cells": 30 + const: 1 31 + 32 + required: 33 + - compatible 34 + - reg 35 + - startup-frequency 36 + - "#clock-cells" 37 + 38 + additionalProperties: false 39 + 40 + examples: 41 + - | 42 + clock-controller@80000000 { 43 + compatible = "cirrus,ep7312-clk", "cirrus,ep7209-clk"; 44 + reg = <0x80000000 0xc000>; 45 + #clock-cells = <1>; 46 + startup-frequency = <73728000>; 47 + };
-19
Documentation/devicetree/bindings/clock/clps711x-clock.txt
··· 1 - * Clock bindings for the Cirrus Logic CLPS711X CPUs 2 - 3 - Required properties: 4 - - compatible : Shall contain "cirrus,ep7209-clk". 5 - - reg : Address of the internal register set. 6 - - startup-frequency: Factory set CPU startup frequency in HZ. 7 - - #clock-cells : Should be <1>. 8 - 9 - The clock consumer should specify the desired clock by having the clock 10 - ID in its "clocks" phandle cell. See include/dt-bindings/clock/clps711x-clock.h 11 - for the full list of CLPS711X clock IDs. 12 - 13 - Example: 14 - clks: clks@80000000 { 15 - #clock-cells = <1>; 16 - compatible = "cirrus,ep7312-clk", "cirrus,ep7209-clk"; 17 - reg = <0x80000000 0xc000>; 18 - startup-frequency = <73728000>; 19 - };