From: Lee Jones <lee.jones@linaro.org>
To: rui_feng@realsil.com.cn
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6] mfd: Add support for RTS5250S power saving
Date: Thu, 7 Sep 2017 11:57:03 +0100 [thread overview]
Message-ID: <20170907105703.x72lgb25z3g7h63d@dell> (raw)
In-Reply-To: <1504772799-15173-1-git-send-email-rui_feng@realsil.com.cn>
On Thu, 07 Sep 2017, rui_feng@realsil.com.cn wrote:
> From: Rui Feng <rui_feng@realsil.com.cn>
>
> Enable power saving for RTS5250S as following steps:
> 1.Set 0xFE58 to enable clock power management.
> 2.Check cfg space whether support L1SS or not.
> 3.If support L1SS, set 0xFF03 to free clkreq.
> 4.When entering idle status, enable aspm
> and set parameters for L1SS and LTR.
> 5.Wnen entering run status, disable aspm
> and set parameters for L1SS and LTR.
> If entering L1SS mode successfully,
> electric current will be below 2mA.
>
> Signed-off-by: Rui Feng <rui_feng@realsil.com.cn>
> ---
> drivers/mfd/rts5249.c | 155 ++++++++++++++++++++++++++++++++++++++++++-
> drivers/mfd/rtsx_pcr.c | 142 +++++++++++++++++++++++++++++++++++++--
> drivers/mfd/rtsx_pcr.h | 14 ++++
> include/linux/mfd/rtsx_pci.h | 84 +++++++++++++++++++++++
> 4 files changed, 389 insertions(+), 6 deletions(-)
Applied for v4.15, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2017-09-07 10:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-07 8:26 rui_feng
2017-09-07 10:57 ` Lee Jones [this message]
2017-12-14 22:25 ` Bjorn Helgaas
2017-12-15 7:41 ` Hans de Goede
[not found] ` <2A308283684ECD4B896628E09AF5361E01A8150B@RS-MBS01.realsil.com.cn>
2017-12-15 15:15 ` 答复: " Bjorn Helgaas
2017-12-19 8:15 ` 答复: " 冯锐
2017-12-27 23:37 ` Bjorn Helgaas
2018-01-17 21:01 ` Bjorn Helgaas
2018-01-19 7:38 ` 答复: " 冯锐
2018-01-30 19:18 ` Bjorn Helgaas
2018-02-01 8:45 ` 答复: " 冯锐
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=20170907105703.x72lgb25z3g7h63d@dell \
--to=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rui_feng@realsil.com.cn \
/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
all inboxes | Powered by JetHome®