]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
I2C: TWL4030: Kconfig and Makefile changes
authorMikko Ylinen <mikko.k.ylinen@nokia.com>
Wed, 2 Apr 2008 17:55:31 +0000 (20:55 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Apr 2008 19:28:30 +0000 (12:28 -0700)
Put madc driver into kbuild.

Signed-off-by: Mikko Ylinen <mikko.k.ylinen@nokia.com>
Updated help text on Kconfig for TWL4030 MADC driver.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/Kconfig
drivers/i2c/chips/Makefile

index c3de7352cd2d5c262cdc4562d511b2c6de741384..63561db68a145b7e63511eda7c42be0001d7d874 100644 (file)
@@ -128,6 +128,27 @@ config TWL4030_GPIO
        bool "TWL4030 GPIO Driver"
        depends on TWL4030_CORE
 
+config TWL4030_MADC
+       tristate "TWL4030 MADC Driver"
+       depends on TWL4030_CORE
+       help
+         The TWL4030 Monitoring ADC driver enables the host
+         processor to monitor analog signals using analog-to-digital
+         conversions on the input source. TWL4030 MADC provides the
+         following features:
+          - Single 10-bit ADC with successive approximation register (SAR) conversion;
+          - Analog multiplexer for 16 inputs;
+          - Seven (of the 16) inputs are freely available;
+          - Battery voltage monitoring;
+          - Concurrent conversion request management;
+          - Interrupt signal to Primary Interrupt Handler;
+          - Averaging feature;
+          - Selective enable/disable of the averaging feature.
+
+         Say 'y' here to statically link this module into the kernel or 'm'
+         to build it as a dinamically loadable module. The module will be
+         called twl4030-madc.ko
+
 config TWL4030_USB
        bool "TWL4030 USB Transceiver Driver"
        depends on TWL4030_CORE
index aa896921902f54d10620a0dab3379ea9b5815432..7c47fc4725566c6f66235c82b6ac97550d99d5b5 100644 (file)
@@ -27,6 +27,7 @@ obj-$(CONFIG_TWL4030_GPIO)    += twl4030-gpio.o
 obj-$(CONFIG_TWL4030_USB)      += twl4030-usb.o
 obj-$(CONFIG_TWL4030_POWEROFF) += twl4030-poweroff.o
 obj-$(CONFIG_TWL4030_PWRBUTTON)        += twl4030-pwrbutton.o
+obj-$(CONFIG_TWL4030_MADC)     += twl4030-madc.o
 obj-$(CONFIG_RTC_X1205_I2C)    += x1205.o
 
 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)