android_kernel_xiaomi_sm8350/arch/arm
David Brownell 0a938b9768 [PATCH] add CONFIG_GENERIC_GPIO
Most drivers using GPIOs already know they are running on a system that
supports the generic GPIO calls, because of other platform dependencies.
But the generic GPIO-based LED and input button drivers can't know that.

So this patch adds a Kconfig hook, GENERIC_GPIO, to mark the platforms
where <asm/gpio.h> will do the right thing.  Currently that's a bunch of
ARMs, and AVR32; more are on the way.

It also fixes a dependency bug for the gpio button input driver; it was
wrong to start with, now it covers all platforms with GENERIC_GPIO.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
Cc: <raph@8d.com>
Cc: <msvoboda@ra.rockwell.com>
Cc: pHilipp Zabel <philipp.zabel@gmail.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-05 07:57:51 -08:00
..
boot [ARM] 4216/1: add .gitignore entries for ARM specific files 2007-02-17 11:26:41 +00:00
common [ARM] Fix build error caused by move of apm 2007-02-20 14:53:28 +00:00
configs [ARM] 4229/1: S3C2410: Add MACH_QT2410 to s3c2410_defconfig 2007-02-22 14:53:25 +00:00
kernel [ARM] 4226/1: initial .data and .bss mappings of XIP kernel should be TEXT_OFFSET 2007-02-25 16:41:39 +00:00
lib
mach-aaec2000
mach-at91 [ARM] 4232/1: AT91: Generic GPIO bug 2007-02-22 14:53:32 +00:00
mach-clps711x
mach-clps7500
mach-ebsa110
mach-ep93xx [ARM] 4142/1: ep93xx: handle IRQT_NOEDGE 2007-02-08 14:56:06 +00:00
mach-footbridge
mach-h720x
mach-imx [PATCH] clocksource: fixup is_continous changes on ARM 2007-02-16 08:13:57 -08:00
mach-integrator
mach-iop13xx Merge ARM fixes 2007-02-20 19:13:30 +00:00
mach-iop32x [ARM] Merge remaining IOP code 2007-02-20 10:52:43 +00:00
mach-iop33x [ARM] 4187/1: iop: unify time implementation across iop32x, iop33x, and iop13xx 2007-02-17 15:05:40 +00:00
mach-ixp4xx Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-02-19 13:18:39 -08:00
mach-ixp23xx
mach-ixp2000
mach-l7200
mach-lh7a40x
mach-netx [PATCH] clocksource: fixup is_continous changes on ARM 2007-02-16 08:13:57 -08:00
mach-ns9xxx [ARM] 4210/1: base for new machine type "NetSilicon NS9360" 2007-02-17 20:05:45 +00:00
mach-omap1 ARM: OMAP: omap1510->15xx conversions needed for sx1 2007-03-02 01:47:12 -08:00
mach-omap2 ARM: OMAP: Use linux/delay.h not asm/delay.h 2007-03-02 01:47:13 -08:00
mach-pnx4008 i2c: New Philips PNX bus driver 2006-12-10 21:21:29 +01:00
mach-pxa [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
mach-realview [ARM] 4201/1: SMP barriers pair needed for the secondary boot process 2007-02-16 13:06:56 +00:00
mach-rpc
mach-s3c2400 [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
mach-s3c2410 [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev 2007-02-17 15:00:34 +00:00
mach-s3c2412 [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev 2007-02-17 15:00:34 +00:00
mach-s3c2440 [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev 2007-02-17 15:00:34 +00:00
mach-s3c2442 [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
mach-s3c2443 [ARM] 4222/1: S3C2443: Remove reference to missing S3C2443_PM 2007-02-17 20:04:17 +00:00
mach-sa1100 [PATCH] GPIO API: SA1100 wrapper cleanup 2007-02-20 17:10:16 -08:00
mach-shark
mach-versatile i2c: New ARM Versatile/Realview bus driver 2006-12-10 21:21:32 +01:00
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-02-19 13:29:02 -08:00
nwfpe
oprofile [ARM] 4237/2: oprofile: Always allow backtraces on ARM 2007-03-02 11:58:58 +00:00
plat-iop [ARM] 4187/1: iop: unify time implementation across iop32x, iop33x, and iop13xx 2007-02-17 15:05:40 +00:00
plat-omap ARM: OMAP: Use linux/delay.h not asm/delay.h 2007-03-02 01:47:13 -08:00
plat-s3c24xx [ARM] 4239/1: S3C24XX: Update kconfig entries for PM 2007-03-02 11:58:58 +00:00
tools [ARM] Update mach-types 2007-01-24 11:59:57 +00:00
vfp [ARM] 4111/1: Allow VFP to work with thread migration on SMP 2007-01-25 16:35:29 +00:00
Kconfig [PATCH] add CONFIG_GENERIC_GPIO 2007-03-05 07:57:51 -08:00
Kconfig-nommu
Kconfig.debug
Makefile [ARM] fix mach-at91 build breakage 2007-02-20 15:28:40 +00:00