gpiolib: more helpers and fwnode conversion
Get series with b4
b4 am [email protected]Versions newest first
- v5 Latest6 patches 6 repliesIn review
Changes in v5 from the cover letter
- dropped tested patches (this series based on them, though)
- introduced a new helper (thanks Marek and Martin for reporting an issue)
- redone Armada and Meson code using newly introduced helper
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | gpiolib: Introduce a helper to get first GPIO controller nodeinclude/ | +10 | 4 replies | |
| 2/6 | pinctrl: armada-37xx: Switch to use fwnode instead of of_nodedrivers/ | +7 | 0 replies | |
| 3/6 | pinctrl: armada-37xx: Reuse GPIO fwnode in armada_37xx_irqchip_register()drivers/ | +3 | 0 replies | |
| 4/6 | pinctrl: meson: Rename REG_* to MESON_REG_*drivers/ drivers/ | +26 | 0 replies | |
| 5/6 | pinctrl: meson: Enable COMPILE_TESTdrivers/ | +1 | 0 replies | |
| 6/6 | pinctrl: meson: Replace custom code by gpiochip_node_count() calldrivers/ | +12 | 0 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Neil Armstrong | Marek Szyprowski | Linus Walleij |
|---|---|---|---|
| Series | T-b | A-b | |
| 1/6 | |||
| 2/6 | |||
| 3/6 | |||
| 4/6 | R-b | ||
| 5/6 | R-b | ||
| 6/6 | 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 3 reviewers.
Cover letter [PATCH v5 0/6] gpiolib: more helpers and fwnode conversion
This is a spin-off (*) of the previous work of switching GPIO library to use fwnode instead of of_node. Here we introduce a couple of a new macro helpers, which allows to switch some of the drivers to use fwnode and partially fwnode APIs. As a result of this cleanup a few drivers switched to use GPIO fwnode instead of of_node.
*) it's subset of it with a new (patch 1) helper.
Marek, Martin, can you give this a try?
This requires at least two patches for GPIO library to be applied.
Bart, Linus, I can take it thru my tree with an immutable branch if it's the way you prefer, otherwise please suggest on how to proceed.
Changelog v5:
- dropped tested patches (this series based on them, though)
- introduced a new helper (thanks Marek and Martin for reporting an issue)
- redone Armada and Meson code using newly introduced helper
Changelog v4:
- fixed compilation of the Samsung pin control drivers (LKP)
- explained in the commit message why namespacing is good for meson defs
- added tag to one of meson patches (Neil)
Changelog v3:
- moved count initialization to the definition in patch 2 (Geert)
- replaced of_args by args, used %pfwP in patch 7 (Geert)
- fixed kernel doc warning in patch 7
- added tags to patches 1, 2, 6, and 7 (Geert)
- added tag to patch 4 (Fabien)
- renamed MREG to MESON_REG in patch 9 (Neil)
- added tag to patch 10 (Neil)
- used --base for cover-letter
Changelog v2:
- properly based, so kbuild bot may test it (LKP)
- fixed typo in the macro (Geert)
- split to two macro helpers and rename the gpiochip_count()
- tagged one of stm32 and one of meson patches (Fabien, Neil)
- unified previously standalone armada patch
- due to above rewrote the armada patch from v1 completely (Sergey)
- added a lot of a new patches
- compile tested all of them on x86
Andy Shevchenko (6):
gpiolib: Introduce a helper to get first GPIO controller node
pinctrl: armada-37xx: Switch to use fwnode instead of of_node
pinctrl: armada-37xx: Reuse GPIO fwnode in
armada_37xx_irqchip_register()
pinctrl: meson: Rename REG_* to MESON_REG_*
pinctrl: meson: Enable COMPILE_TEST
pinctrl: meson: Replace custom code by gpiochip_node_count() call
drivers/pinctrl/meson/Kconfig | 2 +- drivers/pinctrl/meson/pinctrl-meson.c | 52 ++++++++++----------- drivers/pinctrl/meson/pinctrl-meson.h | 28 +++++------ drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 34 ++++---------- include/linux/gpio/driver.h | 10 ++++ 5 files changed, 59 insertions(+), 67 deletions(-)
Signature · 1 line
2.35.1