Skip to content

Commit 7d9e0b1

Browse files
elkablobebarino
authored andcommitted
dt-bindings: clk: fixed-mmio-clock: Convert to YAML
Convert the binding documentatoin for fixed-mmio-clock to YAML. Signed-off-by: Marek Behún <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 6880fa6 commit 7d9e0b1

File tree

2 files changed

+47
-24
lines changed

2 files changed

+47
-24
lines changed

Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/fixed-mmio-clock.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Binding for simple memory mapped IO fixed-rate clock sources
8+
9+
description:
10+
This binding describes a fixed-rate clock for which the frequency can
11+
be read from a single 32-bit memory mapped I/O register.
12+
13+
It was designed for test systems, like FPGA, not for complete,
14+
finished SoCs.
15+
16+
maintainers:
17+
- Jan Kotas <[email protected]>
18+
19+
properties:
20+
compatible:
21+
const: fixed-mmio-clock
22+
23+
reg:
24+
maxItems: 1
25+
26+
"#clock-cells":
27+
const: 0
28+
29+
clock-output-names:
30+
maxItems: 1
31+
32+
required:
33+
- compatible
34+
- reg
35+
- "#clock-cells"
36+
37+
additionalProperties: false
38+
39+
examples:
40+
- |
41+
sysclock: sysclock@fd020004 {
42+
compatible = "fixed-mmio-clock";
43+
#clock-cells = <0>;
44+
reg = <0xfd020004 0x4>;
45+
clock-output-names = "sysclk";
46+
};
47+
...

0 commit comments

Comments
 (0)