[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210201220714.GF24315@kunai>
Date: Mon, 1 Feb 2021 23:07:14 +0100
From: Wolfram Sang <wsa@...nel.org>
To: Samuel Holland <samuel@...lland.org>
Cc: Gregory CLEMENT <gregory.clement@...tlin.com>,
linux-i2c@...r.kernel.org, Maxime Ripard <mripard@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...l.net>,
Ondrej Jirman <megous@...ous.com>,
linux-kernel@...r.kernel.org, linux-sunxi@...glegroups.com
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@...lland.org>
Applied to for-next with Gregory's ack, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists