devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pinctrl: Allow indicating loss of state across suspend/resume
@ 2017-09-21  1:04 Florian Fainelli
  2017-09-21  1:04 ` [PATCH 1/2] pinctrl: Allow a device to indicate when to force a state Florian Fainelli
  2017-09-21  1:04 ` [PATCH 2/2] pinctrl: single: Allow indicating loss of pin states during low-power Florian Fainelli
  0 siblings, 2 replies; 15+ messages in thread
From: Florian Fainelli @ 2017-09-21  1:04 UTC (permalink / raw)
  To: linux-kernel
  Cc: linus.walleij, swarren, andy.shevchenko, alcooperx, linux-gpio,
	devicetree, robh+dt, mark.rutland, bcm-kernel-feedback-list,
	Florian Fainelli

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.

Thanks!

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

 .../devicetree/bindings/pinctrl/pinctrl-single.txt        |  4 ++++
 drivers/pinctrl/core.c                                    | 15 +++++++++++++++
 drivers/pinctrl/core.h                                    |  4 ++++
 drivers/pinctrl/pinctrl-single.c                          |  3 +++
 4 files changed, 26 insertions(+)

-- 
2.14.1


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

end of thread, other threads:[~2017-09-27  8:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21  1:04 [PATCH 0/2] pinctrl: Allow indicating loss of state across suspend/resume Florian Fainelli
2017-09-21  1:04 ` [PATCH 1/2] pinctrl: Allow a device to indicate when to force a state Florian Fainelli
2017-09-22 11:55   ` Linus Walleij
2017-09-22 13:20     ` Charles Keepax
2017-09-22 13:57       ` Linus Walleij
2017-09-25 19:18         ` Florian Fainelli
     [not found]       ` <20170922132011.wssbhnsggteffgte-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2017-09-22 16:57         ` Florian Fainelli
2017-09-26 14:16           ` Charles Keepax
2017-09-26 17:51             ` Florian Fainelli
2017-09-27  8:26               ` Charles Keepax
2017-09-22 12:47   ` Charles Keepax
2017-09-22 16:45     ` Florian Fainelli
2017-09-21  1:04 ` [PATCH 2/2] pinctrl: single: Allow indicating loss of pin states during low-power Florian Fainelli
     [not found]   ` <20170921010421.7467-3-f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-09-22 13:03     ` Linus Walleij
2017-09-25 19:15       ` 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).