Skip to content

Commit edab720

Browse files
esmilConchuOD
authored andcommitted
clk: starfive: Add StarFive JH7110 system clock driver
Add driver for the StarFive JH7110 system clock controller and register an auxiliary device for system reset controller which is named as "rst-sys". Tested-by: Tommaso Merciai <tomm.merciai@gmail.com> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Co-developed-by: Hal Feng <hal.feng@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent b6d7406 commit edab720

File tree

4 files changed

+514
-0
lines changed

4 files changed

+514
-0
lines changed

drivers/clk/starfive/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,14 @@ config CLK_STARFIVE_JH7100_AUDIO
2020
help
2121
Say Y or M here to support the audio clocks on the StarFive JH7100
2222
SoC.
23+
24+
config CLK_STARFIVE_JH7110_SYS
25+
bool "StarFive JH7110 system clock support"
26+
depends on ARCH_STARFIVE || COMPILE_TEST
27+
select AUXILIARY_BUS
28+
select CLK_STARFIVE_JH71X0
29+
select RESET_STARFIVE_JH7110
30+
default ARCH_STARFIVE
31+
help
32+
Say yes here to support the system clock controller on the
33+
StarFive JH7110 SoC.

drivers/clk/starfive/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ obj-$(CONFIG_CLK_STARFIVE_JH71X0) += clk-starfive-jh71x0.o
33

44
obj-$(CONFIG_CLK_STARFIVE_JH7100) += clk-starfive-jh7100.o
55
obj-$(CONFIG_CLK_STARFIVE_JH7100_AUDIO) += clk-starfive-jh7100-audio.o
6+
7+
obj-$(CONFIG_CLK_STARFIVE_JH7110_SYS) += clk-starfive-jh7110-sys.o

0 commit comments

Comments
 (0)