linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h
@ 2013-11-26 10:05 Mika Westerberg
  2013-11-26 10:05 ` [PATCH v3 1/6] ARM: tegra: add gpiod_lookup table for paz00 Mika Westerberg
                   ` (6 more replies)
  0 siblings, 7 replies; 33+ messages in thread
From: Mika Westerberg @ 2013-11-26 10:05 UTC (permalink / raw)
  To: linux-acpi
  Cc: Rafael J. Wysocki, Linus Walleij, Chris Ball, Johannes Berg,
	Rhyland Klein, Adrian Hunter, Alexandre Courbot, Mathias Nyman,
	Rob Landley, Heikki Krogerus, Stephen Warren, Thierry Reding,
	Mika Westerberg, linux-gpio, linux-kernel

Hi all,

Now that the mainline kernel has full ACPI support for the GPIO descriptor
interface we can get rid of ACPI specific GPIO functions in favor of GPIO
descriptor (gpiod_*) interfaces.

This series first converts the existing two users to this interface and
then modifies gpiolib and gpiolib-acpi so that the ACPI functions are only
called internally in drivers/gpio. We then remove the acpi_gpio.h and
require all users to use gpiod_* interfaces.

This is third version of the series. Changes to the previous version [1]:

 * Instead of adding temporary conversion from GPIO descriptors to numbers
   in rfkill-gpio.c we now first introduce a lookup table for paz00 and
   in the next patch convert the driver to use only GPIO descriptors.

 * Corrected a typo in subject of patch [3/6] "covert" -> "convert".

 * Corrected a typo in changelog of patch [5/6] "user" -> "use".

 * Dropped EXPORT_SYMBOL_GPL(acpi_get_gpiod_by_index) from patch [5/6] that
   was left there accidentally.

Since the patches in the series depend on each other I would propose this
to be merged via GPIO tree.

[1] http://www.spinics.net/lists/linux-acpi/msg47472.html (v2 of the series)

Heikki Krogerus (2):
  ARM: tegra: add gpiod_lookup table for paz00
  net: rfkill: gpio: convert to descriptor-based GPIO interface

Mika Westerberg (4):
  mmc: sdhci-acpi: convert to use GPIO descriptor API
  gpio / ACPI: register to ACPI events automatically
  gpio / ACPI: get rid of acpi_gpio.h
  Documentation / ACPI: update to GPIO descriptor API

 Documentation/acpi/enumeration.txt | 36 ++++--------------
 arch/arm/mach-tegra/board-paz00.c  |  7 ++++
 drivers/gpio/gpiolib-acpi.c        | 21 ++++++++---
 drivers/gpio/gpiolib.c             |  5 ++-
 drivers/gpio/gpiolib.h             | 46 +++++++++++++++++++++++
 drivers/mmc/host/sdhci-acpi.c      | 26 ++++++-------
 drivers/pinctrl/pinctrl-baytrail.c |  4 --
 include/linux/acpi_gpio.h          | 51 -------------------------
 net/rfkill/rfkill-gpio.c           | 77 +++++++++++++++++---------------------
 9 files changed, 125 insertions(+), 148 deletions(-)
 create mode 100644 drivers/gpio/gpiolib.h
 delete mode 100644 include/linux/acpi_gpio.h

-- 
1.8.4.3


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

end of thread, other threads:[~2014-01-08 10:15 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 10:05 [PATCH v3 0/6] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h Mika Westerberg
2013-11-26 10:05 ` [PATCH v3 1/6] ARM: tegra: add gpiod_lookup table for paz00 Mika Westerberg
2013-11-26 20:33   ` Stephen Warren
2013-11-27  2:28     ` Alex Courbot
2013-11-27 16:47   ` Rhyland Klein
2013-11-28  2:47     ` Alexandre Courbot
2013-11-28  9:09       ` Marc Dietrich
2013-11-28  9:32         ` Thierry Reding
2013-11-28 10:20           ` Marc Dietrich
2013-11-28 11:06             ` Thierry Reding
2013-11-28 12:54               ` Marc Dietrich
2013-11-29 11:03                 ` Thierry Reding
2013-12-03 12:49   ` [PATCHv4] " Heikki Krogerus
2013-12-03 13:10     ` Mika Westerberg
2013-12-03 20:21     ` Stephen Warren
2013-12-04  5:18     ` Alex Courbot
2013-12-11 11:51     ` Linus Walleij
2013-11-26 10:05 ` [PATCH v3 2/6] net: rfkill: gpio: convert to descriptor-based GPIO interface Mika Westerberg
2013-11-27  2:30   ` Alex Courbot
2013-12-11 12:00   ` Linus Walleij
2013-12-23 10:54     ` Mika Westerberg
2013-12-23 21:14       ` Johannes Berg
2014-01-07 17:43         ` Linus Walleij
2013-11-26 10:05 ` [PATCH v3 3/6] mmc: sdhci-acpi: convert to use GPIO descriptor API Mika Westerberg
2014-01-07 17:47   ` Linus Walleij
2013-11-26 10:05 ` [PATCH v3 4/6] gpio / ACPI: register to ACPI events automatically Mika Westerberg
2014-01-07 17:50   ` Linus Walleij
2014-01-08 10:22     ` Mika Westerberg
2013-11-26 10:05 ` [PATCH v3 5/6] gpio / ACPI: get rid of acpi_gpio.h Mika Westerberg
2013-11-28 14:41   ` Linus Walleij
2013-11-26 10:05 ` [PATCH v3 6/6] Documentation / ACPI: update to GPIO descriptor API Mika Westerberg
2013-11-28 14:36 ` [PATCH v3 0/6] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h Linus Walleij
2013-11-28 17:04   ` Mika Westerberg

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