162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig CLK_STARFIVE_JH71X0
462306a36Sopenharmony_ci	bool
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig CLK_STARFIVE_JH7100
762306a36Sopenharmony_ci	bool "StarFive JH7100 clock support"
862306a36Sopenharmony_ci	depends on ARCH_STARFIVE || COMPILE_TEST
962306a36Sopenharmony_ci	select CLK_STARFIVE_JH71X0
1062306a36Sopenharmony_ci	default ARCH_STARFIVE
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  Say yes here to support the clock controller on the StarFive JH7100
1362306a36Sopenharmony_ci	  SoC.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciconfig CLK_STARFIVE_JH7100_AUDIO
1662306a36Sopenharmony_ci	tristate "StarFive JH7100 audio clock support"
1762306a36Sopenharmony_ci	depends on CLK_STARFIVE_JH7100
1862306a36Sopenharmony_ci	select CLK_STARFIVE_JH71X0
1962306a36Sopenharmony_ci	default m if ARCH_STARFIVE
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  Say Y or M here to support the audio clocks on the StarFive JH7100
2262306a36Sopenharmony_ci	  SoC.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig CLK_STARFIVE_JH7110_PLL
2562306a36Sopenharmony_ci	bool "StarFive JH7110 PLL clock support"
2662306a36Sopenharmony_ci	depends on ARCH_STARFIVE || COMPILE_TEST
2762306a36Sopenharmony_ci	default ARCH_STARFIVE
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  Say yes here to support the PLL clock controller on the
3062306a36Sopenharmony_ci	  StarFive JH7110 SoC.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciconfig CLK_STARFIVE_JH7110_SYS
3362306a36Sopenharmony_ci	bool "StarFive JH7110 system clock support"
3462306a36Sopenharmony_ci	depends on ARCH_STARFIVE || COMPILE_TEST
3562306a36Sopenharmony_ci	select AUXILIARY_BUS
3662306a36Sopenharmony_ci	select CLK_STARFIVE_JH71X0
3762306a36Sopenharmony_ci	select RESET_STARFIVE_JH7110 if RESET_CONTROLLER
3862306a36Sopenharmony_ci	select CLK_STARFIVE_JH7110_PLL
3962306a36Sopenharmony_ci	default ARCH_STARFIVE
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	  Say yes here to support the system clock controller on the
4262306a36Sopenharmony_ci	  StarFive JH7110 SoC.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ciconfig CLK_STARFIVE_JH7110_AON
4562306a36Sopenharmony_ci	tristate "StarFive JH7110 always-on clock support"
4662306a36Sopenharmony_ci	depends on CLK_STARFIVE_JH7110_SYS
4762306a36Sopenharmony_ci	default m if ARCH_STARFIVE
4862306a36Sopenharmony_ci	help
4962306a36Sopenharmony_ci	  Say yes here to support the always-on clock controller on the
5062306a36Sopenharmony_ci	  StarFive JH7110 SoC.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciconfig CLK_STARFIVE_JH7110_STG
5362306a36Sopenharmony_ci	tristate "StarFive JH7110 System-Top-Group clock support"
5462306a36Sopenharmony_ci	depends on CLK_STARFIVE_JH7110_SYS
5562306a36Sopenharmony_ci	default m if ARCH_STARFIVE
5662306a36Sopenharmony_ci	help
5762306a36Sopenharmony_ci	  Say yes here to support the System-Top-Group clock controller
5862306a36Sopenharmony_ci	  on the StarFive JH7110 SoC.
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ciconfig CLK_STARFIVE_JH7110_ISP
6162306a36Sopenharmony_ci	tristate "StarFive JH7110 Image-Signal-Process clock support"
6262306a36Sopenharmony_ci	depends on CLK_STARFIVE_JH7110_SYS && JH71XX_PMU
6362306a36Sopenharmony_ci	default m if ARCH_STARFIVE
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Say yes here to support the Image-Signal-Process clock controller
6662306a36Sopenharmony_ci	  on the StarFive JH7110 SoC.
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciconfig CLK_STARFIVE_JH7110_VOUT
6962306a36Sopenharmony_ci	tristate "StarFive JH7110 Video-Output clock support"
7062306a36Sopenharmony_ci	depends on CLK_STARFIVE_JH7110_SYS && JH71XX_PMU
7162306a36Sopenharmony_ci	default m if ARCH_STARFIVE
7262306a36Sopenharmony_ci	help
7362306a36Sopenharmony_ci	  Say yes here to support the Video-Output clock controller
7462306a36Sopenharmony_ci	  on the StarFive JH7110 SoC.
75