Skip to content

Commit 09d1855

Browse files
Alex Helmsbebarino
authored andcommitted
dt-bindings: Renesas versaclock7 device tree bindings
Renesas Versaclock7 is a family of configurable clock generator ICs with fractional and integer dividers. This driver has basic support for the RC21008A device, a clock synthesizer with a crystal input and 8 outputs. The supports changing the FOD and IOD rates, and each output can be gated. Signed-off-by: Alex Helms <alexander.helms.jy@renesas.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220912183613.22213-2-alexander.helms.jy@renesas.com Tested-by: Saeed Nowshadi <saeed.nowshadi@amd.com> [sboyd@kernel.org: Rename nodes in example to generic names] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 568035b commit 09d1855

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/renesas,versaclock7.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Renesas Versaclock7 Programmable Clock Device Tree Bindings
8+
9+
maintainers:
10+
- Alex Helms <alexander.helms.jy@renesas.com>
11+
12+
description: |
13+
Renesas Versaclock7 is a family of configurable clock generator and
14+
jitter attenuator ICs with fractional and integer dividers.
15+
16+
properties:
17+
'#clock-cells':
18+
const: 1
19+
20+
compatible:
21+
enum:
22+
- renesas,rc21008a
23+
24+
reg:
25+
maxItems: 1
26+
27+
clocks:
28+
items:
29+
- description: External crystal or oscillator
30+
31+
clock-names:
32+
items:
33+
- const: xin
34+
35+
required:
36+
- '#clock-cells'
37+
- compatible
38+
- reg
39+
- clocks
40+
- clock-names
41+
42+
additionalProperties: false
43+
44+
examples:
45+
- |
46+
vc7_xin: clock {
47+
compatible = "fixed-clock";
48+
#clock-cells = <0>;
49+
clock-frequency = <49152000>;
50+
};
51+
52+
i2c@0 {
53+
reg = <0x0 0x100>;
54+
#address-cells = <1>;
55+
#size-cells = <0>;
56+
57+
vc7: clock-controller@9 {
58+
compatible = "renesas,rc21008a";
59+
reg = <0x9>;
60+
#clock-cells = <1>;
61+
clocks = <&vc7_xin>;
62+
clock-names = "xin";
63+
};
64+
};

MAINTAINERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17441,6 +17441,11 @@ S: Maintained
1744117441
F: Documentation/devicetree/bindings/mtd/renesas-nandc.yaml
1744217442
F: drivers/mtd/nand/raw/renesas-nand-controller.c
1744317443

17444+
RENESAS VERSACLOCK 7 CLOCK DRIVER
17445+
M: Alex Helms <alexander.helms.jy@renesas.com>
17446+
S: Maintained
17447+
F: Documentation/devicetree/bindings/clock/renesas,versaclock7.yaml
17448+
1744417449
RESET CONTROLLER FRAMEWORK
1744517450
M: Philipp Zabel <p.zabel@pengutronix.de>
1744617451
S: Maintained

0 commit comments

Comments
 (0)