xref: /openbmc/linux/drivers/clk/starfive/Kconfig (revision dae5448a)
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
52config CLK_STARFIVE_JH7110_STG
53	tristate "StarFive JH7110 System-Top-Group clock support"
54	depends on CLK_STARFIVE_JH7110_SYS
55	default m if ARCH_STARFIVE
56	help
57	  Say yes here to support the System-Top-Group clock controller
58	  on the StarFive JH7110 SoC.
59
60config CLK_STARFIVE_JH7110_ISP
61	tristate "StarFive JH7110 Image-Signal-Process clock support"
62	depends on CLK_STARFIVE_JH7110_SYS && JH71XX_PMU
63	default m if ARCH_STARFIVE
64	help
65	  Say yes here to support the Image-Signal-Process clock controller
66	  on the StarFive JH7110 SoC.
67
68config CLK_STARFIVE_JH7110_VOUT
69	tristate "StarFive JH7110 Video-Output clock support"
70	depends on CLK_STARFIVE_JH7110_SYS && JH71XX_PMU
71	default m if ARCH_STARFIVE
72	help
73	  Say yes here to support the Video-Output clock controller
74	  on the StarFive JH7110 SoC.
75