Skip to content

Commit 8e972af

Browse files
zonquebebarino
authored andcommitted
dt-bindings: clock: convert cs2000-cp bindings to yaml
The original author of the file was added as maintainer. Signed-off-by: Daniel Mack <daniel@zonque.org> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220125093336.226787-2-daniel@zonque.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent e783362 commit 8e972af

2 files changed

Lines changed: 63 additions & 22 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/cirrus,cs2000-cp.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Binding CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier
8+
9+
maintainers:
10+
- Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11+
12+
description: |
13+
The CS2000-CP is an extremely versatile system clocking device that
14+
utilizes a programmable phase lock loop.
15+
16+
Link: https://www.cirrus.com/products/cs2000/
17+
18+
properties:
19+
compatible:
20+
enum:
21+
- cirrus,cs2000-cp
22+
23+
clocks:
24+
description:
25+
Common clock binding for CLK_IN, XTI/REF_CLK
26+
minItems: 2
27+
maxItems: 2
28+
29+
clock-names:
30+
items:
31+
- const: clk_in
32+
- const: ref_clk
33+
34+
'#clock-cells':
35+
const: 0
36+
37+
reg:
38+
maxItems: 1
39+
40+
required:
41+
- compatible
42+
- reg
43+
- clocks
44+
- clock-names
45+
- '#clock-cells'
46+
47+
additionalProperties: false
48+
49+
examples:
50+
- |
51+
i2c@0 {
52+
reg = <0x0 0x100>;
53+
#address-cells = <1>;
54+
#size-cells = <0>;
55+
56+
clock-controller@4f {
57+
#clock-cells = <0>;
58+
compatible = "cirrus,cs2000-cp";
59+
reg = <0x4f>;
60+
clocks = <&rcar_sound 0>, <&x12_clk>;
61+
clock-names = "clk_in", "ref_clk";
62+
};
63+
};

Documentation/devicetree/bindings/clock/cs2000-cp.txt

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

0 commit comments

Comments
 (0)