]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: ti: k3-am62a: add opp frequencies
authorBryan Brattlof <bb@ti.com>
Tue, 8 Oct 2024 13:20:50 +0000 (18:50 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Sun, 3 Nov 2024 05:59:57 +0000 (11:29 +0530)
commitaeedca40159c7017f3f0cfbd1ac2066e091e784c
treecec1538c9a23bde320febb48142289a917e6993e
parent881f5e9d808243d27830b3ed294e2e8abda05e62
arm64: dts: ti: k3-am62a: add opp frequencies

One power management technique available to the Cortex-A53s is their
ability to dynamically scale their frequency across the device's
Operating Performance Points (OPP)

The OPPs available for the Cortex-A53s on the AM62Ax can vary based on
the silicon variant used. The SoC variant is encoded into the
WKUP_MMR0_WKUP0_CTRL_MMR0_JTAG_USER_ID register which is used to limit
to only OPP entries the variant supports. A table of all these variants
can be found in it's data sheet[0] for the AM62Ax family.

Add the OPP table into the SoC's fdti file along with the syscon node to
describe the WKUP_MMR0_WKUP0_CTRL_MMR0_JTAG_USER_ID register to detect
the SoC variant.

[0] https://www.ti.com/lit/ds/symlink/am62a3.pdf

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20241008132052.407994-2-d-gole@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
arch/arm64/boot/dts/ti/k3-am62a7.dtsi