arm64: dts: allwinner: h616: Add CPU OPPs table
authorMartin Botka <martin.botka@somainline.org>
Thu, 18 Apr 2024 15:44:07 +0000 (16:44 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 19 Apr 2024 07:04:28 +0000 (12:34 +0530)
commit3e057e05b3b281bcc29db573eb51f87ee6b5afc0
tree71244da85f1f9f521a8b6016dd81674a4f3d6507
parente2e2dcd2e944fe6167cb731864f8a1343f1bbee7
arm64: dts: allwinner: h616: Add CPU OPPs table

Add an Operating Performance Points table for the CPU cores to enable
Dynamic Voltage & Frequency Scaling (DVFS) on the H616.
The values were taken from the BSP sources. There is a separate OPP set
seen on some H700 devices, but they didn't really work out in testing, so
they are not included for now.

Also add the needed cpu_speed_grade nvmem cell and the cooling cells
properties, to enable passive cooling.

Signed-off-by: Martin Botka <martin.botka@somainline.org>
[Andre: rework to minimise opp-microvolt properties]
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm64/boot/dts/allwinner/sun50i-h616-cpu-opp.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi