WSL2-Linux-Kernel/drivers/i2c/chips
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
..
Kconfig gpiolib: allow user-selection 2008-07-25 10:53:30 -07:00
Makefile i2c: New-style EEPROM driver using device IDs 2008-07-14 22:38:35 +02:00
at24.c i2c: New-style EEPROM driver using device IDs 2008-07-14 22:38:35 +02:00
ds1682.c i2c: Convert most new-style drivers to use module aliasing 2008-04-29 23:11:40 +02:00
eeprom.c i2c: Convert the eeprom driver to a new-style i2c driver 2008-07-16 19:30:05 +02:00
isp1301_omap.c ARM: OMAP: USB: Change omap USB code to use omap_read/write instead of __REG 2008-07-03 12:24:43 +03:00
max6875.c i2c: Convert the max6875 driver to a new-style i2c driver 2008-07-16 19:30:07 +02:00
menelaus.c i2c: Convert most new-style drivers to use module aliasing 2008-04-29 23:11:40 +02:00
pca9539.c i2c: Convert the pca9539 driver to a new-style i2c driver 2008-07-16 19:30:07 +02:00
pcf8574.c i2c: Convert the pcf8574 driver to a new-style i2c driver 2008-07-16 19:30:06 +02:00
pcf8575.c i2c: Convert the pcf8575 driver to a new-style i2c driver 2008-07-16 19:30:06 +02:00
pcf8591.c i2c: Convert the pcf8591 driver to a new-style i2c driver 2008-07-16 19:30:06 +02:00
tps65010.c gpio: sysfs interface 2008-07-25 10:53:30 -07:00
tsl2550.c i2c: Convert most new-style drivers to use module aliasing 2008-04-29 23:11:40 +02:00