linux-hardened/drivers/mfd
Michael Buesch 7444a72eff gpiolib: allow user-selection
This patch adds functionality to the gpio-lib subsystem to make it
possible to enable the gpio-lib code even if the architecture code didn't
request to get it built in.

The archtitecture code does still need to implement the gpiolib accessor
functions in its asm/gpio.h file.  This patch adds the implementations for
x86 and PPC.

With these changes it is possible to run generic GPIO expansion cards on
every architecture that implements the trivial wrapper functions.  Support
for more architectures can easily be added.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: David Brownell <david-b@pacbell.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Samuel Ortiz <sameo@openedhand.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:30 -07:00
..
asic3.c mfd: let asic3 use mem resource instead of bus_shift 2008-07-20 19:56:44 +02:00
htc-egpio.c gpio: sysfs interface 2008-07-25 10:53:30 -07:00
htc-pasic3.c mfd: fix platform driver hotplug/coldplug 2008-07-25 10:53:28 -07:00
Kconfig gpiolib: allow user-selection 2008-07-25 10:53:30 -07:00
Makefile [ARM] 5127/1: Core MFD support 2008-07-07 13:22:06 +01:00
mcp-core.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
mcp-sa11x0.c mfd: fix platform driver hotplug/coldplug 2008-07-25 10:53:28 -07:00
mcp.h [MFD] Add multimedia communication port core support 2005-08-18 10:06:59 +01:00
mfd-core.c mfd: don't use memzero 2008-07-25 10:53:26 -07:00
sm501.c mfd: sm501 fix gpio number calculation for upper bank 2008-07-25 10:53:30 -07:00
tc6393xb.c [ARM] 5128/1: tc6393xb: tmio-nand support 2008-07-07 13:22:08 +01:00
ucb1x00-assabet.c [ARM] Fix class_device damage caused by 0c55445f20 2008-01-28 10:59:09 +00:00
ucb1x00-core.c MCP_UCB1200: Convert from class_device to device 2008-01-24 20:40:06 -08:00
ucb1x00-ts.c mfd: use shorter set_current_state() 2008-04-28 08:58:32 -07:00
ucb1x00.h MCP_UCB1200: Convert from class_device to device 2008-01-24 20:40:06 -08:00