9
0
Fork 0
barebox/include
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
..
asm-generic mtd: nand: update to v3.11-rc1 2013-07-23 16:25:13 +02:00
cramfs Change byte order detection mechanism to kernel style 2012-06-28 13:49:16 +02:00
dma dma: apbh: remove CONFIG_ARCH_DMA_PIO_WORDS 2013-07-23 16:25:13 +02:00
gui gui: blit the surface on demand 2012-10-04 17:22:09 +02:00
i2c i2c-omap: Update driver 2013-09-27 16:24:37 +02:00
input input: add qt1070 touch keyboard support 2012-11-03 23:16:32 +01:00
linux Merge branch 'for-next/net' 2013-11-07 08:31:47 +01:00
mfd mfd: mc13xxx: Add support for MC34708 2013-07-15 10:19:36 +02:00
mtd UBI: reimport UBI from Linux v3.10 2013-07-25 10:24:16 +02:00
net smc91111: add fixup for qemu phy support 2013-09-22 16:48:03 +02:00
platform_data mci: add designware mmc controller support 2013-09-11 12:20:02 +02:00
spi spi: Call spi_of_register_slaves from core 2013-10-31 12:53:05 +01:00
usb usb: make usb devices children of the corresponding host 2013-09-24 18:38:22 +02:00
video video: add atmel lcdc frambuffer support 2013-01-28 09:45:39 +01:00
.gitignore move barebox_default_env.h to include/generated/ 2010-09-17 10:56:24 +08:00
aimage.h arm: add Android boot image support 2012-04-13 12:08:42 +02:00
ata_drive.h ata: ide: embed ata_ioports into struct ide_port and export it 2013-06-21 07:40:36 +02:00
bbu.h Add in-system barebox update infrastructure 2012-10-17 20:23:41 +02:00
binfmt.h Introduce binfmt support 2012-04-18 20:14:12 +08:00
block.h block: Collect block devices on list 2013-09-30 10:18:39 +02:00
blspec.h blspec: make cdev optional 2013-11-05 08:37:55 +01:00
boot.h bootm: Replace getenv_loadaddr with getenv_ul 2013-10-07 07:57:42 +02:00
bootsource.h bootsource: add definition for i2c-eeprom, spi-nor, spi-eeprom and usb 2013-04-04 10:54:27 +02:00
bootstrap.h bootstrap: Add missing include 2013-09-26 12:29:53 +02:00
bpkfs.h fs: bpkfs: add missing include 2013-10-21 09:13:51 +02:00
bunzip2.h use kernel bunzip implementation 2011-11-29 21:12:27 +01:00
cache.h remove strange flush_cache functions 2010-10-21 22:21:25 +02:00
clock.h clock: introduce non interruptible timeout 2012-10-29 22:31:18 +01:00
command.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
common.h common: add a macro to align an array on the stack 2013-10-22 15:28:58 +02:00
complete.h common: fix typo cammand_var_complete 2012-06-30 12:47:04 +02:00
console.h Merge branch 'for-next/rs485' 2013-10-07 08:02:14 +02:00
crc.h Some code cleanup 2006-04-16 10:51:58 +02:00
crc7.h crypto: Add crc7 function 2011-11-25 12:37:25 +01:00
ddr_spd.h common: DDR2 SPD checksum. 2013-06-27 08:38:04 +02:00
debug_ll.h rework debug_ll 2013-09-05 10:15:48 +02:00
digest.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
disks.h DISK: Add common partition handling for disk like media 2011-11-28 09:23:24 +01:00
dm9000.h dm9000: introduce add_dm9000_device to register dm9000 device 2011-07-29 14:04:24 +08:00
dma.h blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines 2012-06-30 12:46:25 +02:00
driver.h cdev: store dos partition type in struct cdev 2013-10-14 14:04:20 +02:00
elf.h replace elf.h with the one from the linux kernel. It does not have powerpc 2007-09-28 19:59:12 +02:00
envfs.h env: add register_persistent_environment 2013-02-21 14:45:43 +01:00
environment.h environment variables: introduce new helpers 2013-09-30 10:28:52 +02:00
errno.h add strerror function 2009-05-25 16:52:35 +02:00
fb.h video: set up the kernel's simple framebuffer driver 2013-11-06 10:37:24 +01:00
fcntl.h rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
fdt.h of: remove unused libfdt 2013-03-06 11:41:29 +01:00
fec.h net: fec: use standard phy type defines 2013-03-09 20:09:23 +01:00
filetype.h filetype: add Binary PacKage BPK type 2013-10-06 13:26:51 +02:00
fnmatch.h add globbing support 2008-03-09 22:35:38 +01:00
fs.h fs: Add function to get cdev by mountpath 2013-11-05 08:37:55 +01:00
getopt.h getopt: change optstring to const char* 2013-02-11 20:57:34 +01:00
glob.h hardcode _FILE_OFFSET_BITS to 32 2008-06-03 13:34:45 +02:00
globalvar.h globalvar: add globalvar_add_simple_int/bool/enum/ip support 2013-09-18 09:24:38 +02:00
gpio.h gpiolib: import gpio_request_array() from linux 3.7 2013-11-22 10:59:04 +01:00
gpio_keys.h add gpio keyboard support 2012-02-16 18:17:30 +08:00
gunzip.h decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning 2012-01-02 12:33:52 +01:00
image.h Enables to build bootm command on generic_x86. 2013-06-02 11:21:10 +02:00
init.h init: introduce mem, mmu and postmmu initcall 2011-08-01 16:31:46 +02:00
io.h Fix big endian MMIO primitives. 2012-05-07 09:50:29 +02:00
ioctl.h add basic at91sam9260 support. Currently only second stage 2008-06-06 09:30:32 +02:00
jtag.h Add JTAG bitbang driver 2012-08-13 21:38:50 +02:00
kallsyms.h kallsyms/printk: enable symbol printing support (%pS) 2011-03-10 14:50:16 +01:00
kfifo.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
kgdb.h Initial revision 2002-08-27 10:38:37 +00:00
led.h led-gpio: add bicolor led support 2012-11-19 11:25:55 +01:00
libbb.h add function to read single line files 2013-10-14 14:04:20 +02:00
libgen.h move dirname() and basename() to lib/libgen.c and add header file 2007-09-24 16:57:12 +02:00
local_mac_address.h introduce helper to generate mac address with OUI 2013-09-22 20:27:12 +02:00
lzo.h lzo: update to lzo-2013 2013-09-22 16:48:46 +02:00
magicvar.h magicvar: Add magicvar macro with additional name argument 2012-05-15 09:05:51 +02:00
malloc.h malloc: put common memory functions to seperate file 2011-04-11 15:57:51 +02:00
math.h commands: add let command which supports proper arithmetic 2013-01-09 10:32:54 +01:00
matrix_keypad.h input: Add i.MX matrix keypad driver 2012-07-17 20:45:47 +02:00
mci.h mci: add max_req_size support 2013-10-22 16:49:48 +02:00
memory.h memory: return error in barebox_add_memory_bank 2012-10-08 00:33:21 +02:00
memtest.h common: add memtest.c with mem_test routine 2013-06-05 22:54:35 +02:00
menu.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
module.h module: move EXPORT_SYMBOL_GPL define to module.h 2010-08-30 14:36:09 +02:00
nand.h nand bb: add proper bb remove function 2011-04-12 09:54:56 +02:00
net.h net: Set mac-address property 2013-06-05 08:53:43 +02:00
notifier.h treewide include/: Add missing includes 2013-05-31 08:32:59 +02:00
ns16550.h serial: ns16550: remove f_caps from platform_data 2013-07-23 08:28:31 +02:00
of.h Merge branch 'for-next/rpi' 2013-11-07 08:31:47 +01:00
of_address.h OF: convert of_translate_address to new API 2013-07-05 08:26:57 +02:00
of_gpio.h OF: gpio: convert DT based gpio handling to new OF API 2013-07-05 08:26:57 +02:00
of_mtd.h of: add mtd of helpers 2013-07-16 08:46:30 +02:00
of_net.h of/net: Add net related of helpers 2013-04-04 23:23:41 +02:00
param.h param: Add helpers to provide an enum parameter 2013-05-23 15:40:26 +02:00
part.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
partition.h treewide include/: Add missing includes 2013-05-31 08:32:59 +02:00
password.h login/passwd: add default password support 2013-09-19 08:49:51 +02:00
pbl.h pbl: factorise decompressor 2013-01-30 22:32:13 +01:00
pinctrl.h Add initial pinctrl support 2013-04-23 09:36:13 +02:00
platform_ide.h Add driver for IDE like interfaces 2011-11-28 09:23:24 +01:00
poller.h Add generic poll infrastructure 2010-12-20 09:28:21 +01:00
printk.h introduce runtime loglevel 2013-09-29 12:15:40 +02:00
progress.h add progression bar function 2010-06-28 10:43:55 +02:00
pwm.h drivers/pwm: add duty_ns and period_ns to core pwm chip 2012-02-17 10:18:30 +01:00
qsort.h qsort: declare strcmp_compar publically 2012-06-30 22:34:54 +02:00
readkey.h Fix gotoXY argument order 2013-06-19 22:45:14 +02:00
reset_source.h reset_source: provide static inline function if disabled 2012-10-08 21:41:30 +02:00
rtc.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
s_record.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
scsi.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
shell.h process_escape_sequence: add support to \$? 2013-09-18 09:17:13 +02:00
sizes.h Add missing SZ_xx defines 2013-02-15 09:38:54 +01:00
smc911x.h net smc911x: add support for external PHY 2012-11-12 08:29:48 +01:00
stdio.h Fix typo. 2013-06-03 10:07:47 +02:00
stdlib.h UBI: reimport UBI from Linux v3.10 2013-07-25 10:24:16 +02:00
stmp-device.h ARM: MXS: introduce stmp device support 2013-07-23 16:25:13 +02:00
string.h add protection from double inclusion in string.h 2008-03-31 21:55:34 +02:00
stringlist.h stringlist: fix cpp macro in header 2013-01-09 09:42:47 +01:00
tlsf.h adapt tlsf for barebox 2011-12-23 11:26:42 +01:00
twl6030_pwrbtn.h twl6030: add power button as an input key 2013-03-25 10:21:20 +01:00
types.h add __[lb]e types 2009-04-06 11:12:54 +02:00
uimagefs.h fs: add uimagefs 2013-09-27 10:39:56 +02:00
uncompress.h Add generic uncompress function 2011-11-29 21:12:42 +01:00
usb_dfu_trailer.h rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
w1_mac_address.h w1: introduce helper to generate mac address from 1-wire id 2012-11-15 20:20:28 +01:00
watchdog.h Add a simple watchdog framework 2012-06-29 15:16:34 +02:00
xfuncs.h Fix error handling with malloc, memalign etc. Introduce xmemalign(). 2011-01-07 10:21:22 +01:00
xymodem.h commands: change Y-Modem implementation 2012-11-12 09:35:53 +01:00