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