On Sat, Jul 18, 2020 at 12:00:45AM +0800, Chen-Yu Tsai wrote:
From: Chen-Yu Tsai <redacted>
Hi everyone,
This is v2 of my Allwinner H5 SoC cpufreq support series from way
back [1]. The series enables DVFS for the CPU cores (aka cpufreq)
on the Allwinner H5 SoC. The OPP table was taken from Armbian, with
minor tweaks to the maximum voltage to account for slightly increased
voltage on some of the boards.
In this version, the OPP table and tie in to the CPU cores has been
split out into a separate file, like what was done for the H6. The
patches adding CPU regulator supplies for all the boards that I don't
have have been removed. The series now only enables cpufreq for Libre
Computer ALL-H3-CC and ALL-H5-CC, and Bananapi M2+ v1.2.
For the original Bananapi M2+, if I add the fixed regulator with the
enable pin, it ends up causing some sort of glitch or lock up on the
v1.2, which includes the original dts file. Since I haven't been able
to sort it out yet, I've left it out for now.
Patch 1 assigns the CPU regulator supply to all the CPU cores on the
Libre Computer ALL-H3-CC.
Patch 2 assigns the CPU regulator supply to all the CPU cores on the
Bananapi M2+ v1.2.
Patch 3 fixes the voltages specified for the GPIO-controlled regulator
on the Bananapi M2+ v1.2. The voltages are slightly higher than what
was originally written.
Patch 4 ties the CPU clock to the CPU cores.
Patch 5 adds trip points and cooling maps to the CPU thermal zones.
Patch 6 adds the OPP table, based on the one from Armbian.
Patch 7 hooks up the CPU regulator supply for the Libre Computer
ALL-H3-CC H5 variant, and by extension, the ALL-H5-CC.
Patch 8 hooks up the CPU regulator supply for the Bananapi M2+ v1.2.
Applied all of them (and fixed the OPP node names in the patch 6)
Maxime