Messages in this thread | | | Date | Mon, 1 Feb 2021 23:07:14 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH] i2c: mv64xxx: Add runtime PM support |
| |
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 already needs to be reset after some suspend/resume cycles, > it is simple enough to reset it during every runtime suspend/resume. > > Because the bus may be used by wakeup source IRQ threads, it needs to > be functional as soon as IRQs are enabled. Thus, its system PM hooks > need to run in the noirq phase. > > Signed-off-by: Samuel Holland <samuel@sholland.org>
Applied to for-next with Gregory's ack, thanks!
[unhandled content-type:application/pgp-signature] | |