arm64: dts: imx8mn: Enable cpu-idle driver
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 10 Sep 2019 15:25:18 +0000 (11:25 -0400)
committerShawn Guo <shawnguo@kernel.org>
Sun, 6 Oct 2019 07:43:34 +0000 (15:43 +0800)
commitdf844a9a9448f9612ed53cc84962ce3cad48da0e
treef163502c8fe4e6b8b172a1d08ddc9e3e12ea0b7e
parentc4a212695ca44c1c0315bbce6b444153fda2623c
arm64: dts: imx8mn: Enable cpu-idle driver

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

root@imx8mnevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/name
WFI
root@imx8mnevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/usage
3098
root@imx8mnevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state1/name
cpu-pd-wait
root@imx8mnevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state1/usage
3078

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn.dtsi