MLK-16831 imx8m: Remove cpu-idle-states property from kernel FDT for rev A0
authorYe Li <ye.li@nxp.com>
Thu, 16 Nov 2017 05:29:33 +0000 (23:29 -0600)
committerYe Li <ye.li@nxp.com>
Thu, 16 Nov 2017 06:05:52 +0000 (00:05 -0600)
commitf340d0678d8f3576e769b87984ddddf71243a29b
tree0430180ad86e4361b16809dcb1038fcf52c80b82
parentc662e0a70cc1ec2d251ac7eac48a253710acf78b
MLK-16831 imx8m: Remove cpu-idle-states property from kernel FDT for rev A0

Since i.MX8M A0 has HW issue in CPU idle, we must disable the function
when running on A0 chip. This patch checks the CPU rev and remove the
"cpu-idle-states" from cpu nodes to disable the CPU idle.

Signed-off-by: Ye Li <ye.li@nxp.com>
Tested-by: Bai Ping <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/imx8m/soc.c