linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 00/11] Get rid of [devm_]gpiod_get_from_of_node() public APIs
@ 2022-09-05  6:30 Dmitry Torokhov
  2022-09-05  6:30 ` [PATCH v1 01/11] PCI: tegra: switch to using devm_fwnode_gpiod_get Dmitry Torokhov
                   ` (13 more replies)
  0 siblings, 14 replies; 60+ messages in thread
From: Dmitry Torokhov @ 2022-09-05  6:30 UTC (permalink / raw)
  To: Thierry Reding, Mark Brown, Matti Vaittinen, Lorenzo Pieralisi,
	Claudiu Beznea, Liam Girdwood, Wim Van Sebroeck,
	Greg Kroah-Hartman, Guenter Roeck, Miquel Raynal, Linus Walleij,
	Felipe Balbi, Alexandre Belloni, Krzysztof Wilczyński,
	Vignesh Raghavendra, Daniel Vetter, Thomas Petazzoni,
	Alexandre Torgue, Marc Zyngier, Richard Weinberger, David Airlie,
	Nicolas Ferre, Alyssa Rosenzweig, Bartosz Golaszewski,
	Jonathan Hunter, Rob Herring, Maxime Coquelin, Bjorn Helgaas,
	Pali Rohár
  Cc: linux-watchdog, linux-usb, linux-gpio, linux-pci, linux-tegra,
	linux-mtd, linux-kernel, dri-devel, linux-stm32,
	linux-arm-kernel

I would like to stop exporting OF-specific [devm_]gpiod_get_from_of_node()
so that gpiolib can be cleaned a bit. We can do that by switching drivers
to use generic fwnode API ([devm_]fwnode_gpiod_get()). By doing so we open
the door to augmenting device tree and ACPI information through secondary
software properties (once we teach gpiolib how to handle those).

I hope that relevant maintainers will take patches through their trees and
then we could merge the last one some time after -rc1.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

---
Dmitry Torokhov (11):
      PCI: tegra: switch to using devm_fwnode_gpiod_get
      drm/tegra: switch to using devm_fwnode_gpiod_get
      mtd: rawnand: stm32_fmc2: switch to using devm_fwnode_gpiod_get()
      usb: phy: tegra: switch to using devm_gpiod_get()
      usb: gadget: udc: at91: switch to using fwnode_gpiod_get_index()
      PCI: aardvark: switch to using devm_gpiod_get_optional()
      PCI: apple: switch to using fwnode_gpiod_get_index()
      regulator: bd71815: switch to using devm_fwnode_gpiod_get()
      regulator: bd9576: switch to using devm_fwnode_gpiod_get()
      watchdog: bd9576_wdt: switch to using devm_fwnode_gpiod_get()
      gpiolib: of: remove [devm_]gpiod_get_from_of_node() APIs

 drivers/gpio/gpiolib-devres.c          | 55 ----------------------------------
 drivers/gpio/gpiolib-of.c              |  1 -
 drivers/gpio/gpiolib-of.h              | 13 ++++++++
 drivers/gpu/drm/tegra/output.c         | 10 +++----
 drivers/mtd/nand/raw/stm32_fmc2_nand.c |  5 ++--
 drivers/pci/controller/pci-aardvark.c  | 23 +++++++-------
 drivers/pci/controller/pci-tegra.c     |  9 +++---
 drivers/pci/controller/pcie-apple.c    |  4 +--
 drivers/regulator/bd71815-regulator.c  |  7 ++---
 drivers/regulator/bd9576-regulator.c   | 17 ++++++-----
 drivers/usb/gadget/udc/at91_udc.c      |  8 +++--
 drivers/usb/phy/phy-tegra-usb.c        | 14 ++++++---
 drivers/watchdog/bd9576_wdt.c          | 51 ++++++++++++++++++-------------
 include/linux/gpio/consumer.h          | 48 -----------------------------
 14 files changed, 96 insertions(+), 169 deletions(-)
---
base-commit: 7fd22855300e693668c3397771b3a2b3948f827a
change-id: 20220903-gpiod_get_from_of_node-remove-de3032fc01de

Best regards,
-- 
Dmitry


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

end of thread, other threads:[~2022-10-28  1:06 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05  6:30 [PATCH v1 00/11] Get rid of [devm_]gpiod_get_from_of_node() public APIs Dmitry Torokhov
2022-09-05  6:30 ` [PATCH v1 01/11] PCI: tegra: switch to using devm_fwnode_gpiod_get Dmitry Torokhov
2022-09-05  7:19   ` Pali Rohár
2022-09-05 10:49     ` Andy Shevchenko
2022-09-05 10:53       ` Pali Rohár
2022-09-05 10:54         ` Andy Shevchenko
2022-09-05 10:54       ` Andy Shevchenko
2022-09-05 22:49     ` Dmitry Torokhov
2022-09-08  8:13   ` Linus Walleij
2022-09-05  6:30 ` [PATCH v1 02/11] drm/tegra: " Dmitry Torokhov
2022-09-05 10:57   ` Andy Shevchenko
2022-09-05 19:37     ` Dmitry Torokhov
2022-09-05 21:03       ` Linus Walleij
2022-09-05 22:08         ` Dmitry Torokhov
2022-09-05  6:30 ` [PATCH v1 03/11] mtd: rawnand: stm32_fmc2: switch to using devm_fwnode_gpiod_get() Dmitry Torokhov
2022-09-20  8:33   ` Miquel Raynal
2022-09-05  6:30 ` [PATCH v1 04/11] usb: phy: tegra: switch to using devm_gpiod_get() Dmitry Torokhov
2022-09-05 10:59   ` Andy Shevchenko
2022-09-05 19:39     ` Dmitry Torokhov
2022-09-05 19:41       ` Andy Shevchenko
2022-09-05 19:51         ` Dmitry Torokhov
2022-09-05 19:55           ` Andy Shevchenko
2022-09-05 22:07             ` Guenter Roeck
2022-09-06 12:27               ` Andy Shevchenko
2022-09-05  6:30 ` [PATCH v1 05/11] usb: gadget: udc: at91: switch to using fwnode_gpiod_get_index() Dmitry Torokhov
2022-09-05  6:30 ` [PATCH v1 06/11] PCI: aardvark: switch to using devm_gpiod_get_optional() Dmitry Torokhov
2022-09-05  7:00   ` Pali Rohár
2022-09-05 10:47     ` Andy Shevchenko
2022-09-05 19:54       ` Dmitry Torokhov
2022-09-05 22:54     ` Dmitry Torokhov
2022-09-05 23:10       ` Pali Rohár
2022-09-05 23:18         ` Dmitry Torokhov
2022-09-08  8:32   ` Linus Walleij
2022-09-05  6:30 ` [PATCH v1 07/11] PCI: apple: switch to using fwnode_gpiod_get_index() Dmitry Torokhov
2022-09-06  0:19   ` Dmitry Torokhov
2022-09-08  8:33     ` Linus Walleij
2022-09-05  6:31 ` [PATCH v1 08/11] regulator: bd71815: switch to using devm_fwnode_gpiod_get() Dmitry Torokhov
2022-09-05  9:55   ` Matti Vaittinen
2022-09-05 10:42   ` Andy Shevchenko
2022-09-08  8:10   ` Linus Walleij
2022-09-05  6:31 ` [PATCH v1 09/11] regulator: bd9576: " Dmitry Torokhov
2022-09-05  9:56   ` Matti Vaittinen
2022-09-05 10:40   ` Andy Shevchenko
2022-09-05 13:19     ` Matti Vaittinen
2022-09-05 13:23       ` Andy Shevchenko
2022-09-05  6:31 ` [PATCH v1 10/11] watchdog: bd9576_wdt: " Dmitry Torokhov
2022-09-05 11:09   ` Andy Shevchenko
2022-09-05 15:13     ` Guenter Roeck
2022-09-05 15:21       ` Andy Shevchenko
2022-09-05 15:49         ` Guenter Roeck
2022-09-05 19:47           ` Dmitry Torokhov
2022-09-05 22:09             ` Guenter Roeck
2022-09-07  2:00               ` Dmitry Torokhov
2022-09-08  8:38   ` Linus Walleij
2022-09-05  6:31 ` [PATCH v1 11/11] gpiolib: of: remove [devm_]gpiod_get_from_of_node() APIs Dmitry Torokhov
2022-09-05 10:40   ` Linus Walleij
2022-09-05  7:08 ` [PATCH v1 00/11] Get rid of [devm_]gpiod_get_from_of_node() public APIs Greg Kroah-Hartman
2022-09-05 11:13 ` Andy Shevchenko
2022-10-27 13:38 ` (subset) " Lorenzo Pieralisi
2022-10-28  1:06   ` Dmitry Torokhov

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