]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
cpufreq: ti: Add support for AM62D2
authorParesh Bhagat <p-bhagat@ti.com>
Wed, 20 Aug 2025 08:33:31 +0000 (14:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:34:02 +0000 (15:34 -0500)
[ Upstream commit b5af45302ebc141662b2b60c713c9202e88c943c ]

Add support for TI K3 AM62D2 SoC to read speed and revision values
from hardware and pass to OPP layer. AM62D shares the same configuations
as AM62A so use existing am62a7_soc_data.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/ti-cpufreq.c

index ba621ce1cdda694c98867422dbb7f10c0df2afef..190e30b1c5532c8978f92ee3f2cb9a1cc2e4d65e 100644 (file)
@@ -308,6 +308,7 @@ static const struct soc_device_attribute k3_cpufreq_soc[] = {
        { .family = "AM62X", .revision = "SR1.0" },
        { .family = "AM62AX", .revision = "SR1.0" },
        { .family = "AM62PX", .revision = "SR1.0" },
+       { .family = "AM62DX", .revision = "SR1.0" },
        { /* sentinel */ }
 };
 
@@ -453,6 +454,7 @@ static const struct of_device_id ti_cpufreq_of_match[]  __maybe_unused = {
        { .compatible = "ti,omap36xx", .data = &omap36xx_soc_data, },
        { .compatible = "ti,am625", .data = &am625_soc_data, },
        { .compatible = "ti,am62a7", .data = &am62a7_soc_data, },
+       { .compatible = "ti,am62d2", .data = &am62a7_soc_data, },
        { .compatible = "ti,am62p5", .data = &am62p5_soc_data, },
        /* legacy */
        { .compatible = "ti,omap3430", .data = &omap34xx_soc_data, },