Re: [PATCH] ARM: dts: rockchip: Add dynamic-power-coefficient for rk3288

2019-04-12 Thread Heiko Stübner
Am Freitag, 12. April 2019, 02:01:58 CEST schrieb Matthias Kaehlcke: > The value was determined with the following method: > > - take CPUs 1-3 offline > - for each OPP > - set cpufreq min and max freq to OPP freq > - start dhrystone benchmark > - measure CPU power consumption during 10s >

[PATCH] ARM: dts: rockchip: Add dynamic-power-coefficient for rk3288

2019-04-11 Thread Matthias Kaehlcke
The value was determined with the following method: - take CPUs 1-3 offline - for each OPP - set cpufreq min and max freq to OPP freq - start dhrystone benchmark - measure CPU power consumption during 10s - calculate Cx for OPPx - Cx = (Px - P1) / (Vx²fx - V1²f1) [1]