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