cpufreq: ti-cpufreq: Add support for AM62A7
authorVibhore Vardhan <vibhore@ti.com>
Fri, 26 May 2023 14:43:53 +0000 (09:43 -0500)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 29 May 2023 05:03:59 +0000 (10:33 +0530)
Add support for TI K3 AM62A7 SoC to read speed and revision values from
hardware and pass to OPP layer. AM62A7 has the same A53 and efuse
configuration as AM625. Thus, soc_data from AM625 is reused.

Based on AM625 CPUFreq patch series by Dave Gerlach.

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

index be4209d97cb39ef65860adf4adb1264d2996ef23..d5cd2fd25cade21f58c13ea9851e5e644af3c559 100644 (file)
@@ -337,6 +337,7 @@ static const struct of_device_id ti_cpufreq_of_match[] = {
        { .compatible = "ti,omap34xx", .data = &omap34xx_soc_data, },
        { .compatible = "ti,omap36xx", .data = &omap36xx_soc_data, },
        { .compatible = "ti,am625", .data = &am625_soc_data, },
+       { .compatible = "ti,am62a7", .data = &am625_soc_data, },
        /* legacy */
        { .compatible = "ti,omap3430", .data = &omap34xx_soc_data, },
        { .compatible = "ti,omap3630", .data = &omap36xx_soc_data, },