Skip to content

Commit

Permalink
clk: ep93xx: add DT support for Cirrus EP93xx
Browse files Browse the repository at this point in the history
This is a rewrite of EP93xx timer driver in
arch/arm/mach-ep93xx/clock.c trying to do everything
the device tree way:

- convert to syscon driver
- provide clock acces via of

Co-developed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
  • Loading branch information
maquefel authored and intel-lab-lkp committed Apr 24, 2023
1 parent 8083ca4 commit 8621eda
Show file tree
Hide file tree
Showing 3 changed files with 889 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/clk/Kconfig
Expand Up @@ -436,6 +436,14 @@ config COMMON_CLK_K210
help
Support for the Canaan Kendryte K210 RISC-V SoC clocks.

config COMMON_CLK_EP93XX
bool "Clock driver for Cirrus Logic ep93xx SoC"
depends on ARCH_EP93XX || COMPILE_TEST
select MFD_SYSCON
select REGMAP
help
This driver supports the SoC clocks on the Cirrus Logic ep93xx.

source "drivers/clk/actions/Kconfig"
source "drivers/clk/analogbits/Kconfig"
source "drivers/clk/baikal-t1/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/Makefile
Expand Up @@ -29,6 +29,7 @@ obj-$(CONFIG_COMMON_CLK_CDCE706) += clk-cdce706.o
obj-$(CONFIG_COMMON_CLK_CDCE925) += clk-cdce925.o
obj-$(CONFIG_ARCH_CLPS711X) += clk-clps711x.o
obj-$(CONFIG_COMMON_CLK_CS2000_CP) += clk-cs2000-cp.o
obj-$(CONFIG_COMMON_CLK_EP93XX) += clk-ep93xx.o
obj-$(CONFIG_ARCH_SPARX5) += clk-sparx5.o
obj-$(CONFIG_COMMON_CLK_EN7523) += clk-en7523.o
obj-$(CONFIG_COMMON_CLK_FIXED_MMIO) += clk-fixed-mmio.o
Expand Down

0 comments on commit 8621eda

Please sign in to comment.