xref: /openbmc/linux/drivers/clk/keystone/Kconfig (revision e4624435)
1# SPDX-License-Identifier: GPL-2.0-only
2config COMMON_CLK_KEYSTONE
3	tristate "Clock drivers for Keystone based SOCs"
4	depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
5	help
6	  Supports clock drivers for Keystone based SOCs. These SOCs have local
7	  a power sleep control module that gate the clock to the IPs and PLLs.
8
9config TI_SCI_CLK
10	tristate "TI System Control Interface clock drivers"
11	depends on (ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST) && OF
12	depends on TI_SCI_PROTOCOL
13	default ARCH_KEYSTONE
14	help
15	  This adds the clock driver support over TI System Control Interface.
16	  If you wish to use clock resources from the PMMC firmware, say Y.
17	  Otherwise, say N.
18
19config TI_SCI_CLK_PROBE_FROM_FW
20	bool "Probe available clocks from firmware"
21	depends on TI_SCI_CLK
22	default n
23	help
24	  Forces the TI SCI clock driver to probe available clocks from the
25	  firmware. By default, only the used clocks are probed from DT.
26	  This is mostly only useful for debugging purposes, and will
27	  increase the boot time of the device. If you want the clocks probed
28	  from firmware, say Y. Otherwise, say N.
29
30config TI_SYSCON_CLK
31	tristate "Syscon based clock driver for K2/K3 SoCs"
32	depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
33	default ARCH_KEYSTONE || ARCH_K3
34	help
35	  This adds clock driver support for syscon based gate
36	  clocks on TI's K2 and K3 SoCs.
37