Skip to content

gpiolib, sfi: introduce SFI GPIO helpers

Andy Shevchenko linux-gpio 3 versions – In review

Get series with b4
b4 am 1386681680-18324-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first · linked by author and title

  1. v6 Latest2 patches 3 repliesIn review
  2. v52 patches 3 repliesSuperseded
  3. v42 patches 7 repliesSuperseded

Changes since v6 from the cover letter

- remove FSF address
- require dev to be NULL when looking up for GPIO line

[1] https://lkml.org/lkml/2013/6/5/316
[2] http://www.spinics.net/lists/linux-acpi/msg47572.html

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2SFI: store GPIO table and export lookup functiondrivers/sfi/Makefile drivers/sfi/sfi_core.c drivers/sfi/sfi_core.h +2 more+135 -10 replies
2/2gpiolib: append SFI helpers for GPIO APIdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpiolib-sfi.c +2 more+48 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMika WesterbergAlexandre Courbot
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] gpiolib, sfi: introduce SFI GPIO helpers

Here is a sixth [1] version of the SFI GPIO helpers. This series contains SFI GPIO helpers along with the update of GPIO library to lookup for SFI resources.

It has been tested on Medfield device on top of recent linux-next-20131210 + Mika's ACPI gpio patches [2].

Changes since v6:
- remove FSF address
- require dev to be NULL when looking up for GPIO line

[1] https://lkml.org/lkml/2013/6/5/316
[2] http://www.spinics.net/lists/linux-acpi/msg47572.html

Andy Shevchenko (2):
SFI: store GPIO table and export lookup function
gpiolib: append SFI helpers for GPIO API

 drivers/gpio/Kconfig       |   4 ++
 drivers/gpio/Makefile      |   1 +
 drivers/gpio/gpiolib-sfi.c |  27 +++++++++++
 drivers/gpio/gpiolib.c     |   3 ++
 drivers/gpio/gpiolib.h     |  13 +++++
 drivers/sfi/Makefile       |   2 +-
 drivers/sfi/sfi_core.c     |   6 +++
 drivers/sfi/sfi_core.h     |   3 ++
 drivers/sfi/sfi_gpio.c     | 115 +++++++++++++++++++++++++++++++++++++++++++++
 include/linux/sfi.h        |  10 ++++
 10 files changed, 183 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpio/gpiolib-sfi.c
 create mode 100644 drivers/sfi/sfi_gpio.c
Signature · 1 line
1.8.4.4