Skip to content

pinctrl: Allow indicating loss of state across suspend/resume

Florian Fainelli linux-devicetree linux-gpio linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 28 repliesIn review
  2. v12 patches 12 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pinctrl: Allow a device to indicate when to force a statedrivers/pinctrl/core.c drivers/pinctrl/core.h+17 -16 replies
2/2pinctrl: Allow indicating loss of pin states during low-powerDocumentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt drivers/pinctrl/core.c+7 -07 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchTony Lindgren
SeriesNot-Yet-Signed-off-by
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] pinctrl: Allow indicating loss of state across suspend/resume

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(-)
Signature · 1 line
2.9.3