[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230717172821.62827-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 17 Jul 2023 20:28:11 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Linus Walleij <linus.walleij@...aro.org>,
Balsam CHIHI <bchihi@...libre.com>,
Claudiu Beznea <claudiu.beznea@...rochip.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Thierry Reding <thierry.reding@...il.com>,
Paul Cercueil <paul@...pouillou.net>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
linux-renesas-soc@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-pm@...r.kernel.org
Cc: Andy Shevchenko <andy@...nel.org>,
Sean Wang <sean.wang@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Andrew Lunn <andrew@...n.ch>,
Gregory Clement <gregory.clement@...tlin.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Ludovic Desroches <ludovic.desroches@...rochip.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Jonathan Hunter <jonathanh@...dia.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <len.brown@...el.com>, Pavel Machek <pavel@....cz>
Subject: [PATCH v2 00/10] pinctrl: Provide NOIRQ PM helper and use it
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
Powered by blists - more mailing lists