Skip to content

Commit add0c56

Browse files
robherringbebarino
authored andcommitted
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>
1 parent 094e111 commit add0c56

2 files changed

Lines changed: 47 additions & 19 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
};

Documentation/devicetree/bindings/clock/clps711x-clock.txt

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

0 commit comments

Comments
 (0)