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


Groups > linux.kernel > #1550468

RE: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl

From Peter Chen <peter.chen@nxp.com>
Newsgroups linux.kernel
Subject RE: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl
Date 2017-01-04 08:00 +0100
Message-ID <sVNIe-YZ-13@gated-at.bofh.it> (permalink)
References <sVvii-5p4-19@gated-at.bofh.it> <sVvii-5p4-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>On Tue, Jan 03, 2017 at 05:02:47PM +0800, 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.
>
>I thought this was supposed to be done automatically by the driver core?
>If not it should be, every single driver is likely to end up with that.

Good idea, I will send a patch for that.

Peter

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


Thread

Re: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl Mark Brown <broonie@kernel.org> - 2017-01-03 12:20 +0100
  RE: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl Peter Chen <peter.chen@nxp.com> - 2017-01-04 08:00 +0100
  RE: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl Peter Chen <peter.chen@nxp.com> - 2017-01-04 08:10 +0100

csiph-web