lkml.org 
[lkml]   [2013]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 0/7] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h
Date
On Friday, November 22, 2013 02:14:27 PM Mika Westerberg wrote:
> 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.
>
> This is second version of the series. Changes to the previous [1]:
> * paz00 is passing the lookup table so that we don't need to have gpio
> conversion function in rfkill-gpio.c anymore.
> * Corrected sdhci-acpi.c to pass con_id and added call to
> gpiod_direction_input().
>
> 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.
>
> [1] https://lkml.org/lkml/2013/11/21/317
>
> Heikki Krogerus (3):
> net: rfkill: gpio: convert to descriptor-based GPIO interface
> ARM: tegra: add gpiod_lookup table for paz00
> net: rfkill: gpio: remove gpio conversion support
>
> 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 ++++--------------
> arch/arm/mach-tegra/board-paz00.c | 9 ++++-
> 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 | 77 +++++++++++++++++---------------------
> 9 files changed, 125 insertions(+), 149 deletions(-)
> create mode 100644 drivers/gpio/gpiolib.h
> delete mode 100644 include/linux/acpi_gpio.h

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

for the ACPI-related material in this series.

Thanks,
Rafael



\
 
 \ /
  Last update: 2013-11-22 14:01    [W:0.189 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site