linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/10] pinctrl: Provide NOIRQ PM helper and use it
@ 2023-07-17 17:28 Andy Shevchenko
  2023-07-17 17:28 ` [PATCH v2 01/10] pm: Introduce DEFINE_NOIRQ_DEV_PM_OPS() helper Andy Shevchenko
                   ` (10 more replies)
  0 siblings, 11 replies; 70+ messages in thread
From: Andy Shevchenko @ 2023-07-17 17:28 UTC (permalink / raw)
  To: Andy Shevchenko, Mika Westerberg, Linus Walleij, Balsam CHIHI,
	Claudiu Beznea, Geert Uytterhoeven, Wolfram Sang, Thierry Reding,
	Paul Cercueil, linux-gpio, linux-kernel, linux-mediatek,
	linux-arm-kernel, linux-renesas-soc, linux-tegra, linux-pm
  Cc: Andy Shevchenko, Sean Wang, Matthias Brugger,
	AngeloGioacchino Del Regno, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Ludovic Desroches, Nicolas Ferre,
	Alexandre Belloni, Jonathan Hunter, Rafael J. Wysocki, Len Brown,
	Pavel Machek

Intel pin control drivers use NOIRQ variant of the PM callbacks.
Besides that several other drivers do similar. Provide a helper
to make them smaller and less error prone against different
kernel configurations (with possible defined but not used variables).

The idea is to have an immutable branch that PM tree can pull as well as
main pin control one. We also can do other way around, if Rafael prefers
that.

Changelog v2:
- rewritten commit message in patch 1 (Rafael)
- converted non-Intel pin control drivers as well
- added couple of kinda related patches to use pm_ptr()

Andy Shevchenko (10):
  pm: Introduce DEFINE_NOIRQ_DEV_PM_OPS() helper
  pinctrl: baytrail: Make use of pm_ptr()
  pinctrl: cherryview: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
  pinctrl: intel: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
  pinctrl: lynxpoint: Make use of pm_ptr()
  pinctrl: at91: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
  pinctrl: mediatek: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
  pinctrl: mvebu: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
  pinctrl: renesas: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
  pinctrl: tegra: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper

 drivers/pinctrl/intel/pinctrl-baytrail.c      | 11 +++--------
 drivers/pinctrl/intel/pinctrl-cherryview.c    |  9 ++-------
 drivers/pinctrl/intel/pinctrl-intel.c         |  5 +----
 drivers/pinctrl/intel/pinctrl-intel.h         |  9 ++-------
 drivers/pinctrl/intel/pinctrl-lynxpoint.c     |  7 +++----
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c |  5 +----
 drivers/pinctrl/mediatek/pinctrl-paris.c      |  9 +++------
 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c   | 14 +++-----------
 drivers/pinctrl/pinctrl-at91.c                | 10 ++++------
 drivers/pinctrl/renesas/core.c                | 16 +++++++---------
 drivers/pinctrl/tegra/pinctrl-tegra.c         |  5 +----
 include/linux/pm.h                            |  9 +++++++++
 12 files changed, 39 insertions(+), 70 deletions(-)

-- 
2.40.0.1.gaa8946217a0b


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

end of thread, other threads:[~2023-08-21 17:00 UTC | newest]

Thread overview: 70+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-17 17:28 [PATCH v2 00/10] pinctrl: Provide NOIRQ PM helper and use it Andy Shevchenko
2023-07-17 17:28 ` [PATCH v2 01/10] pm: Introduce DEFINE_NOIRQ_DEV_PM_OPS() helper Andy Shevchenko
2023-07-17 19:19   ` Paul Cercueil
2023-07-17 19:25     ` Andy Shevchenko
2023-07-18  9:55   ` Jonathan Cameron
2023-07-18 10:01   ` Geert Uytterhoeven
2023-07-20 19:00   ` Rafael J. Wysocki
2023-07-17 17:28 ` [PATCH v2 02/10] pinctrl: baytrail: Make use of pm_ptr() Andy Shevchenko
2023-07-17 19:20   ` Paul Cercueil
2023-07-18  9:53   ` Jonathan Cameron
2023-07-18 13:50     ` Andy Shevchenko
2023-07-17 17:28 ` [PATCH v2 03/10] pinctrl: cherryview: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper Andy Shevchenko
2023-07-17 19:21   ` Paul Cercueil
2023-07-17 19:27     ` Andy Shevchenko
2023-07-17 19:28       ` Paul Cercueil
2023-07-18  9:54   ` Jonathan Cameron
2023-07-18 13:51     ` Andy Shevchenko
2023-07-17 17:28 ` [PATCH v2 04/10] pinctrl: intel: " Andy Shevchenko
     [not found]   ` <c47c26ba7ea5bcbdcbe1d001b6cc527cee6c7d03.camel@crapouillou.net>
2023-07-17 19:33     ` Andy Shevchenko
2023-07-17 19:55       ` Paul Cercueil
2023-07-18 12:57         ` Andy Shevchenko
2023-07-18 13:55           ` Paul Cercueil
2023-07-18 10:04   ` Jonathan Cameron
2023-07-18 13:53     ` Andy Shevchenko
2023-07-19 10:37       ` Jonathan Cameron
2023-07-17 17:28 ` [PATCH v2 05/10] pinctrl: lynxpoint: Make use of pm_ptr() Andy Shevchenko
2023-07-17 19:23   ` Paul Cercueil
2023-07-18 10:06   ` Jonathan Cameron
2023-07-18 13:55     ` Andy Shevchenko
2023-07-17 17:28 ` [PATCH v2 06/10] pinctrl: at91: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper Andy Shevchenko
2023-07-17 19:25   ` Paul Cercueil
2023-07-17 19:35     ` Andy Shevchenko
2023-07-18 10:06   ` Jonathan Cameron
2023-07-18 14:48   ` claudiu beznea
2023-07-17 17:28 ` [PATCH v2 07/10] pinctrl: mediatek: " Andy Shevchenko
2023-07-17 19:06   ` Paul Cercueil
2023-07-17 19:36     ` Andy Shevchenko
2023-07-17 19:56       ` Paul Cercueil
2023-07-18 12:48         ` Andy Shevchenko
2023-07-18  9:47   ` AngeloGioacchino Del Regno
2023-07-18 12:46     ` Andy Shevchenko
2023-07-18 10:07   ` Jonathan Cameron
2023-07-17 17:28 ` [PATCH v2 08/10] pinctrl: mvebu: " Andy Shevchenko
2023-07-17 19:26   ` Paul Cercueil
2023-07-18 10:08   ` Jonathan Cameron
2023-07-17 17:28 ` [PATCH v2 09/10] pinctrl: renesas: " Andy Shevchenko
2023-07-17 19:12   ` Paul Cercueil
2023-07-17 19:38     ` Andy Shevchenko
2023-07-17 19:57       ` Paul Cercueil
2023-07-18 10:05     ` Geert Uytterhoeven
2023-07-18 12:43       ` Andy Shevchenko
2023-07-18 10:01   ` Geert Uytterhoeven
2023-07-18 10:10   ` Jonathan Cameron
2023-07-17 17:28 ` [PATCH v2 10/10] pinctrl: tegra: " Andy Shevchenko
2023-07-17 19:14   ` Paul Cercueil
2023-07-17 19:39     ` Andy Shevchenko
2023-07-18  7:45     ` Thierry Reding
2023-07-18  8:42       ` Paul Cercueil
2023-07-18 11:41         ` Thierry Reding
2023-07-18 11:55           ` Paul Cercueil
2023-07-18 12:50             ` Andy Shevchenko
2023-07-18 13:20             ` Thierry Reding
2023-07-18 13:48               ` Paul Cercueil
2023-07-18 12:53         ` Andy Shevchenko
2023-07-18  7:46   ` Thierry Reding
2023-07-18 10:11   ` Jonathan Cameron
2023-07-18 11:38     ` Thierry Reding
2023-07-18 12:01       ` Paul Cercueil
2023-07-18 13:07         ` Thierry Reding
2023-08-21 17:00 ` [PATCH v2 00/10] pinctrl: Provide NOIRQ PM helper and use it Andy Shevchenko

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