Thread (31 messages) 31 messages, 5 authors, 2017-04-13

[RFC 3/8] cpufreq: imx6q: Set max suspend_freq to avoid changes during suspend

From: Leonard Crestez <hidden>
Date: 2017-03-28 20:04:09
Also in: linux-devicetree, linux-pm, lkml

On Thu, 2017-03-23 at 10:04 +0530, Viresh Kumar wrote:
On 22-03-17, 18:53, Leonard Crestez wrote:
quoted
If the cpufreq driver tries to modify voltage/freq during suspend/resume
it might need to control an external PMIC via I2C or SPI but those
devices might be already suspended.

To avoid this scenario we just increase cpufreq to highest setpoint
before suspend. This issue can easily be triggered by ldo-bypass but in
theory any regulator set_voltage call can end up having to modify
external supply voltages.

Signed-off-by: Leonard Crestez <redacted>
---
 drivers/cpufreq/imx6q-cpufreq.c | 2 ++
 1 file changed, 2 insertions(+)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
The first couple of patches are obvious fixes despite being marked as
RFC. It would be great if you could apply them to your tree separately
from the rest of the series but I'm not sure what the process is here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help