Skip to content

Commit 616bc1d

Browse files
SFxingyuwuConchuOD
authored andcommitted
clk: starfive: Add StarFive JH7110 PLL clock driver
Add driver for the StarFive JH7110 PLL clock controller and they work by reading and setting syscon registers. Co-developed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent a097a5e commit 616bc1d

File tree

4 files changed

+522
-0
lines changed

4 files changed

+522
-0
lines changed

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20271,6 +20271,12 @@ S: Supported
2027120271
F: Documentation/devicetree/bindings/mmc/starfive*
2027220272
F: drivers/mmc/host/dw_mmc-starfive.c
2027320273

20274+
STARFIVE JH7110 PLL CLOCK DRIVER
20275+
M: Xingyu Wu <xingyu.wu@starfivetech.com>
20276+
S: Supported
20277+
F: Documentation/devicetree/bindings/clock/starfive,jh7110-pll.yaml
20278+
F: drivers/clk/starfive/clk-starfive-jh7110-pll.c
20279+
2027420280
STARFIVE JH7110 SYSCON
2027520281
M: William Qiu <william.qiu@starfivetech.com>
2027620282
M: Xingyu Wu <xingyu.wu@starfivetech.com>

drivers/clk/starfive/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ config CLK_STARFIVE_JH7100_AUDIO
2121
Say Y or M here to support the audio clocks on the StarFive JH7100
2222
SoC.
2323

24+
config CLK_STARFIVE_JH7110_PLL
25+
bool "StarFive JH7110 PLL clock support"
26+
depends on ARCH_STARFIVE || COMPILE_TEST
27+
default ARCH_STARFIVE
28+
help
29+
Say yes here to support the PLL clock controller on the
30+
StarFive JH7110 SoC.
31+
2432
config CLK_STARFIVE_JH7110_SYS
2533
bool "StarFive JH7110 system clock support"
2634
depends on ARCH_STARFIVE || COMPILE_TEST

drivers/clk/starfive/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ obj-$(CONFIG_CLK_STARFIVE_JH71X0) += clk-starfive-jh71x0.o
44
obj-$(CONFIG_CLK_STARFIVE_JH7100) += clk-starfive-jh7100.o
55
obj-$(CONFIG_CLK_STARFIVE_JH7100_AUDIO) += clk-starfive-jh7100-audio.o
66

7+
obj-$(CONFIG_CLK_STARFIVE_JH7110_PLL) += clk-starfive-jh7110-pll.o
78
obj-$(CONFIG_CLK_STARFIVE_JH7110_SYS) += clk-starfive-jh7110-sys.o
89
obj-$(CONFIG_CLK_STARFIVE_JH7110_AON) += clk-starfive-jh7110-aon.o

0 commit comments

Comments
 (0)