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

From: Wolfram Sang
Date: Mon Feb 01 2021 - 17:08:27 EST


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@xxxxxxxxxxxx>

Applied to for-next with Gregory's ack, thanks!

Attachment: signature.asc
Description: PGP signature