i2c: correct some size_t printk formats
[safe/jmp/linux-2.6] / drivers / i2c / chips / Kconfig
index 09fbc59..a95cb94 100644 (file)
@@ -4,41 +4,41 @@
 
 menu "Miscellaneous I2C Chip support"
 
-config SENSORS_DS1337
-       tristate "Dallas DS1337 and DS1339 Real Time Clock (DEPRECATED)"
+config DS1682
+       tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
        depends on EXPERIMENTAL
        help
          If you say yes here you get support for Dallas Semiconductor
-         DS1337 and DS1339 real-time clock chips.
+         DS1682 Total Elapsed Time Recorder.
 
          This driver can also be built as a module.  If so, the module
-         will be called ds1337.
-
-         This driver is deprecated and will be dropped soon. Use
-         rtc-ds1307 instead.
+         will be called ds1682.
 
-config SENSORS_DS1374
-       tristate "Dallas DS1374 Real Time Clock (DEPRECATED)"
-       depends on EXPERIMENTAL
+config AT24
+       tristate "EEPROMs from most vendors"
+       depends on SYSFS && EXPERIMENTAL
        help
-         If you say yes here you get support for Dallas Semiconductor
-         DS1374 real-time clock chips.
+         Enable this driver to get read/write support to most I2C EEPROMs,
+         after you configure the driver to know about each EEPROM on
+         your target board.  Use these generic chip names, instead of
+         vendor-specific ones like at24c64 or 24lc02:
 
-         This driver can also be built as a module.  If so, the module
-         will be called ds1374.
+            24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08,
+            24c16, 24c32, 24c64, 24c128, 24c256, 24c512, 24c1024
 
-         This driver is deprecated and will be dropped soon. Use
-         rtc-ds1374 instead.
+         Unless you like data loss puzzles, always be sure that any chip
+         you configure as a 24c32 (32 kbit) or larger is NOT really a
+         24c16 (16 kbit) or smaller, and vice versa. Marking the chip
+         as read-only won't help recover from this. Also, if your chip
+         has any software write-protect mechanism you may want to review the
+         code to make sure this driver won't turn it on by accident.
 
-config DS1682
-       tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
-       depends on EXPERIMENTAL
-       help
-         If you say yes here you get support for Dallas Semiconductor
-         DS1682 Total Elapsed Time Recorder.
+         If you use this with an SMBus adapter instead of an I2C adapter,
+         full functionality is not available.  Only smaller devices are
+         supported (24c16 and below, max 4 kByte).
 
          This driver can also be built as a module.  If so, the module
-         will be called ds1682.
+         will be called at24.
 
 config SENSORS_EEPROM
        tristate "EEPROM reader"
@@ -52,22 +52,43 @@ config SENSORS_EEPROM
          will be called eeprom.
 
 config SENSORS_PCF8574
-       tristate "Philips PCF8574 and PCF8574A"
-       depends on EXPERIMENTAL
+       tristate "Philips PCF8574 and PCF8574A (DEPRECATED)"
+       depends on EXPERIMENTAL && GPIO_PCF857X = "n"
        default n
        help
          If you say yes here you get support for Philips PCF8574 and 
-         PCF8574A chips.
+         PCF8574A chips. These chips are 8-bit I/O expanders for the I2C bus.
 
          This driver can also be built as a module.  If so, the module
          will be called pcf8574.
 
+         This driver is deprecated and will be dropped soon. Use
+         drivers/gpio/pcf857x.c instead.
+
          These devices are hard to detect and rarely found on mainstream
          hardware.  If unsure, say N.
 
+config PCF8575
+       tristate "Philips PCF8575 (DEPRECATED)"
+       default n
+       depends on GPIO_PCF857X = "n"
+       help
+         If you say yes here you get support for Philips PCF8575 chip.
+         This chip is a 16-bit I/O expander for the I2C bus.  Several other
+         chip manufacturers sell equivalent chips, e.g. Texas Instruments.
+
+         This driver can also be built as a module.  If so, the module
+         will be called pcf8575.
+
+         This driver is deprecated and will be dropped soon. Use
+         drivers/gpio/pcf857x.c instead.
+
+         This device is hard to detect and is rarely found on mainstream
+         hardware.  If unsure, say N.
+
 config SENSORS_PCA9539
-       tristate "Philips PCA9539 16-bit I/O port"
-       depends on EXPERIMENTAL
+       tristate "Philips PCA9539 16-bit I/O port (DEPRECATED)"
+       depends on EXPERIMENTAL && GPIO_PCA953X = "n"
        help
          If you say yes here you get support for the Philips PCA9539
          16-bit I/O port.
@@ -75,6 +96,9 @@ config SENSORS_PCA9539
          This driver can also be built as a module.  If so, the module
          will be called pca9539.
 
+         This driver is deprecated and will be dropped soon. Use
+         drivers/gpio/pca953x.c instead.
+
 config SENSORS_PCF8591
        tristate "Philips PCF8591"
        depends on EXPERIMENTAL
@@ -100,12 +124,9 @@ config ISP1301_OMAP
          This driver can also be built as a module.  If so, the module
          will be called isp1301_omap.
 
-# NOTE:  This isn't really OMAP-specific, except for the current
-# interface location in  <include/asm-arm/arch-omap/tps65010.h>
-# and having mostly OMAP-specific board support
 config TPS65010
        tristate "TPS6501x Power Management chips"
-       depends on ARCH_OMAP
+       depends on GPIOLIB
        default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK
        help
          If you say yes here you get support for the TPS6501x series of
@@ -116,18 +137,6 @@ config TPS65010
          This driver can also be built as a module.  If so, the module
          will be called tps65010.
 
-config SENSORS_M41T00
-       tristate "ST M41T00 RTC chip (DEPRECATED)"
-       depends on PPC32
-       help
-         If you say yes here you get support for the ST M41T00 RTC chip.
-
-         This driver can also be built as a module.  If so, the module
-         will be called m41t00.
-
-         This driver is deprecated and will be dropped soon. Use
-         rtc-ds1307 or rtc-m41t80 instead.
-
 config SENSORS_MAX6875
        tristate "Maxim MAX6875 Power supply supervisor"
        depends on EXPERIMENTAL
@@ -143,4 +152,24 @@ config SENSORS_MAX6875
          This driver can also be built as a module.  If so, the module
          will be called max6875.
 
+config SENSORS_TSL2550
+       tristate "Taos TSL2550 ambient light sensor"
+       depends on EXPERIMENTAL
+       help
+         If you say yes here you get support for the Taos TSL2550
+         ambient light sensor.
+
+         This driver can also be built as a module.  If so, the module
+         will be called tsl2550.
+
+config MENELAUS
+       bool "TWL92330/Menelaus PM chip"
+       depends on I2C=y && ARCH_OMAP24XX
+       help
+         If you say yes here you get support for the Texas Instruments
+         TWL92330/Menelaus Power Management chip. This include voltage
+         regulators, Dual slot memory card tranceivers, real-time clock
+         and other features that are often used in portable devices like
+         cell phones and PDAs.
+
 endmenu