Skip to content

Commit bd6ada5

Browse files
robherringbebarino
authored andcommitted
dt-bindings: clock: Convert axis,artpec6-clkctrl to DT schema
Convert the Axis ARTPEC-6 clock controller 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/20250521004647.1792464-1-robh@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 4a7d79c commit bd6ada5

2 files changed

Lines changed: 55 additions & 41 deletions

File tree

Documentation/devicetree/bindings/clock/artpec6.txt

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/axis,artpec6-clkctrl.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Axis ARTPEC-6 clock controller
8+
9+
maintainers:
10+
- Lars Persson <lars.persson@axis.com>
11+
12+
properties:
13+
compatible:
14+
const: axis,artpec6-clkctrl
15+
16+
reg:
17+
maxItems: 1
18+
19+
"#clock-cells":
20+
const: 1
21+
22+
clocks:
23+
minItems: 1
24+
items:
25+
- description: external 50 MHz oscillator.
26+
- description: optional audio reference clock.
27+
- description: fractional audio clock divider 0.
28+
- description: fractional audio clock divider 1.
29+
30+
clock-names:
31+
minItems: 1
32+
items:
33+
- const: sys_refclk
34+
- const: i2s_refclk
35+
- const: frac_clk0
36+
- const: frac_clk1
37+
38+
required:
39+
- compatible
40+
- reg
41+
- "#clock-cells"
42+
- clocks
43+
- clock-names
44+
45+
additionalProperties: false
46+
47+
examples:
48+
- |
49+
clock-controller@f8000000 {
50+
compatible = "axis,artpec6-clkctrl";
51+
reg = <0xf8000000 0x48>;
52+
#clock-cells = <1>;
53+
clocks = <&ext_clk>;
54+
clock-names = "sys_refclk";
55+
};

0 commit comments

Comments
 (0)