summaryrefslogtreecommitdiff
path: root/include/linux/i2c-id.h
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-11-13 10:07:48 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-13 10:07:48 +0000
commitbd5d080ab99642e3245ef7cfa54490384c01d878 (patch)
treef3a6c1a55d9ecf9e6fcecc4e57fe36a1240c0ce4 /include/linux/i2c-id.h
parente8b6f7f437a624fc2e2a2ec92fbeffdcf6f0e11e (diff)
downloadlinux-next-bd5d080ab99642e3245ef7cfa54490384c01d878.tar.gz
[ARM] 3160/1: SharpSL: Add driver for Akita specific GPIOs
Patch from Richard Purdie Add a driver for the extra GPIOs found on the Sharp SL-C1000 (Akita). These GPIOs are found on a Maxim MAX7310 I2C i/o expander chip. A generic GPIO driver for the MAX7310 was attempted but this mini driver is a much simpler and much more effective solution avoiding several issues and complexity the generic driver had (as discussed on LKML). The platform device is required so the device parent can be set correctly which ensures the device is one of the last to suspend and first to resume. Whilst the i2c suspend/resume calls can be influenced, nothing guarantees this is easlier/later than the subsystems the gpios are used on which are all independent of i2c (sound, irda, video/backlight etc.). Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/i2c-id.h')
-rw-r--r--include/linux/i2c-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h
index 74abaecdb572..1543daaa9c5e 100644
--- a/include/linux/i2c-id.h
+++ b/include/linux/i2c-id.h
@@ -107,6 +107,7 @@
#define I2C_DRIVERID_CX25840 71 /* cx2584x video encoder */
#define I2C_DRIVERID_SAA7127 72 /* saa7124 video encoder */
#define I2C_DRIVERID_SAA711X 73 /* saa711x video encoders */
+#define I2C_DRIVERID_AKITAIOEXP 74 /* IO Expander on Sharp SL-C1000 */
#define I2C_DRIVERID_EXP0 0xF0 /* experimental use id's */
#define I2C_DRIVERID_EXP1 0xF1