arm64: dts: allwinner: h5: Add CPU Operating Performance Points table
authorChen-Yu Tsai <wens@csie.org>
Fri, 17 Jul 2020 16:00:51 +0000 (00:00 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 20 Jul 2020 13:31:15 +0000 (15:31 +0200)
commit7240598ba4e6c477c6809dc019505cf366fdb7c0
tree8ca9e5aa60176c9f590c1773ece8d8b5a51e32af
parentd04f7bc8842c0d9951a5740480f864a4f82d6b63
arm64: dts: allwinner: h5: Add CPU Operating Performance Points table

Add an OPP (Operating Performance Points) table for the CPU cores for
boards to include to DVFS (Dynamic Voltage & Frequency Scaling) on the
H5. The table originates from Armbian, but the maximum voltage is raised
slightly to account for boards using slightly higher voltages.

The table and tie in to the CPU cores are put in a separate dtsi file
that board files can include to opt in. Or they can define their own
tables if the standard one does not fit.

This has been tested on the Libre Computer ALL-H3-CC-H5 and the Bananapi
M2+ v1.2 H5, both with adequate cooling. The former has a fixed 1.2V
regulator, while the latter has a GPIO controlled regulator switchable
between 1.1V and 1.3V.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200717160053.31191-7-wens@kernel.org
arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi [new file with mode: 0644]