Skip to contentSkip to conversation

clk: keystone: sci-clk: Remove firmware based clock ID detection

PATCH Applied Andrew Davis 2 participants 2 messages Dec 3 – Dec 4

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: keystone: sci-clk: Remove firmware based clock ID detection

For all drives using this driver clocks are probed from DT. The older method of getting clock IDs from firmware was left in case it would be useful for debugging purposes. The old code has bitrotted and most likely doesn't work with new firmware. As AI is now finding bugs in it and causing churn, easier to just delete this old function.

---
 drivers/clk/keystone/Kconfig   | 11 -----
 drivers/clk/keystone/sci-clk.c | 85 ----------------------------------
 2 files changed, 96 deletions(-)
drivers/clk/keystone/Kconfig +0 -11
index e64d6726048f6..9d019fc32fd64 100644
@@ -16,17 +16,6 @@ config TI_SCI_CLK
 	  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.
-
 config TI_SYSCON_CLK
 	tristate "Syscon based clock driver for K2/K3 SoCs"
 	depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
drivers/clk/keystone/sci-clk.c +0 -85

108 lines not on this page · raw message

Signature · 1 line
2.43.0