]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: renesas: r8a774c0: Re-add voltages to OPP table
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 8 Oct 2024 09:14:20 +0000 (11:14 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 21 Feb 2025 15:22:59 +0000 (16:22 +0100)
commitea34dd0f029f4a30c055ddb6daaf7a6f3bee21ed
treee2d752515f70946cb77800fc259c67d7aeab2f9a
parent2014c95afecee3e76ca4a56956a936e23283f05b
arm64: dts: renesas: r8a774c0: Re-add voltages to OPP table

When CONFIG_ENERGY_MODEL=y:

    cpu cpu0: EM: invalid perf. state: -22

When removing the (incorrect) voltages from the Operating Points
Parameters tables, it was assumed they were optional, and unused, when
none of the CPU nodes is tied to a regulator using the "cpu-supply"
property.  This assumption turned out to be incorrect, causing the
reported error message.

Fix this by re-adding the (correct) voltages.  Note that because all
voltages are identical, all operating points are considered to have the
same efficiency, and the energy model always picks the one with the
highest clock rate.

Reported-by: Renesas Test Team via Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fixes: 554edc3e9239bb81 ("arm64: dts: renesas: r8a774c0: Remove bogus voltages from OPP table")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/2046da75f3db95b62f86c0482063c4d04c2b47d5.1728377971.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a774c0.dtsi