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


Groups > linux.kernel > #1552599 > unrolled thread

Re: [PATCH v2 1/1] extcon: usb-gpio: add pinctrl operation during system PM

Started byChanwoo Choi <cw00.choi@samsung.com>
First post2017-01-06 09:40 +0100
Last post2017-01-06 09:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 1/1] extcon: usb-gpio: add pinctrl operation during  system PM Chanwoo Choi <cw00.choi@samsung.com> - 2017-01-06 09:40 +0100

#1552599 — Re: [PATCH v2 1/1] extcon: usb-gpio: add pinctrl operation during system PM

FromChanwoo Choi <cw00.choi@samsung.com>
Date2017-01-06 09:40 +0100
SubjectRe: [PATCH v2 1/1] extcon: usb-gpio: add pinctrl operation during system PM
Message-ID<sWye6-7zH-19@gated-at.bofh.it>
Hi Peter,

On 2017년 01월 04일 16:19, Peter Chen wrote:
> At some systems, the pinctrl setting will be lost or needs to
> set as "sleep" state to save power consumption. So, we need to
> configure pinctrl as "sleep" state when system enters suspend,
> and as "default" state after system resumes. In this way, the
> pinctrl value can be recovered as "default" state after resuming.
> 
> Signed-off-by: Peter Chen <peter.chen@nxp.com>
> ---
> Changes for v2:
> - Add header file for pinctrl to avoid build error
> - Only set pin as "sleep" state when the wakeup is not requested
> 
>  drivers/extcon/extcon-usb-gpio.c | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied it. Thanks.

-- 
Best Regards,
Chanwoo Choi
S/W Center, Samsung Electronics

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web