xref: /openbmc/linux/drivers/clk/keystone/Kconfig (revision a7f7f624)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2b745c079STero Kristoconfig COMMON_CLK_KEYSTONE
3b745c079STero Kristo	tristate "Clock drivers for Keystone based SOCs"
4b745c079STero Kristo	depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
5a7f7f624SMasahiro Yamada	help
6b745c079STero Kristo	  Supports clock drivers for Keystone based SOCs. These SOCs have local
7b745c079STero Kristo	  a power sleep control module that gate the clock to the IPs and PLLs.
8b745c079STero Kristo
9b745c079STero Kristoconfig TI_SCI_CLK
10b745c079STero Kristo	tristate "TI System Control Interface clock drivers"
112f149e6eSNishanth Menon	depends on (ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST) && OF
12682430e8SArnd Bergmann	depends on TI_SCI_PROTOCOL
13682430e8SArnd Bergmann	default ARCH_KEYSTONE
14a7f7f624SMasahiro Yamada	help
15b745c079STero Kristo	  This adds the clock driver support over TI System Control Interface.
16b745c079STero Kristo	  If you wish to use clock resources from the PMMC firmware, say Y.
17b745c079STero Kristo	  Otherwise, say N.
188e48b33fSTero Kristo
198e48b33fSTero Kristoconfig TI_SCI_CLK_PROBE_FROM_FW
208e48b33fSTero Kristo	bool "Probe available clocks from firmware"
218e48b33fSTero Kristo	depends on TI_SCI_CLK
228e48b33fSTero Kristo	default n
238e48b33fSTero Kristo	help
248e48b33fSTero Kristo	  Forces the TI SCI clock driver to probe available clocks from the
258e48b33fSTero Kristo	  firmware. By default, only the used clocks are probed from DT.
268e48b33fSTero Kristo	  This is mostly only useful for debugging purposes, and will
278e48b33fSTero Kristo	  increase the boot time of the device. If you want the clocks probed
288e48b33fSTero Kristo	  from firmware, say Y. Otherwise, say N.
291aa0817eSVignesh Raghavendra
301aa0817eSVignesh Raghavendraconfig TI_SYSCON_CLK
311aa0817eSVignesh Raghavendra	tristate "Syscon based clock driver for K2/K3 SoCs"
321aa0817eSVignesh Raghavendra	depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
331aa0817eSVignesh Raghavendra	default ARCH_KEYSTONE || ARCH_K3
341aa0817eSVignesh Raghavendra	help
351aa0817eSVignesh Raghavendra	  This adds clock driver support for syscon based gate
361aa0817eSVignesh Raghavendra	  clocks on TI's K2 and K3 SoCs.
37