linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h
@ 2013-11-21 14:45 Mika Westerberg
  2013-11-21 14:45 ` [PATCH 1/5] net: rfkill: gpio: convert to descriptor-based GPIO interface Mika Westerberg
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Mika Westerberg @ 2013-11-21 14:45 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, 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 user gpiod_* interfaces.

I suppose it would make sense to merge the whole series via GPIO or ACPI
trees because there's a dependency that the first two patches need to be
applied before last three. Otherwise the drivers in question fail to
compile.

Thanks.

Heikki Krogerus (1):
  net: rfkill: gpio: convert to descriptor-based GPIO interface

Mika Westerberg (4):
  mmc: sdhci-acpi: covert 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 +++----------
 drivers/gpio/gpiolib-acpi.c        |  20 +++++--
 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           | 108 +++++++++++++++++++++++--------------
 8 files changed, 150 insertions(+), 146 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] 15+ messages in thread

end of thread, other threads:[~2013-11-22 10:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21 14:45 [PATCH 0/5] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h Mika Westerberg
2013-11-21 14:45 ` [PATCH 1/5] net: rfkill: gpio: convert to descriptor-based GPIO interface Mika Westerberg
2013-11-21 15:24   ` Heikki Krogerus
2013-11-21 17:05     ` Rhyland Klein
2013-11-21 17:22       ` Mika Westerberg
2013-11-21 21:46         ` Rafael J. Wysocki
2013-11-21 15:32   ` Andy Shevchenko
2013-11-22 10:50     ` Heikki Krogerus
2013-11-21 14:45 ` [PATCH 2/5] mmc: sdhci-acpi: covert to use GPIO descriptor API Mika Westerberg
2013-11-22  8:53   ` Adrian Hunter
2013-11-22 10:18     ` Mika Westerberg
2013-11-21 14:45 ` [PATCH 3/5] gpio / ACPI: register to ACPI events automatically Mika Westerberg
2013-11-21 14:45 ` [PATCH 4/5] gpio / ACPI: get rid of acpi_gpio.h Mika Westerberg
2013-11-21 14:45 ` [PATCH 5/5] Documentation / ACPI: update to GPIO descriptor API Mika Westerberg
2013-11-21 15:01 ` [PATCH 0/5] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h Johannes Berg

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