MLK-11071 cpufreq: imx7: add cpufreq pm_notifier on imx7d
authorBai Ping <b51503@freescale.com>
Tue, 9 Jun 2015 15:42:50 +0000 (23:42 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:46:56 +0000 (14:46 -0500)
commit70cdee4a794c1a5ecd851834f27814c8e0779d92
tree500c04de7463113be4f75d1bb3fff60cd3bbcade
parent05864c3e6293074d495723a350aea7832c44c97f
MLK-11071 cpufreq: imx7: add cpufreq pm_notifier on imx7d

Add pm_notifier for cpufreq on i.MX7D to make sure when
system do suspend/resume no cpu frequency change.
cpu frequency change may use the I2C/SPI interface to
control the external PMIC chip, if the I2C/SPI are not
active in this procedure, frequency change will fail.

Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit b993956109856d3b86df501271b5a55620781c1a)
drivers/cpufreq/imx7-cpufreq.c