Skip to content

Commit 12fa3aa

Browse files
robherringbebarino
authored andcommitted
dt-bindings: clock: Convert marvell,armada-xp-cpu-clock to DT schema
Convert the Marvell Armada XP CPU 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/20250521210806.61286-1-robh@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent f139def commit 12fa3aa

2 files changed

Lines changed: 44 additions & 23 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
---
3+
$schema: http://devicetree.org/meta-schemas/core.yaml#
4+
$id: http://devicetree.org/schemas/clock/marvell,armada-xp-cpu-clock.yaml#
5+
6+
title: Marvell EBU CPU Clock
7+
8+
maintainers:
9+
- Andrew Lunn <andrew@lunn.ch>
10+
- Gregory Clement <gregory.clement@bootlin.com>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- marvell,armada-xp-cpu-clock
16+
- marvell,mv98dx3236-cpu-clock
17+
18+
reg:
19+
items:
20+
- description: Clock complex registers
21+
- description: PMU DFS registers
22+
23+
'#clock-cells':
24+
const: 1
25+
26+
clocks:
27+
maxItems: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
- '#clock-cells'
33+
- clocks
34+
35+
additionalProperties: false
36+
37+
examples:
38+
- |
39+
clock-controller@d0018700 {
40+
#clock-cells = <1>;
41+
compatible = "marvell,armada-xp-cpu-clock";
42+
reg = <0xd0018700 0xa0>, <0x1c054 0x10>;
43+
clocks = <&coreclk 1>;
44+
};

Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt

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

0 commit comments

Comments
 (0)