OSDN Git Service

arm64: dts: meson: Add capacity-dmips-mhz attributes to G12B
authorFrank Hartung <supervisedthinking@gmail.com>
Sat, 14 Sep 2019 02:49:40 +0000 (06:49 +0400)
committerKevin Hilman <khilman@baylibre.com>
Mon, 7 Oct 2019 18:13:37 +0000 (11:13 -0700)
commit6eeaf4d2452ec8b1ece58776812140734fc2e088
treea96707ed5028571117682df16e470bae89592e93
parentb255e1268b0b3dcc5a347d203e8f38ab52bc9a1d
arm64: dts: meson: Add capacity-dmips-mhz attributes to G12B

Meson G12B SoCs (S922X and A311D) are a big-little design where not all CPUs
are equal; the A53s cores are weaker than the A72s.

Include capacity-dmips-mhz properties to tell the OS there is a difference
in processing capacity. The dmips values are based on similar submissions for
other A53/A72 SoCs: HiSilicon 3660 [1] and Rockchip RK3399 [2].

This change is particularly beneficial for use-cases like retro gaming where
emulators often run on a single core. The OS now chooses an A72 core instead
of an A53 core.

[1] https://lore.kernel.org/patchwork/patch/862742/
[2] https://patchwork.kernel.org/patch/10836577/

Signed-off-by: Frank Hartung <supervisedthinking@gmail.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-g12b.dtsi