linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] pinctrl: Allow indicating loss of state across suspend/resume
@ 2017-11-02 23:15 Florian Fainelli
  2017-11-02 23:15 ` [PATCH v2 1/2] pinctrl: Allow a device to indicate when to force a state Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Florian Fainelli @ 2017-11-02 23:15 UTC (permalink / raw)
  To: linux-gpio
  Cc: Florian Fainelli, Linus Walleij, Rob Herring, Mark Rutland,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, ckeepax, tony, ckeepax, swarren, andy.shevchenko,
	alcooperx, bcm-kernel-feedback-list

Hello Linus,

It's me again, so I have been thinking about the problem originally
reported in: [PATCH fixes v3] pinctrl: Really force states during suspend/resume

and other similar patches a while ago, and this new version allows a platform
using pinctrl-single to specify whether its pins are going to lose their state
during a system deep sleep.

Note that this is still checked at the pinctrl_select_state() because consumers
of the pinctrl API might be calling this from their suspend/resume functions
and should not have to know whether the provider does lose its pin states.

This is against your pinctrl/for-next branch.

Thanks!

Changes in v2:

- make the property generic and not specific to pinctrl-single

Florian Fainelli (2):
  pinctrl: Allow a device to indicate when to force a state
  pinctrl: Allow indicating loss of pin states during low-power

 .../devicetree/bindings/pinctrl/pinctrl-bindings.txt    |  4 ++++
 drivers/pinctrl/core.c                                  | 17 ++++++++++++++++-
 drivers/pinctrl/core.h                                  |  4 ++++
 3 files changed, 24 insertions(+), 1 deletion(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2017-12-30 19:31 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02 23:15 [PATCH v2 0/2] pinctrl: Allow indicating loss of state across suspend/resume Florian Fainelli
2017-11-02 23:15 ` [PATCH v2 1/2] pinctrl: Allow a device to indicate when to force a state Florian Fainelli
2017-11-29 13:06   ` Linus Walleij
2017-11-29 17:01   ` Tony Lindgren
2017-11-29 17:35     ` Florian Fainelli
2017-11-29 17:45       ` Tony Lindgren
2017-11-29 18:15         ` Florian Fainelli
2017-11-29 18:27           ` Tony Lindgren
2017-11-02 23:15 ` [PATCH v2 2/2] pinctrl: Allow indicating loss of pin states during low-power Florian Fainelli
2017-11-29 13:01   ` Linus Walleij
2017-11-29 17:02     ` Tony Lindgren
2017-11-29 17:37       ` Florian Fainelli
2017-12-02 12:48         ` Linus Walleij
2017-12-10 23:38           ` Florian Fainelli
2017-12-20  7:24             ` Linus Walleij
2017-12-30 19:31               ` Florian Fainelli
2017-11-03 10:37 ` [PATCH v2 0/2] pinctrl: Allow indicating loss of state across suspend/resume Charles Keepax
2017-11-03 16:11   ` Tony Lindgren
2017-11-03 17:02     ` Florian Fainelli
2017-11-03 17:33       ` Tony Lindgren
2017-11-04  8:37         ` Charles Keepax
2017-11-07 16:00           ` Tony Lindgren
2017-11-04 12:25         ` Rafael J. Wysocki
2017-11-04 17:19           ` Florian Fainelli
2017-11-07 16:00             ` Tony Lindgren
2017-11-08  0:23               ` Rafael J. Wysocki
2017-11-08  0:28                 ` Florian Fainelli
2017-11-08  0:45                   ` Rafael J. Wysocki
2017-11-08  1:04                     ` Tony Lindgren
2017-11-08  1:02                 ` Tony Lindgren
2017-11-03 17:03   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).