linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Add pinctrl_pm_select_init_state helper function
@ 2025-08-13  8:11 Christian Bruel
  2025-08-13  8:11 ` [PATCH v1 1/2] Documentation: pinctrl: Describe PM helper functions for standard states Christian Bruel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Christian Bruel @ 2025-08-13  8:11 UTC (permalink / raw)
  To: linus.walleij, corbet, bhelgaas, mani
  Cc: linux-gpio, linux-doc, linux-kernel, Christian Bruel

Some platforms need to set the pinctrl to an initial state during
pm_resume, just like during probe. To achieve this, the missing function
pinctrl_pm_select_init_state() is added to the list of already existing
pinctrl PM helper functions.

This allows a driver to use the pinctrl init and default states in the
pm_runtime platform resume handlers, just as in probe.

Additionally the missing documentation describing these pinctrl standard
states used during probe has been added.

This fixes a build issue for the STM32MP25 PCIe staged in the pcie tree,
id 5a972a01e24b
 
Changes in v1:
   - Add missing information about PM helper functions.

Christian Bruel (2):
  Documentation: pinctrl: Describe PM helper functions for standard
    states.
  pinctrl: Add pinctrl_pm_select_init_state helper function

 Documentation/driver-api/pin-control.rst | 58 ++++++++++++++++++++++--
 drivers/pinctrl/core.c                   | 13 ++++++
 include/linux/pinctrl/consumer.h         | 10 ++++
 3 files changed, 78 insertions(+), 3 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-08-18 23:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13  8:11 [PATCH v1 0/2] Add pinctrl_pm_select_init_state helper function Christian Bruel
2025-08-13  8:11 ` [PATCH v1 1/2] Documentation: pinctrl: Describe PM helper functions for standard states Christian Bruel
2025-08-18 15:31   ` Linus Walleij
2025-08-13  8:11 ` [PATCH v1 2/2] pinctrl: Add pinctrl_pm_select_init_state helper function Christian Bruel
2025-08-18 15:31   ` Linus Walleij
2025-08-18 15:32 ` [PATCH v1 0/2] " Linus Walleij
2025-08-18 23:06   ` Bjorn Helgaas

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).