18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig COMMON_CLK_KEYSTONE
38c2ecf20Sopenharmony_ci	tristate "Clock drivers for Keystone based SOCs"
48c2ecf20Sopenharmony_ci	depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
58c2ecf20Sopenharmony_ci	help
68c2ecf20Sopenharmony_ci	  Supports clock drivers for Keystone based SOCs. These SOCs have local
78c2ecf20Sopenharmony_ci	  a power sleep control module that gate the clock to the IPs and PLLs.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciconfig TI_SCI_CLK
108c2ecf20Sopenharmony_ci	tristate "TI System Control Interface clock drivers"
118c2ecf20Sopenharmony_ci	depends on (ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST) && OF
128c2ecf20Sopenharmony_ci	depends on TI_SCI_PROTOCOL
138c2ecf20Sopenharmony_ci	default ARCH_KEYSTONE
148c2ecf20Sopenharmony_ci	help
158c2ecf20Sopenharmony_ci	  This adds the clock driver support over TI System Control Interface.
168c2ecf20Sopenharmony_ci	  If you wish to use clock resources from the PMMC firmware, say Y.
178c2ecf20Sopenharmony_ci	  Otherwise, say N.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig TI_SCI_CLK_PROBE_FROM_FW
208c2ecf20Sopenharmony_ci	bool "Probe available clocks from firmware"
218c2ecf20Sopenharmony_ci	depends on TI_SCI_CLK
228c2ecf20Sopenharmony_ci	default n
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  Forces the TI SCI clock driver to probe available clocks from the
258c2ecf20Sopenharmony_ci	  firmware. By default, only the used clocks are probed from DT.
268c2ecf20Sopenharmony_ci	  This is mostly only useful for debugging purposes, and will
278c2ecf20Sopenharmony_ci	  increase the boot time of the device. If you want the clocks probed
288c2ecf20Sopenharmony_ci	  from firmware, say Y. Otherwise, say N.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig TI_SYSCON_CLK
318c2ecf20Sopenharmony_ci	tristate "Syscon based clock driver for K2/K3 SoCs"
328c2ecf20Sopenharmony_ci	depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
338c2ecf20Sopenharmony_ci	default ARCH_KEYSTONE || ARCH_K3
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  This adds clock driver support for syscon based gate
368c2ecf20Sopenharmony_ci	  clocks on TI's K2 and K3 SoCs.
37