Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1264019

Re: [PATCH v3] pwm: lpss: Add support for runtime PM

From Thierry Reding <thierry.reding@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3] pwm: lpss: Add support for runtime PM
Date 2015-11-06 14:40 +0100
Message-ID <qrPpg-55Y-13@gated-at.bofh.it> (permalink)
References <qnNFo-7br-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Oct 26, 2015 at 12:58:27PM +0200, Mika Westerberg wrote:
> From: Qipeng Zha <qipeng.zha@intel.com>
> 
> To be able to save some power when PWM is not in use, add support for
> runtime PM for this driver. This also allows the platform to transition to
> low power S0ix states when the system is idle.
> 
> Signed-off-by: Huiquan Zhong <huiquan.zhong@intel.com>
> Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
> The original patch from Qipeng is here:
> 
> http://thread.gmane.org/gmane.linux.pwm/2803
> 
> I modified it a bit so that it does runtime_pm_get_sync() on enable and
> runtime_pm_put() on disable. That allows us to get rid of the autosuspend
> thing in v2.
> 
> This applies on top of my previous series here:
> 
> http://thread.gmane.org/gmane.linux.pwm/2920
> 
>  drivers/pwm/pwm-lpss-pci.c      | 32 ++++++++++++++++++++++++++++++++
>  drivers/pwm/pwm-lpss-platform.c |  6 ++++++
>  drivers/pwm/pwm-lpss.c          |  7 +++++++
>  3 files changed, 45 insertions(+)

Applied, thanks.

Thierry

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v3] pwm: lpss: Add support for runtime PM Thierry Reding <thierry.reding@gmail.com> - 2015-11-06 14:40 +0100

csiph-web