Thread (9 messages) 9 messages, 2 authors, 2026-04-01

Re: [PATCH 5/5] cpufreq: ti: Add device link to k3-socinfo

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-03-30 13:22:33
Also in: linux-arm-kernel, linux-pm, lkml

On 30/03/2026 14:01, Akashdeep Kaur wrote:
quoted hunk ↗ jump to hunk
 	opp_data->cpu_dev = get_cpu_device(0);
 	if (!opp_data->cpu_dev) {
@@ -560,6 +563,42 @@ static int ti_cpufreq_probe(struct platform_device *pdev)
 	if (ret)
 		goto fail_put_node;
 
+	/* Create device link to k3-socinfo if specified in DT */
+	if (opp_data->soc_data == &am625_soc_data ||
+	    opp_data->soc_data == &am62a7_soc_data ||
+	    opp_data->soc_data == &am62l3_soc_data ||
+	    opp_data->soc_data == &am62p5_soc_data) {
+		struct device_node *socinfo_np;
+
+		socinfo_np = of_parse_phandle(opp_data->opp_node, "ti,soc-info", 0);
Undocumented ABI.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help