From: Thierry Reding <thierry.reding@gmail.com>
To: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Huiquan Zhong <huiquan.zhong@intel.com>,
Qipeng Zha <qipeng.zha@intel.com>,
linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] pwm: lpss: Add support for runtime PM
Date: Fri, 6 Nov 2015 14:36:46 +0100 [thread overview]
Message-ID: <20151106133646.GB31835@ulmo> (raw)
In-Reply-To: <1445857107-51808-1-git-send-email-mika.westerberg@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-11-06 13:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 10:58 [PATCH v3] pwm: lpss: Add support for runtime PM Mika Westerberg
2015-11-06 13:36 ` Thierry Reding [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151106133646.GB31835@ulmo \
--to=thierry.reding@gmail.com \
--cc=huiquan.zhong@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=qipeng.zha@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox