]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: am62: Get a53 max cpu frequency by speed grade
authorJoao Paulo Goncalves <joao.goncalves@toradex.com>
Wed, 20 Mar 2024 12:16:31 +0000 (09:16 -0300)
committerTom Rini <trini@konsulko.com>
Thu, 11 Apr 2024 21:50:56 +0000 (15:50 -0600)
commitba26524cad98aa70913afb7a2436949ac14c3b41
treeae923bbfc3b506800bf6d6aab2cf9e4d6e3b5281
parente8c828f124a51a52fc0e8346cd255d60de4f3d5f
arm: mach-k3: am62: Get a53 max cpu frequency by speed grade

AM62 SoC has multiple speed grades. Add function to return max A53 CPU
frequency based on grade. Fastest grade's max frequency also depends on
PMIC voltage, to simplify implementation use the smaller value.

Suggested-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
arch/arm/mach-k3/include/mach/am62_hardware.h