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

2017-03-28 Thread Rafael J. Wysocki
On Tuesday, March 28, 2017 10:50:50 PM Rafael J. Wysocki wrote: > On Tuesday, March 28, 2017 11:03:51 PM Leonard Crestez wrote: > > On Thu, 2017-03-23 at 10:04 +0530, Viresh Kumar wrote: > > > On 22-03-17, 18:53, Leonard Crestez wrote: > > > > If the cpufreq driver tries to modify voltage/freq duri

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

2017-03-28 Thread Rafael J. Wysocki
On Tuesday, March 28, 2017 11:03:51 PM Leonard Crestez wrote: > On Thu, 2017-03-23 at 10:04 +0530, Viresh Kumar wrote: > > On 22-03-17, 18:53, Leonard Crestez wrote: > > > If the cpufreq driver tries to modify voltage/freq during suspend/resume > > > it might need to control an external PMIC via I2

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

2017-03-28 Thread Leonard Crestez
On Thu, 2017-03-23 at 10:04 +0530, Viresh Kumar wrote: > On 22-03-17, 18:53, Leonard Crestez wrote: > > 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

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

2017-03-22 Thread Viresh Kumar
On 22-03-17, 18:53, Leonard Crestez wrote: > 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 >

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

2017-03-22 Thread Leonard Crestez
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