9
0
Fork 0
barebox/drivers/gpio
Antony Pavlov bcf0877266 gpiolib: import gpio_request_array() from linux 3.7
Also import related functions gpio_request_one() and
gpio_free_array().

This commit imports code from linux 3.7 as
the more recent linux kernel versions use gpiolib descriptors,
see this commit for details:

  commit 372e722ea4dd4ca11c3d04845e11cbc15f32144c
  Author: Alexandre Courbot <acourbot@nvidia.com>
  Date:   Sun Feb 3 01:29:29 2013 +0900

      gpiolib: use descriptors internally

      Make sure gpiolib works internally with descriptors and (chip, offset)
      pairs instead of using the global integer namespace. This prepares the
      ground for the removal of the global gpio_desc[] array and the
      introduction of the descriptor-based GPIO API.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-11-22 10:59:04 +01:00
..
Kconfig gpio: Add designware gpio controller support 2013-09-10 21:11:36 +02:00
Makefile gpio: Add designware gpio controller support 2013-09-10 21:11:36 +02:00
gpio-bcm2835.c BCM2835: add gpio driver 2012-10-21 10:51:19 +02:00
gpio-clps711x.c ARM: clps711x: Add GPIO driver 2013-03-11 22:17:42 +01:00
gpio-dw.c gpio: unify gpio direction macros names with Linux kernel 2013-11-22 10:59:00 +01:00
gpio-generic.c Add Generic GPIO driver 2013-03-11 22:17:42 +01:00
gpio-imx.c gpio: i.MX: initialize earlier 2013-06-18 09:02:50 +02:00
gpio-orion.c GPIO: add Marvell Orion/MVEBU SoC GPIO driver 2013-07-05 08:27:11 +02:00
gpio-pl061.c gpio: add ARM Primcell pl061 support 2012-10-05 15:07:02 +08:00
gpio-stmpe.c switch all platform_bus device/driver registering to platform_driver/device_register 2012-10-04 15:19:12 +02:00
gpio-tegra.c tegra: add GPIO controller driver 2013-04-14 10:45:52 +02:00
gpiolib.c gpiolib: import gpio_request_array() from linux 3.7 2013-11-22 10:59:04 +01:00