Re: [PATCH] i2c: mv64xxx: Add runtime PM support

2021-02-01 Thread Wolfram Sang
On Sun, Jan 03, 2021 at 04:51:46AM -0600, Samuel Holland wrote: > To save power, gate the clock when the bus is inactive, during system > sleep, and during shutdown. On some platforms, specifically Allwinner > A13/A20, gating the clock implicitly resets the module as well. Since > the module alread

Re: [PATCH] i2c: mv64xxx: Add runtime PM support

2021-01-28 Thread Ondřej Jirman
Hello Samuel, On Thu, Jan 28, 2021 at 10:22:08AM +0100, Wolfram Sang wrote: > On Sun, Jan 03, 2021 at 04:51:46AM -0600, Samuel Holland wrote: > > To save power, gate the clock when the bus is inactive, during system > > sleep, and during shutdown. On some platforms, specifically Allwinner > > A13/

Re: [PATCH] i2c: mv64xxx: Add runtime PM support

2021-01-28 Thread Wolfram Sang
On Sun, Jan 03, 2021 at 04:51:46AM -0600, Samuel Holland wrote: > To save power, gate the clock when the bus is inactive, during system > sleep, and during shutdown. On some platforms, specifically Allwinner > A13/A20, gating the clock implicitly resets the module as well. Since > the module alread

[PATCH] i2c: mv64xxx: Add runtime PM support

2021-01-03 Thread Samuel Holland
To save power, gate the clock when the bus is inactive, during system sleep, and during shutdown. On some platforms, specifically Allwinner A13/A20, gating the clock implicitly resets the module as well. Since the module already needs to be reset after some suspend/resume cycles, it is simple enoug