[PATCH v2 0/3] sfi, intel_mid: introduce SFI GPIO API and use it

Andy Shevchenko
2013-11-20T14:32:18Z

Here is a second [1] version of the SFI GPIO API. This series contains SFI GPIO
API layer along with the update of intel-mid platform to use it instead of
internal copy.

It has been tested on Medfield device with linux-next 20131118.

[1] https://lkml.org/lkml/2013/6/5/316

Andy Shevchenko (3):
sfi: fix compiler warnings
gpiolib: append SFI helpers for GPIO API
intel_mid: switch to use SFI GPIO API

arch/x86/include/asm/intel-mid.h | 1 -
.../intel-mid/device_libs/platform_emc1403.c | 8 +--
.../intel-mid/device_libs/platform_gpio_keys.c | 10 +--
.../intel-mid/device_libs/platform_lis331.c | 8 +--
.../intel-mid/device_libs/platform_max3111.c | 6 +-
.../intel-mid/device_libs/platform_max7315.c | 10 +--
.../intel-mid/device_libs/platform_mpu3050.c | 6 +-
.../intel-mid/device_libs/platform_msic_gpio.c | 6 +-
.../intel-mid/device_libs/platform_msic_ocd.c | 5 +-
.../intel-mid/device_libs/platform_pmic_gpio.c | 7 +-
.../intel-mid/device_libs/platform_tc35876x.c | 8 +--
.../intel-mid/device_libs/platform_tca6416.c | 10 +--
arch/x86/platform/intel-mid/sfi.c | 51 --------------
drivers/gpio/Kconfig | 4 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpiolib-sfi.c | 77 ++++++++++++++++++++++
drivers/sfi/sfi_acpi.c | 8 +--
drivers/sfi/sfi_core.c | 13 +++-
include/linux/gpio/sfi.h | 37 +++++++++++
include/linux/sfi_acpi.h | 2 +-
20 files changed, 176 insertions(+), 102 deletions(-)
create mode 100644 drivers/gpio/gpiolib-sfi.c
create mode 100644 include/linux/gpio/sfi.h

--
1.8.4.3