From: Andy Shevchenko Subject: [PATCH v5 0/2] gpiolib, sfi: introduce SFI GPIO helpers Date: Mon, 9 Dec 2013 16:46:59 +0200 Message-ID: <1386600421-16463-1-git-send-email-andriy.shevchenko@linux.intel.com> Return-path: Received: from mga02.intel.com ([134.134.136.20]:21725 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760763Ab3LIOrh (ORCPT ); Mon, 9 Dec 2013 09:47:37 -0500 Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Alexandre Courbot , linux-gpio@vger.kernel.org, Linus Walleij , Mika Westerberg , David Cohen , Sathyanarayanan Kuppuswamy , Len Brown Cc: Andy Shevchenko Here is a fifth [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-gpio/for-next + Mika's ACPI gpio patches [2]. Changes since v4: - fix one compilation warning [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 | 121 +++++++++++++++++++++++++++++++++++++++++++++ include/linux/sfi.h | 10 ++++ 10 files changed, 189 insertions(+), 1 deletion(-) create mode 100644 drivers/gpio/gpiolib-sfi.c create mode 100644 drivers/sfi/sfi_gpio.c -- 1.8.4.4