]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "ti: add speed grades support for AM62a"
authorTom Rini <trini@konsulko.com>
Wed, 12 Nov 2025 15:42:50 +0000 (09:42 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 12 Nov 2025 15:42:50 +0000 (09:42 -0600)
Anshul Dalal <anshuld@ti.com> says:

TI offers SoCs in various speed grades, each speed grade specifies a
certain maximum operating frequency of the clocks for each core.

In K3's boot flow, the R5 SPL starts the A53 or A72 core and configures
the correct clocks and power using the K3 ARM64 rproc driver
(compatible: ti,am654-rproc). However, the driver expects the dt node
for the ARM64 core to be set with a correct "assigned-clock-rates"
value.

Currently the dt has a value of 1.2GHz for the A53 core on AM62a, this
is incorrect for lower speed grades. Therefore this patch set adds
support for fixing this value at runtime based on the detected speed
grade from the efuse MMR.

For the speed grade table, refer to Table 6-1 of the AM62a datasheet.

Link: https://www.ti.com/lit/ds/symlink/am62a7.pdf
Link: https://lore.kernel.org/r/20251030-ti_speed_grade_fix-v1-0-703e4189640a@ti.com
1  2 
arch/arm/mach-k3/am62ax/am62a7_init.c
arch/arm/mach-k3/am62px/am62p5_init.c
arch/arm/mach-k3/am62x/am625_init.c
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge