162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig COMMON_CLK_KEYSTONE
362306a36Sopenharmony_ci	tristate "Clock drivers for Keystone based SOCs"
462306a36Sopenharmony_ci	depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  Supports clock drivers for Keystone based SOCs. These SOCs have local
762306a36Sopenharmony_ci	  a power sleep control module that gate the clock to the IPs and PLLs.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig TI_SCI_CLK
1062306a36Sopenharmony_ci	tristate "TI System Control Interface clock drivers"
1162306a36Sopenharmony_ci	depends on (ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST) && OF
1262306a36Sopenharmony_ci	depends on TI_SCI_PROTOCOL
1362306a36Sopenharmony_ci	default ARCH_KEYSTONE
1462306a36Sopenharmony_ci	help
1562306a36Sopenharmony_ci	  This adds the clock driver support over TI System Control Interface.
1662306a36Sopenharmony_ci	  If you wish to use clock resources from the PMMC firmware, say Y.
1762306a36Sopenharmony_ci	  Otherwise, say N.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig TI_SCI_CLK_PROBE_FROM_FW
2062306a36Sopenharmony_ci	bool "Probe available clocks from firmware"
2162306a36Sopenharmony_ci	depends on TI_SCI_CLK
2262306a36Sopenharmony_ci	default n
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Forces the TI SCI clock driver to probe available clocks from the
2562306a36Sopenharmony_ci	  firmware. By default, only the used clocks are probed from DT.
2662306a36Sopenharmony_ci	  This is mostly only useful for debugging purposes, and will
2762306a36Sopenharmony_ci	  increase the boot time of the device. If you want the clocks probed
2862306a36Sopenharmony_ci	  from firmware, say Y. Otherwise, say N.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciconfig TI_SYSCON_CLK
3162306a36Sopenharmony_ci	tristate "Syscon based clock driver for K2/K3 SoCs"
3262306a36Sopenharmony_ci	depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
3362306a36Sopenharmony_ci	default ARCH_KEYSTONE || ARCH_K3
3462306a36Sopenharmony_ci	help
3562306a36Sopenharmony_ci	  This adds clock driver support for syscon based gate
3662306a36Sopenharmony_ci	  clocks on TI's K2 and K3 SoCs.
37