ramips/mt7621: enable support for cpuidle
authorRui Salvaterra <rsalvaterra@gmail.com>
Tue, 30 Mar 2021 22:59:50 +0000 (23:59 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 30 Mar 2021 23:58:49 +0000 (00:58 +0100)
commit070ead4d4aaf30f5c6017054b822c3c6d649b071
treebce58e2d900e40e11d86a8e6a333d35e064193bf
parent9c3b2d7ff755216a93d0ffa7d0375007cb7d3294
ramips/mt7621: enable support for cpuidle

MIPS Coherent Processor Systems (CPS), which include the MT7621 SoC, support
deep sleep idle states and have a specific cpuidle driver for them.
Enable support for it, while also switching from constant timer ticks to the
idle dynticks model, with the TEO governor.

Run-tested on a Redmi AC2100.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
target/linux/ramips/mt7621/config-5.10