cpufreq: ti-cpufreq: Use socinfo to get revision in AM62 family
authorDhruva Gole <d-gole@ti.com>
Mon, 2 Sep 2024 09:21:35 +0000 (14:51 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 4 Sep 2024 15:13:59 +0000 (20:43 +0530)
commit6b612d1bac67b0f483fde7779a45f6310274d4eb
treeb0796e437d7c494696487aa78dc0ce2eee16024f
parent87fa4bd351a51ec1eb2d4854f4112c7811fef519
cpufreq: ti-cpufreq: Use socinfo to get revision in AM62 family

In the AM62x, AM62Ax, and AM62Px devices, we already have the revision
info within the k3-socinfo driver. Hence, re-use this information from
there instead of re using the offset for 2 drivers trying to get the
same information ie. revision.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/ti-cpufreq.c