summaryrefslogtreecommitdiff
path: root/drivers/clk/keystone/Kconfig
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2019-05-28 16:10:22 +0300
committerTero Kristo <t-kristo@ti.com>2019-06-07 12:11:41 +0300
commit8e48b33f9def0cef429c102c5b4b2dad8ef1d684 (patch)
treeb7e2457dd3a0476398e9b1e25aff2feb61b13bc4 /drivers/clk/keystone/Kconfig
parent4bfce5aba9023c56cf9fb3882d7055c07979e971 (diff)
downloadlinux-8e48b33f9def0cef429c102c5b4b2dad8ef1d684.tar.xz
clk: keystone: sci-clk: probe clocks from DT instead of firmware
Probing all the available clocks from the PM firmware takes quite a lot of time, increasing boot time. Instead, implement functionality that parses only the used clocks from DT, and registers these to clock core. This way, the boot time is greatly improved. Additionally, provide a Kconfig option for parsing all the clocks from firmware, if someone requires this. It is mostly useful as a debugging functionality if we want to inspect the whole clock tree. Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'drivers/clk/keystone/Kconfig')
-rw-r--r--drivers/clk/keystone/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/clk/keystone/Kconfig b/drivers/clk/keystone/Kconfig
index b04927d06cd1..aaaee7d1c126 100644
--- a/drivers/clk/keystone/Kconfig
+++ b/drivers/clk/keystone/Kconfig
@@ -14,3 +14,14 @@ config TI_SCI_CLK
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.
+
+config TI_SCI_CLK_PROBE_FROM_FW
+ bool "Probe available clocks from firmware"
+ depends on TI_SCI_CLK
+ default n
+ help
+ Forces the TI SCI clock driver to probe available clocks from the
+ firmware. By default, only the used clocks are probed from DT.
+ This is mostly only useful for debugging purposes, and will
+ increase the boot time of the device. If you want the clocks probed
+ from firmware, say Y. Otherwise, say N.