Skip to content

Commit cc33289

Browse files
robherringbebarino
authored andcommitted
dt-bindings: clock: Convert marvell,armada-370-corediv-clock to DT schema
Convert the Marvell Armada 3xx Core Divider clock binding to DT schema format. Add the missing "marvell,armada-390-corediv-clock" compatible and "clock-output-names" property. Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent ed4ce1d commit cc33289

File tree

2 files changed

+52
-23
lines changed

2 files changed

+52
-23
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/marvell,armada-370-corediv-clock.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvell MVEBU Core Divider Clock
8+
9+
maintainers:
10+
- Andrew Lunn <[email protected]>
11+
- Gregory Clement <[email protected]>
12+
13+
properties:
14+
compatible:
15+
oneOf:
16+
- enum:
17+
- marvell,armada-370-corediv-clock
18+
- marvell,armada-375-corediv-clock
19+
- marvell,armada-380-corediv-clock
20+
- marvell,mv98dx3236-corediv-clock
21+
- items:
22+
- const: marvell,armada-390-corediv-clock
23+
- const: marvell,armada-380-corediv-clock
24+
25+
reg:
26+
maxItems: 1
27+
28+
"#clock-cells":
29+
const: 1
30+
31+
clocks:
32+
maxItems: 1
33+
34+
clock-output-names:
35+
maxItems: 1
36+
37+
required:
38+
- compatible
39+
- reg
40+
- "#clock-cells"
41+
- clocks
42+
43+
additionalProperties: false
44+
45+
examples:
46+
- |
47+
clock-controller@18740 {
48+
compatible = "marvell,armada-370-corediv-clock";
49+
reg = <0x18740 0xc>;
50+
#clock-cells = <1>;
51+
clocks = <&pll>;
52+
};

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

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

0 commit comments

Comments
 (0)