# SPDX-License-Identifier: GPL-2.0-only
config SPRD_COMMON_CLK
	tristate "Clock support for Spreadtrum SoCs"
	depends on ARCH_SPRD || COMPILE_TEST
	default ARCH_SPRD
	select REGMAP_MMIO

if SPRD_COMMON_CLK

# SoC Drivers

config SPRD_SC9860_CLK
	tristate "Support for the Spreadtrum SC9860 clocks"

config SPRD_SC9863A_CLK
	tristate "Support for the Unisoc SC9863A clocks"
	help
	  Support for the global clock controller on sc9863a devices.
	  Say Y if you want to use peripheral devices on sc9863a SoC.

config SPRD_UMS512_CLK
	tristate "Support for the Unisoc UMS512 clocks"
	help
	  Support for the global clock controller on ums512 devices.
	  Say Y if you want to use peripheral devices on ums512 SoC.

config SPRD_UMS9230_CLK
	tristate "Support for the Unisoc UMS9230 clocks"
	help
	  Support for the global clock controller on ums9230 devices.
	  Say Y if you want to use peripheral devices on ums9230 SoC.

config SPRD_UMS9620_CLK
        tristate "Support for the Unisoc UMS9620 clocks"
        help
          Support for the global clock controller on ums9620 devices.
          Say Y if you want to use peripheral devices on ums9620 SoC.

config SPRD_SC7731E_CLK
	tristate "Support for the Unisoc SC7731E clocks"
	help
	  Support for the global clock controller on sc7731e devices.
	  Say Y if you want to use peripheral devices on sc7731e SoC.

config SPRD_SC9832E_CLK
	tristate "Support for the Unisoc SC9832E clocks"
	help
	  Support for the global clock controller on sc9832e devices.
	  Say Y if you want to use peripheral devices on sc9832e SoC.

config SPRD_UMS312_CLK
	tristate "Support for the Unisoc UMS312 clocks"
	help
	  Support for the global clock controller on ums312 devices.
	  Say Y if you want to use peripheral devices on ums312 SoC.
endif
