Skip to content

Commit 6e9aff5

Browse files
bijudasbebarino
authored andcommitted
clk: Add support for versa3 clock driver
Add support for Renesas versa3 clock driver(5p35023). The clock generator provides 6 output clocks. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20230705171000.85786-3-biju.das.jz@bp.renesas.com [sboyd@kernel.org: Add newline to printk] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent a03d23f commit 6e9aff5

File tree

3 files changed

+1153
-0
lines changed

3 files changed

+1153
-0
lines changed

drivers/clk/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,15 @@ config COMMON_CLK_SI521XX
385385
This driver supports the SkyWorks Si521xx PCIe clock generator
386386
models Si52144/Si52146/Si52147.
387387

388+
config COMMON_CLK_VC3
389+
tristate "Clock driver for Renesas VersaClock 3 devices"
390+
depends on I2C
391+
depends on OF
392+
select REGMAP_I2C
393+
help
394+
This driver supports the Renesas VersaClock 3 programmable clock
395+
generators.
396+
388397
config COMMON_CLK_VC5
389398
tristate "Clock driver for IDT VersaClock 5,6 devices"
390399
depends on I2C

drivers/clk/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ obj-$(CONFIG_CLK_TWL6040) += clk-twl6040.o
7676
obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o
7777
obj-$(CONFIG_COMMON_CLK_RS9_PCIE) += clk-renesas-pcie.o
7878
obj-$(CONFIG_COMMON_CLK_SI521XX) += clk-si521xx.o
79+
obj-$(CONFIG_COMMON_CLK_VC3) += clk-versaclock3.o
7980
obj-$(CONFIG_COMMON_CLK_VC5) += clk-versaclock5.o
8081
obj-$(CONFIG_COMMON_CLK_VC7) += clk-versaclock7.o
8182
obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o

0 commit comments

Comments
 (0)