Skip to contentSkip to conversation

cpufreq: ti-cpufreq: Enable AM62P5 CPUFreq

PATCH Applied Bryan Brattlof 3 participants 5 messages Oct 10, 2023 – Oct 11, 2023 CPU frequency scaling framework

lore
Share & tools
lore
#0 lore raw

cover cpufreq: ti-cpufreq: Enable AM62P5 CPUFreq

Hello everyone!

This short series adds the am62p5 compatible to ti-cpufreq and cpufreq-dt-platdev for the new am62p family of TI SoCs. It uses the same A53s and efuse configuration as the rest of the am62xxx extended family so we're just using the same am625 data structure for the am62p5.

Thanks for reviewing
~Bryan

Bryan Brattlof (2):
cpufreq: dt-platdev: add am62p5 to blocklist
cpufreq: ti-cpufreq: Add opp support for am62p5 SoCs

 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 drivers/cpufreq/ti-cpufreq.c         | 1 +
 2 files changed, 2 insertions(+)

base-commit: c9727271cb239dce91add464364f10fb2b376456

Signature · 1 line
2.42.0
#1 lore raw

PATCH 1/2 cpufreq: dt-platdev: add am62p5 to blocklist

The am62p5 family of SoCs is a variation of the am625 and am62a7 SoC family. Add this device along with the devices which will use the operating-points-v2 property.

---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/cpufreq-dt-platdev.c +1 -0
index 2016d47889c07..0b3776f558dbd 100644
@@ -178,6 +178,7 @@ static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "ti,omap3", },
 	{ .compatible = "ti,am625", },
 	{ .compatible = "ti,am62a7", },
+	{ .compatible = "ti,am62p5", },
 
 	{ .compatible = "qcom,ipq8064", },
 	{ .compatible = "qcom,apq8064", },
Signature · 1 line
2.42.0
#2 lore raw

PATCH 2/2 cpufreq: ti-cpufreq: Add opp support for am62p5 SoCs

In reply to Bryan Brattlof

The am62p5 is a variation of the am625 and the am62a7 SoC families. Add the am62p5 to the list using the same cpufreq data as the rest of the am62x extended family.

---
 drivers/cpufreq/ti-cpufreq.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/ti-cpufreq.c +1 -0
index 3c37d78996607..46c41e2ca727b 100644
@@ -338,6 +338,7 @@ static const struct of_device_id ti_cpufreq_of_match[] = {
 	{ .compatible = "ti,omap36xx", .data = &omap36xx_soc_data, },
 	{ .compatible = "ti,am625", .data = &am625_soc_data, },
 	{ .compatible = "ti,am62a7", .data = &am625_soc_data, },
+	{ .compatible = "ti,am62p5", .data = &am625_soc_data, },
 	/* legacy */
 	{ .compatible = "ti,omap3430", .data = &omap34xx_soc_data, },
 	{ .compatible = "ti,omap3630", .data = &omap36xx_soc_data, },
Signature · 1 line
2.42.0
Reviewed-by on the v1 series
#3 lore raw
In reply to Bryan Brattlof

Hi,

Quoted 10 lines · Bryan Brattlof

Hello everyone!

This short series adds the am62p5 compatible to ti-cpufreq and cpufreq-dt-platdev for the new am62p family of TI SoCs. It uses the same A53s and efuse configuration as the rest of the am62xxx extended family so we're just using the same am625 data structure for the am62p5.

Thanks for reviewing
~Bryan

Quoted 7 lines

Bryan Brattlof (2):
cpufreq: dt-platdev: add am62p5 to blocklist
cpufreq: ti-cpufreq: Add opp support for am62p5 SoCs

 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 drivers/cpufreq/ti-cpufreq.c         | 1 +
 2 files changed, 2 insertions(+)

For the series,

Quoted 6 lines

base-commit: c9727271cb239dce91add464364f10fb2b376456

Signature · 1 line
2.42.0
Signature · 2 lines
Best regards,
Dhruva Gole <[email protected]>
maintainer Applied
#4 lore raw
In reply to Bryan Brattlof
Quoted 10 lines · Bryan Brattlof

Hello everyone!

This short series adds the am62p5 compatible to ti-cpufreq and cpufreq-dt-platdev for the new am62p family of TI SoCs. It uses the same A53s and efuse configuration as the rest of the am62xxx extended family so we're just using the same am625 data structure for the am62p5.

Thanks for reviewing
~Bryan

Quoted 7 lines

Bryan Brattlof (2):
cpufreq: dt-platdev: add am62p5 to blocklist
cpufreq: ti-cpufreq: Add opp support for am62p5 SoCs

 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 drivers/cpufreq/ti-cpufreq.c         | 1 +
 2 files changed, 2 insertions(+)

Applied. Thanks.

Signature · 1 line
viresh