mbox series

[0/2] arm: mach-k3: am62: change a53 clock frequency by speed grade

Message ID 20240320121632.105730-1-jpaulo.silvagoncalves@gmail.com
Headers show
Series arm: mach-k3: am62: change a53 clock frequency by speed grade | expand

Message

Joao Paulo Goncalves March 20, 2024, 12:16 p.m. UTC
From: Joao Paulo Goncalves <joao.goncalves@toradex.com>

This series introduces a method to dynamically set the AM62 A53 CPU frequency
based on its speed grade. It adds a new function to retrieve the A53 frequency
value by reading the speed grade from the hardware. Subsequently, it adjusts the
Cortex R5 device tree at runtime  with the frequency value before initializing
the remote processor.

Regards,
João Paulo Goncalves

Joao Paulo Goncalves (2):
  arm: mach-k3: am62: Get a53 max cpu frequency by speed grade
  arm: mach-k3: am625: Fixup a53 cpu frequency by speed grade

 arch/arm/mach-k3/am625_init.c                 | 62 +++++++++++++++++++
 arch/arm/mach-k3/include/mach/am62_hardware.h | 15 +++++
 2 files changed, 77 insertions(+)

--
2.34.1

Comments

Tom Rini April 12, 2024, 2:12 a.m. UTC | #1
On Wed, 20 Mar 2024 09:16:30 -0300, Joao Paulo Goncalves wrote:

> From: Joao Paulo Goncalves <joao.goncalves@toradex.com>
> 
> This series introduces a method to dynamically set the AM62 A53 CPU frequency
> based on its speed grade. It adds a new function to retrieve the A53 frequency
> value by reading the speed grade from the hardware. Subsequently, it adjusts the
> Cortex R5 device tree at runtime  with the frequency value before initializing
> the remote processor.
> 
> [...]

Applied to u-boot/master, thanks!