linux/arch/powerpc/platforms
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
..
8xx powerpc/CPM: Add i2c pins to dts and board setup 2008-07-14 07:55:39 -05:00
40x [POWERPC] 4xx: Create common ppc4xx_reset_system() in ppc4xx_soc.c 2008-04-02 20:44:56 -05:00
44x powerpc/44x: Support NAND boot for Rev A Warp boards 2008-07-09 13:36:39 -04:00
52xx gpiolib: allow user-selection 2008-07-25 10:53:30 -07:00
82xx Revert "powerpc/ep8248e: Fix compile problem if !CONFIG_FS_ENET" 2008-07-16 17:59:47 -05:00
83xx powerpc/83xx: fix ULPI setup for MPC8315 processors 2008-07-16 17:57:37 -05:00
85xx powerpc: Remove Kconfig PPC_CPM_NEW_BINDING 2008-07-16 17:57:50 -05:00
86xx powerpc/85xx/86xx: some refactoring for fsl_uli1575 code 2008-07-16 17:57:42 -05:00
512x powerpc/mpc5121: Add support for CPLD on MPC5121ADS board 2008-07-12 12:10:55 -06:00
cell spufs: use new vm_ops->access to allow local state access from gdb 2008-07-24 10:47:15 -07:00
chrp driver core: fix a lot of printk usages of bus_id 2008-07-21 21:54:53 -07:00
embedded6xx powerpc: Add C2K to configuration 2008-06-09 13:42:29 +10:00
iseries Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-24 12:55:01 -07:00
maple [POWERPC] Fix sparse warnings in arch/powerpc/kernel 2008-05-14 22:31:59 +10:00
pasemi powerpc/dma: Use the struct dma_attrs in iommu code 2008-07-22 10:39:32 +10:00
powermac kgdb, powerpc: arch specific powerpc kgdb support 2008-07-23 11:30:15 -05:00
prep
ps3 powerpc/ps3: Add a sub-match id to ps3_system_bus 2008-07-22 10:39:33 +10:00
pseries powerpc/eeh: Don't panic when EEH_MAX_FAILS is exceeded 2008-07-22 10:39:37 +10:00
Kconfig powerpc: Remove Kconfig PPC_CPM_NEW_BINDING 2008-07-16 17:57:50 -05:00
Kconfig.cputype powerpc: Remove duplicate 6xx option in Kconfig 2008-07-22 10:39:35 +10:00
Makefile [POWERPC] celleb: Move miscellaneous files for Beat 2008-04-24 21:08:14 +10:00
fsl_uli1575.c powerpc/85xx/86xx: some refactoring for fsl_uli1575 code 2008-07-16 17:57:42 -05:00