From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: linux-acpi@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>,
Chris Ball <cjb@laptop.org>,
Johannes Berg <johannes@sipsolutions.net>,
Rhyland Klein <rklein@nvidia.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Alexandre Courbot <acourbot@nvidia.com>,
Mathias Nyman <mathias.nyman@linux.intel.com>,
Rob Landley <rob@landley.net>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Thierry Reding <thierry.reding@gmail.com>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/7] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h
Date: Fri, 22 Nov 2013 13:41:35 +0100 [thread overview]
Message-ID: <9252491.gfcLFPm9bi@vostro.rjw.lan> (raw)
In-Reply-To: <1385122474-14926-1-git-send-email-mika.westerberg@linux.intel.com>
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
prev parent reply other threads:[~2013-11-22 12:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-22 12:14 Mika Westerberg
2013-11-22 12:14 ` [PATCH v2 1/7] net: rfkill: gpio: convert to descriptor-based GPIO interface Mika Westerberg
2013-11-22 12:14 ` [PATCH v2 2/7] ARM: tegra: add gpiod_lookup table for paz00 Mika Westerberg
2013-11-22 18:40 ` Stephen Warren
2013-11-23 5:36 ` Alexandre Courbot
2013-11-22 12:14 ` [PATCH v2 3/7] net: rfkill: gpio: remove gpio conversion support Mika Westerberg
2013-11-22 18:40 ` Stephen Warren
2013-11-22 20:56 ` Heikki Krogerus
2013-11-22 21:00 ` Stephen Warren
2013-11-25 8:35 ` Heikki Krogerus
2013-11-23 8:59 ` Alexandre Courbot
2013-11-25 8:41 ` Heikki Krogerus
2013-11-25 8:47 ` Alex Courbot
2013-11-25 9:02 ` Heikki Krogerus
2013-11-25 9:05 ` Alex Courbot
2013-11-22 12:14 ` [PATCH v2 4/7] mmc: sdhci-acpi: covert to use GPIO descriptor API Mika Westerberg
2013-11-22 13:39 ` Adrian Hunter
2013-11-23 9:23 ` Alexandre Courbot
2013-11-22 12:14 ` [PATCH v2 5/7] gpio / ACPI: register to ACPI events automatically Mika Westerberg
2013-11-22 12:14 ` [PATCH v2 6/7] gpio / ACPI: get rid of acpi_gpio.h Mika Westerberg
2013-11-23 9:21 ` Alexandre Courbot
2013-11-25 8:54 ` Mika Westerberg
2013-11-25 8:51 ` Alex Courbot
2013-11-25 10:18 ` Mika Westerberg
2013-11-22 12:14 ` [PATCH v2 7/7] Documentation / ACPI: update to GPIO descriptor API Mika Westerberg
2013-11-22 12:41 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9252491.gfcLFPm9bi@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=acourbot@nvidia.com \
--cc=adrian.hunter@intel.com \
--cc=cjb@laptop.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=johannes@sipsolutions.net \
--cc=linus.walleij@linaro.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathias.nyman@linux.intel.com \
--cc=mika.westerberg@linux.intel.com \
--cc=rklein@nvidia.com \
--cc=rob@landley.net \
--cc=swarren@wwwdotorg.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®