xref: /openbmc/linux/drivers/clk/starfive/Kconfig (revision a013e981)
1# SPDX-License-Identifier: GPL-2.0
2
3config CLK_STARFIVE_JH71X0
4	bool
5
6config CLK_STARFIVE_JH7100
7	bool "StarFive JH7100 clock support"
8	depends on ARCH_STARFIVE || COMPILE_TEST
9	select CLK_STARFIVE_JH71X0
10	default ARCH_STARFIVE
11	help
12	  Say yes here to support the clock controller on the StarFive JH7100
13	  SoC.
14
15config CLK_STARFIVE_JH7100_AUDIO
16	tristate "StarFive JH7100 audio clock support"
17	depends on CLK_STARFIVE_JH7100
18	select CLK_STARFIVE_JH71X0
19	default m if ARCH_STARFIVE
20	help
21	  Say Y or M here to support the audio clocks on the StarFive JH7100
22	  SoC.
23
24config 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
32config CLK_STARFIVE_JH7110_SYS
33	bool "StarFive JH7110 system clock support"
34	depends on ARCH_STARFIVE || COMPILE_TEST
35	select AUXILIARY_BUS
36	select CLK_STARFIVE_JH71X0
37	select RESET_STARFIVE_JH7110 if RESET_CONTROLLER
38	select CLK_STARFIVE_JH7110_PLL
39	default ARCH_STARFIVE
40	help
41	  Say yes here to support the system clock controller on the
42	  StarFive JH7110 SoC.
43
44config CLK_STARFIVE_JH7110_AON
45	tristate "StarFive JH7110 always-on clock support"
46	depends on CLK_STARFIVE_JH7110_SYS
47	default m if ARCH_STARFIVE
48	help
49	  Say yes here to support the always-on clock controller on the
50	  StarFive JH7110 SoC.
51