[PATCH 0/5] cpufreq: ti: Fix probe ordering and add device link support for K3 SoCs
From: Akashdeep Kaur
Date: Mon Mar 30 2026 - 08:07:58 EST
For K3 SoCs, ti-cpufreq depends on k3-socinfo to provide SoC revision
information via soc_device_match(). If ti-cpufreq probes before
k3-socinfo, soc_device_match() returns NULL, causing incorrect
revision detection and OPP table initialization failures.
Add EPROBE_DEFER handling in ti-cpufreq when soc_device_match() fails
for K3 SoCs, ensuring k3-socinfo probes first.
Add device link support via a new DT property "ti,soc-info" in CPU
OPP tables. Device links prevent unbinding k3-socinfo while
ti-cpufreq is using it.
EPROBE_DEFER handles first-boot probe ordering, while device links
provide runtime dependency management.
For backward compatibility, the DT property is optional.
Signed-off-by: Akashdeep Kaur <a-kaur@xxxxxx>
---
Akashdeep Kaur (5):
cpufreq: ti: Add EPROBE_DEFER for K3 SoCs
arm64: dts: ti: k3-am625: Add ti,soc-info to OPP table
arm64: dts: ti: k3-am62a7: Add ti,soc-info to OPP table
arm64: dts: ti: k3-am62p5: Add ti,soc-info to OPP table
cpufreq: ti: Add device link to k3-socinfo
arch/arm64/boot/dts/ti/k3-am625.dtsi | 1 +
arch/arm64/boot/dts/ti/k3-am62a7.dtsi | 1 +
arch/arm64/boot/dts/ti/k3-am62p5.dtsi | 1 +
drivers/cpufreq/ti-cpufreq.c | 57 +++++++++++++++++++++++++++
4 files changed, 60 insertions(+)
--
2.34.1