linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] gpio / ACPI: Rework ACPI GPIO events and add support for operation regions
@ 2014-03-10 12:54 Mika Westerberg
  2014-03-10 12:54 ` [PATCH v2 1/5] gpiolib: Allow GPIO chips to request their own GPIOs Mika Westerberg
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Mika Westerberg @ 2014-03-10 12:54 UTC (permalink / raw)
  To: Linus Walleij, Rafael J. Wysocki
  Cc: Alexandre Courbot, Lan Tianyu, Lv Zheng, Alan Cox, Mathias Nyman,
	linux-acpi, linux-kernel, Mika Westerberg

This is second revision of the patch series. The first version is available
for example here [1].

This series tries to add support for two new ACPI 5.0 features that were
either missing on incomplete in the current Linux kernel:

 * ACPI GPIO signaled events
 * ACPI GPIO operation regions

The current ACPI GPIO support code already added preliminary support for
GPIO signaled events but at the time we didn't have real hardware with real
GPIO triggered events so it was never properly tested. Now there are
devices like Asus T100TA transformer that uses these events so we were able
to see that the ASL code is being executed when a GPIO interrupt is
triggered.

Changes to the previous version:

 * Moved module refcount manipulation to gpiod_request().
 * Call achip acpi_gpio instead.
 * Fold patches [2,4/6] into one [2/5].
 * Update changelog for [3/5] to state that no functional changes, it is
   rename only.
 * Explain ACPI operations regions a bit better in [5/5].

These patches apply on top of two patches from Alexandre Courbot [2] which
introduce gpiochip_get_desc() function.

[1] http://linux-kernel.2935.n7.nabble.com/PATCH-0-6-gpio-ACPI-Rework-ACPI-GPIO-events-and-add-support-for-operation-regions-td811694.html
[2] https://lkml.org/lkml/2014/2/9/24

Mika Westerberg (5):
  gpiolib: Allow GPIO chips to request their own GPIOs
  gpio / ACPI: Allocate ACPI specific data directly in acpi_gpiochip_add()
  gpio / ACPI: Rename acpi_gpio_evt_pin to acpi_gpio_event
  gpio / ACPI: Rework ACPI GPIO event handling
  gpio / ACPI: Add support for ACPI GPIO operation regions

 drivers/gpio/gpiolib-acpi.c | 465 ++++++++++++++++++++++++++++++++------------
 drivers/gpio/gpiolib.c      | 103 +++++++---
 drivers/gpio/gpiolib.h      |   3 +
 3 files changed, 421 insertions(+), 150 deletions(-)

-- 
1.9.0


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

end of thread, other threads:[~2014-03-17  9:37 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 12:54 [PATCH v2 0/5] gpio / ACPI: Rework ACPI GPIO events and add support for operation regions Mika Westerberg
2014-03-10 12:54 ` [PATCH v2 1/5] gpiolib: Allow GPIO chips to request their own GPIOs Mika Westerberg
2014-03-13  4:46   ` Alexandre Courbot
2014-03-10 12:54 ` [PATCH v2 2/5] gpio / ACPI: Allocate ACPI specific data directly in acpi_gpiochip_add() Mika Westerberg
2014-03-10 12:54 ` [PATCH v2 3/5] gpio / ACPI: Rename acpi_gpio_evt_pin to acpi_gpio_event Mika Westerberg
2014-03-10 12:54 ` [PATCH v2 4/5] gpio / ACPI: Rework ACPI GPIO event handling Mika Westerberg
2014-03-10 12:54 ` [PATCH v2 5/5] gpio / ACPI: Add support for ACPI GPIO operation regions Mika Westerberg
2014-03-13 14:32   ` Linus Walleij
2014-03-13 15:05     ` Cox, Alan
2014-03-14 10:50       ` Linus Walleij
2014-03-13 15:18     ` Mika Westerberg
2014-03-14 10:53       ` Linus Walleij
2014-03-14 11:11         ` Mika Westerberg
2014-03-14 15:58   ` [PATCH v3 " Mika Westerberg
2014-03-14 16:25     ` Linus Walleij
2014-03-17  9:44       ` Mika Westerberg
2014-03-13 14:17 ` [PATCH v2 0/5] gpio / ACPI: Rework ACPI GPIO events and add support for " Linus Walleij
2014-03-13 17:14   ` 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).