Skip to content

Commit 9919d2a

Browse files
robherringbebarino
authored andcommitted
dt-bindings: clock: Convert marvell,armada-3700-tbg-clock to DT schema
Convert the Marvell Armada 3700 TBG clock 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/20250521210826.61957-1-robh@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent e9a17ea commit 9919d2a

2 files changed

Lines changed: 54 additions & 27 deletions

File tree

Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/marvell,armada-3700-tbg-clock.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvell Armada 3700 Time Base Generator Clock
8+
9+
maintainers:
10+
- Andrew Lunn <andrew@lunn.ch>
11+
- Gregory Clement <gregory.clement@bootlin.com>
12+
13+
description: >
14+
Marvell Armada 37xx SoCs provide Time Base Generator clocks which are used as
15+
parent clocks for the peripheral clocks.
16+
17+
The TBG clock consumer should specify the desired clock by having the clock ID
18+
in its "clocks" phandle cell.
19+
20+
The following is a list of provided IDs and clock names on Armada 3700:
21+
22+
0 = TBG A P
23+
1 = TBG B P
24+
2 = TBG A S
25+
3 = TBG B S
26+
27+
properties:
28+
compatible:
29+
const: marvell,armada-3700-tbg-clock
30+
31+
reg:
32+
maxItems: 1
33+
34+
clocks:
35+
maxItems: 1
36+
37+
'#clock-cells':
38+
const: 1
39+
40+
required:
41+
- compatible
42+
- reg
43+
- '#clock-cells'
44+
45+
additionalProperties: false
46+
47+
examples:
48+
- |
49+
clock-controller@13200 {
50+
compatible = "marvell,armada-3700-tbg-clock";
51+
reg = <0x13200 0x1000>;
52+
clocks = <&xtalclk>;
53+
#clock-cells = <1>;
54+
};

0 commit comments

Comments
 (0)