summaryrefslogtreecommitdiff
path: root/drivers/clk/keystone/Kconfig
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-06-13 10:09:27 +0300
committerStephen Boyd <sboyd@codeaurora.org>2017-06-14 19:05:07 +0300
commitb745c0794e2ff20c7589600f5fa904fc201bcc0c (patch)
treeaed42a4628a51692f56a4894651bc2acd195d83b /drivers/clk/keystone/Kconfig
parent8f306cfe438372c7e490b0511a75e068e215d17b (diff)
downloadlinux-b745c0794e2ff20c7589600f5fa904fc201bcc0c.tar.xz
clk: keystone: Add sci-clk driver support
In K2G, the clock handling is done through firmware executing on a separate core. Linux kernel needs to communicate to the firmware through TI system control interface to access any power management related resources, including clocks. The keystone sci-clk driver does this, by communicating to the firmware through the TI SCI driver. The driver adds support for registering clocks through DT, and basic required clock operations like prepare/get_rate, etc. Signed-off-by: Tero Kristo <t-kristo@ti.com> [sboyd@codeaurora.org: Make ti_sci_init_clocks() static] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/keystone/Kconfig')
-rw-r--r--drivers/clk/keystone/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/clk/keystone/Kconfig b/drivers/clk/keystone/Kconfig
new file mode 100644
index 000000000000..1fea328a36fe
--- /dev/null
+++ b/drivers/clk/keystone/Kconfig
@@ -0,0 +1,15 @@
+config COMMON_CLK_KEYSTONE
+ tristate "Clock drivers for Keystone based SOCs"
+ depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
+ ---help---
+ Supports clock drivers for Keystone based SOCs. These SOCs have local
+ a power sleep control module that gate the clock to the IPs and PLLs.
+
+config TI_SCI_CLK
+ tristate "TI System Control Interface clock drivers"
+ depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
+ default TI_SCI_PROTOCOL
+ ---help---
+ This adds the clock driver support over TI System Control Interface.
+ If you wish to use clock resources from the PMMC firmware, say Y.
+ Otherwise, say N.