]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: dts: meson-sm1-sei610: enable DVFS
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 26 Aug 2019 07:25:39 +0000 (09:25 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 29 Aug 2019 23:17:42 +0000 (16:17 -0700)
commit3d9e764830496f9f1fa13c6635a818f65abb080e
tree12e8c6871c703fbc8f9c6399612b44597770a797
parentc9a4b25c3d982a6463cfe5f87dff7dcc58cc6da4
arm64: dts: meson-sm1-sei610: enable DVFS

This enables DVFS for the Amlogic SM1 based SEI610 board by:
- Adding the SM1 SoC OPPs taken from the vendor tree
- Selecting the SM1 Clock controller instead of the G12A one
- Adding the CPU rail regulator, PWM and OPPs for each CPU nodes.

Each power supply can achieve 0.69V to 1.05V using a single PWM
output clocked at 666KHz with an inverse duty-cycle.

DVFS has been tested by running the arm64 cpuburn at [1] and cycling
between all the possible cpufreq translations of the cpu cluster and
checking the final frequency using the clock-measurer, script at [2].

[1] https://github.com/ssvb/cpuburn-arm/blob/master/cpuburn-a53.S
[2] https://gist.github.com/superna9999/d4de964dbc0f84b7d527e1df2ddea25f

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi