Skip to content

Commit 48c5e98

Browse files
Alex Helmsbebarino
authored andcommitted
clk: Renesas versaclock7 ccf device driver
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> Link: https://lore.kernel.org/r/20220912183613.22213-3-alexander.helms.jy@renesas.com Tested-by: Saeed Nowshadi <saeed.nowshadi@amd.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 09d1855 commit 48c5e98

File tree

4 files changed

+1322
-0
lines changed

4 files changed

+1322
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17445,6 +17445,7 @@ RENESAS VERSACLOCK 7 CLOCK DRIVER
1744517445
M: Alex Helms <alexander.helms.jy@renesas.com>
1744617446
S: Maintained
1744717447
F: Documentation/devicetree/bindings/clock/renesas,versaclock7.yaml
17448+
F: drivers/clk/clk-versaclock7.c
1744817449

1744917450
RESET CONTROLLER FRAMEWORK
1745017451
M: Philipp Zabel <p.zabel@pengutronix.de>

drivers/clk/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,15 @@ config COMMON_CLK_VC5
377377
This driver supports the IDT VersaClock 5 and VersaClock 6
378378
programmable clock generators.
379379

380+
config COMMON_CLK_VC7
381+
tristate "Clock driver for Renesas Versaclock 7 devices"
382+
depends on I2C
383+
depends on OF
384+
select REGMAP_I2C
385+
help
386+
Renesas Versaclock7 is a family of configurable clock generator
387+
and jitter attenuator ICs with fractional and integer dividers.
388+
380389
config COMMON_CLK_STM32MP135
381390
def_bool COMMON_CLK && MACH_STM32MP13
382391
help

drivers/clk/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ obj-$(CONFIG_CLK_TWL6040) += clk-twl6040.o
7373
obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o
7474
obj-$(CONFIG_COMMON_CLK_RS9_PCIE) += clk-renesas-pcie.o
7575
obj-$(CONFIG_COMMON_CLK_VC5) += clk-versaclock5.o
76+
obj-$(CONFIG_COMMON_CLK_VC7) += clk-versaclock7.o
7677
obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o
7778
obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o
7879

0 commit comments

Comments
 (0)