lkml.org 
[lkml]   [2017]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6] mfd: Add support for RTS5250S power saving
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

\
 
 \ /
  Last update: 2017-09-07 12:57    [W:0.053 / U:0.344 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site