Skip to content

Commit 8a6b7e2

Browse files
maquefelarndb
authored andcommitted
clk: ep93xx: add DT support for Cirrus EP93xx
Rewrite EP93xx clock driver located in arch/arm/mach-ep93xx/clock.c trying to do everything the device tree way: - provide clock acces via of - drop clk_hw_register_clkdev - drop init code and use module_auxiliary_driver 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> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent ede5bbe commit 8a6b7e2

3 files changed

Lines changed: 855 additions & 0 deletions

File tree

drivers/clk/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,14 @@ config COMMON_CLK_EN7523
218218
This driver provides the fixed clocks and gates present on Airoha
219219
ARM silicon.
220220

221+
config COMMON_CLK_EP93XX
222+
tristate "Clock driver for Cirrus Logic ep93xx SoC"
223+
depends on ARCH_EP93XX || COMPILE_TEST
224+
select AUXILIARY_BUS
225+
select REGMAP_MMIO
226+
help
227+
This driver supports the SoC clocks on the Cirrus Logic ep93xx.
228+
221229
config COMMON_CLK_FSL_FLEXSPI
222230
tristate "Clock driver for FlexSPI on Layerscape SoCs"
223231
depends on ARCH_LAYERSCAPE || COMPILE_TEST

drivers/clk/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ obj-$(CONFIG_COMMON_CLK_CDCE706) += clk-cdce706.o
3030
obj-$(CONFIG_COMMON_CLK_CDCE925) += clk-cdce925.o
3131
obj-$(CONFIG_ARCH_CLPS711X) += clk-clps711x.o
3232
obj-$(CONFIG_COMMON_CLK_CS2000_CP) += clk-cs2000-cp.o
33+
obj-$(CONFIG_COMMON_CLK_EP93XX) += clk-ep93xx.o
3334
obj-$(CONFIG_ARCH_SPARX5) += clk-sparx5.o
3435
obj-$(CONFIG_COMMON_CLK_EN7523) += clk-en7523.o
3536
obj-$(CONFIG_COMMON_CLK_FIXED_MMIO) += clk-fixed-mmio.o

0 commit comments

Comments
 (0)