[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220903-gpiod_get_from_of_node-remove-v1-0-b29adfb27a6c@gmail.com>
Date: Sun, 4 Sep 2022 23:30:52 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Thierry Reding <thierry.reding@...il.com>,
Mark Brown <broonie@...nel.org>,
Matti Vaittinen <mazziesaccount@...il.com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Claudiu Beznea <claudiu.beznea@...rochip.com>,
Liam Girdwood <lgirdwood@...il.com>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Guenter Roeck <linux@...ck-us.net>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Linus Walleij <linus.walleij@...aro.org>,
Felipe Balbi <balbi@...nel.org>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Krzysztof Wilczyński <kw@...ux.com>,
Vignesh Raghavendra <vigneshr@...com>,
Daniel Vetter <daniel@...ll.ch>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Marc Zyngier <maz@...nel.org>,
Richard Weinberger <richard@....at>,
David Airlie <airlied@...ux.ie>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alyssa Rosenzweig <alyssa@...enzweig.io>,
Bartosz Golaszewski <brgl@...ev.pl>,
Jonathan Hunter <jonathanh@...dia.com>,
Rob Herring <robh@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Pali Rohár <pali@...nel.org>
Cc: linux-watchdog@...r.kernel.org, linux-usb@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-pci@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v1 00/11] Get rid of [devm_]gpiod_get_from_of_node() public APIs
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@...il.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
Powered by blists - more mailing lists