Skip to content

Commit 7021a86

Browse files
nxpfranklibebarino
authored andcommitted
dt-bindings: clock: convert vf610-clock.txt to yaml format
Convert vf610-clock.txt to yaml format. Additional changes: - swap audio_ext and enet_ext to match existed dts order - remove clock consumer in example Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20250411212339.3273202-1-Frank.Li@nxp.com Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 0af2f6b commit 7021a86

File tree

2 files changed

+58
-41
lines changed

2 files changed

+58
-41
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/fsl,vf610-ccm.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Clock for Freescale Vybrid VF610 SOC
8+
9+
description:
10+
The clock consumer should specify the desired clock by having the clock
11+
ID in its "clocks" phandle cell. See include/dt-bindings/clock/vf610-clock.h
12+
for the full list of VF610 clock IDs
13+
14+
maintainers:
15+
- Frank Li <Frank.Li@nxp.com>
16+
17+
properties:
18+
compatible:
19+
const: fsl,vf610-ccm
20+
21+
reg:
22+
maxItems: 1
23+
24+
'#clock-cells':
25+
const: 1
26+
27+
clocks:
28+
items:
29+
- description: external crystal oscillator 32KHz, recommended
30+
- description: external crystal oscillator 24MHz, recommended
31+
- description: audio
32+
- description: enet
33+
minItems: 2
34+
35+
clock-names:
36+
items:
37+
- const: sxosc
38+
- const: fxosc
39+
- const: enet_ext
40+
- const: audio_ext
41+
minItems: 2
42+
43+
required:
44+
- compatible
45+
- reg
46+
47+
additionalProperties: false
48+
49+
examples:
50+
- |
51+
clock-controller@4006b000 {
52+
compatible = "fsl,vf610-ccm";
53+
reg = <0x4006b000 0x1000>;
54+
#clock-cells = <1>;
55+
clocks = <&sxosc>, <&fxosc>;
56+
clock-names = "sxosc", "fxosc";
57+
};
58+

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

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

0 commit comments

Comments
 (0)