linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] gpiolib: convert ACPI gpio helpers to gpiod_ interfaces
@ 2013-10-10  8:01 Mika Westerberg
  2013-10-10  8:01 ` [PATCH v2 1/5] gpiolib / ACPI: move acpi_gpiochip_free_interrupts next to the request function Mika Westerberg
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Mika Westerberg @ 2013-10-10  8:01 UTC (permalink / raw)
  To: linux-gpio
  Cc: Rafael J. Wysocki, Linus Walleij, Grant Likely, Mathias Nyman,
	Alexandre Courbot, Rob Landley, linux-acpi, linux-kernel,
	Mika Westerberg

Hi,

This is an updated version of the patches that convert ACPI GPIO helpers to
the new gpiod_ interfaces. The previous version can be seen here:

 http://www.spinics.net/lists/linux-acpi/msg46542.html

Changes to the previous version:
 * Added check that pin is in range of available pins in acpi_get_gpiod()
 * Dropped acpi_get_gpio()
 * Added acks from Rafael and Alexandre

We still have acpi_get_gpio(d)_by_index() exported outside of gpiolib-acpi.c
but the plan is to get rid of acpi_gpio.h completely in near future.

The series is based on the latest gpiod_ patches from Alexandre Courbot and
tested on Intel Haswell machine.

Mika Westerberg (5):
  gpiolib / ACPI: move acpi_gpiochip_free_interrupts next to the request function
  gpiolib / ACPI: convert to gpiod interfaces
  gpiolib / ACPI: add ACPI support for gpiod_get_index()
  gpiolib / ACPI: allow passing GPIOF_ACTIVE_LOW for GpioInt resources
  gpiolib / ACPI: document the GPIO descriptor based interface

 Documentation/acpi/enumeration.txt |  26 ++++++--
 drivers/gpio/gpiolib-acpi.c        | 129 +++++++++++++++++++------------------
 drivers/gpio/gpiolib.c             |  20 ++++++
 include/linux/acpi_gpio.h          |  31 +++++----
 4 files changed, 127 insertions(+), 79 deletions(-)

-- 
1.8.4.rc3


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

end of thread, other threads:[~2013-10-21  7:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10  8:01 [PATCH v2 0/5] gpiolib: convert ACPI gpio helpers to gpiod_ interfaces Mika Westerberg
2013-10-10  8:01 ` [PATCH v2 1/5] gpiolib / ACPI: move acpi_gpiochip_free_interrupts next to the request function Mika Westerberg
2013-10-11 11:00   ` Linus Walleij
2013-10-11 16:42     ` Alexandre Courbot
2013-10-14  6:58       ` Linus Walleij
2013-10-14 10:43         ` Mika Westerberg
2013-10-14 16:55         ` Alexandre Courbot
2013-10-10  8:01 ` [PATCH v2 2/5] gpiolib / ACPI: convert to gpiod interfaces Mika Westerberg
2013-10-10  8:01 ` [PATCH v2 3/5] gpiolib / ACPI: add ACPI support for gpiod_get_index() Mika Westerberg
2013-10-10  8:01 ` [PATCH v2 4/5] gpiolib / ACPI: allow passing GPIOF_ACTIVE_LOW for GpioInt resources Mika Westerberg
2013-10-10  8:01 ` [PATCH v2 5/5] gpiolib / ACPI: document the GPIO descriptor based interface Mika Westerberg
2013-10-19 21:35   ` Linus Walleij
2013-10-21  7:06     ` 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).