blob: e64d6726048f6528043ae2191bd84ac5e076d2db [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Tero Kristob745c072017-06-13 10:09:27 +03002config COMMON_CLK_KEYSTONE
3 tristate "Clock drivers for Keystone based SOCs"
4 depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09005 help
Tero Kristob745c072017-06-13 10:09:27 +03006 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"
Nishanth Menon2f149e62018-08-27 19:50:56 -050011 depends on (ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST) && OF
Arnd Bergmann682430e2017-06-20 22:12:37 +020012 depends on TI_SCI_PROTOCOL
13 default ARCH_KEYSTONE
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090014 help
Tero Kristob745c072017-06-13 10:09:27 +030015 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.
Tero Kristo8e48b332019-05-28 16:10:22 +030018
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.
Vignesh Raghavendra1aa08172020-02-27 11:05:29 +053029
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.