gpio: Use modern PM macros
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest14 patches 9 repliesIn review
- v415 patches 10 repliesSuperseded
- v315 patches 10 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 15 patches | 14 replies | Superseded | |
| v1 | 16 patches | 13 replies | Superseded |
Changes in v5 from the cover letter
- collect Reviewed-by tags.
- use pm_ptr() instead of pm_sleep_ptr() for gpio-tqmx86
- drop patch5 for gpio-pxa due to maintainer's conern with memory waste
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | gpio: dwapb: Use modern PM macrosdrivers/ | +4 | 0 replies | |
| 2/14 | gpio: brcmstb: Use modern PM macrosdrivers/ | +3 | 7 replies | |
| 3/14 | gpio: htc-egpio: Use modern PM macrosdrivers/ | +8 | 0 replies | |
| 4/14 | gpio: pl061: Use modern PM macrosdrivers/ | +2 | 0 replies | |
| 5/14 | gpio: ml-ioh: Use modern PM macrosdrivers/ | +6 | 0 replies | |
| 6/14 | gpio: mlxbf2: Use modern PM macrosdrivers/ | +4 | 0 replies | |
| 7/14 | gpio: msc313: Use modern PM macrosdrivers/ | +4 | 1 reply | |
| 8/14 | gpio: omap: Use modern PM macrosdrivers/ | +7 | 0 replies | |
| 9/14 | gpio: pch: Use modern PM macrosdrivers/ | +6 | 0 replies | |
| 10/14 | gpio: tqmx86: Use modern PM macrosdrivers/ | +4 | 0 replies | |
| 11/14 | gpio: uniphier: Use modern PM macrosdrivers/ | +4 | 0 replies | |
| 12/14 | gpio: xgene: Use modern PM macrosdrivers/ | +4 | 0 replies | |
| 13/14 | gpio: xilinx: Use modern PM macrosdrivers/ | +7 | 0 replies | |
| 14/14 | gpio: zynq: Use modern PM macrosdrivers/ | +7 | 0 replies |
Reviews trailers per patch
All 14 patches have a Reviewed-by or Acked-by.
| Patch | Linus Walleij | Andy Shevchenko | Doug Berger | Florian Fainelli | Daniel Palmer |
|---|---|---|---|---|---|
| 1/14 | A-b | R-b | |||
| 2/14 | A-b | A-b | R-b | ||
| 3/14 | R-b | R-b | |||
| 4/14 | R-b A-b | R-b | |||
| 5/14 | A-b | A-b R-b | |||
| 6/14 | A-b | R-b | |||
| 7/14 | A-b | R-b | R-b | ||
| 8/14 | A-b | R-b | |||
| 9/14 | A-b | A-b R-b | |||
| 10/14 | A-b | ||||
| 11/14 | A-b | R-b | |||
| 12/14 | A-b | R-b | |||
| 13/14 | A-b | R-b | |||
| 14/14 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v5 00/14] gpio: Use modern PM macros
Use the modern PM macros for the suspend and resume functions to be automatically dropped by the compiler when CONFIG_PM or CONFIG_PM_SLEEP are disabled, without having to use #ifdef guards or __maybe_unused.
This has the advantage of always compiling these functions in, independently of any Kconfig option. Thanks to that, bugs and other regressions are subsequently easier to catch.
Almost all drivers are converted, only gpio-tegra and gpio-mlxbf are left as is, because the memory for saving HW context is not trivial, if we convert them, then the two drivers' users may complain for !CONFIG_PM && !CONFIG_PM_SLEEP case. So I didn't touch them.
patch to gpio-dwapb.c is tested on real HW, others are compile-tested only.
since v4:
- collect Reviewed-by tags.
- use pm_ptr() instead of pm_sleep_ptr() for gpio-tqmx86
- drop patch5 for gpio-pxa due to maintainer's conern with memory waste
since v3:
- fix typos.
- fix the stray change in gpio-pxa driver.
since v2:
- collect Acked-by, Reviewed-by tags.
- move the embeddng the structure for pm in gpio-dwapb out, will send it as a separate patch.
since v1:
- rebase on the latest gpio/for-next branch.
- collect Acked-by, Reviewed-by tags.
- clarify the trival memory wasted numbers with CONFIG_PM=n in the dwapb's patch commit message as suggested by Andy.
- drop patch to bt8xxx since the clean up is acchieved when switching to generic PCI pm framework.
Jisheng Zhang (14):
gpio: dwapb: Use modern PM macros
gpio: brcmstb: Use modern PM macros
gpio: htc-egpio: Use modern PM macros
gpio: pl061: Use modern PM macros
gpio: ml-ioh: Use modern PM macros
gpio: mlxbf2: Use modern PM macros
gpio: msc313: Use modern PM macros
gpio: omap: Use modern PM macros
gpio: pch: Use modern PM macros
gpio: tqmx86: Use modern PM macros
gpio: uniphier: Use modern PM macros
gpio: xgene: Use modern PM macros
gpio: xilinx: Use modern PM macros
gpio: zynq: Use modern PM macros
drivers/gpio/gpio-brcmstb.c | 12 +++--------- drivers/gpio/gpio-dwapb.c | 18 ++++-------------- drivers/gpio/gpio-htc-egpio.c | 21 ++++++++------------- drivers/gpio/gpio-ml-ioh.c | 12 ++++++------ drivers/gpio/gpio-mlxbf2.c | 8 ++++---- drivers/gpio/gpio-msc313.c | 8 ++++---- drivers/gpio/gpio-omap.c | 15 +++++++-------- drivers/gpio/gpio-pch.c | 12 ++++++------ drivers/gpio/gpio-pl061.c | 17 ++--------------- drivers/gpio/gpio-tqmx86.c | 9 ++++----- drivers/gpio/gpio-uniphier.c | 9 ++++----- drivers/gpio/gpio-xgene.c | 8 ++++---- drivers/gpio/gpio-xilinx.c | 15 +++++++-------- drivers/gpio/gpio-zynq.c | 15 +++++++-------- 14 files changed, 70 insertions(+), 109 deletions(-)
Signature · 1 line
2.51.0