arm64: dts: imx8mm: Enable cpu-idle driver
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 16 Aug 2019 10:13:03 +0000 (06:13 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 19 Aug 2019 14:04:51 +0000 (16:04 +0200)
commita1406b72cbca4d9044cc1c26b00e780b36699d1f
tree24c9b2be82d94bd1c03de38c9eaa0eb40d541620
parent491d3a3fc113a6b2902a2920d9e0c4a43bdf4f0e
arm64: dts: imx8mm: Enable cpu-idle driver

Enable i.MX8MM cpu-idle using generic ARM cpu-idle driver, 2 states
are supported, details as below:

root@imx8mmevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/name
WFI
root@imx8mmevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/usage
3973
root@imx8mmevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state1/name
cpu-pd-wait
root@imx8mmevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state1/usage
6647

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi