From: Mikko Ylinen Date: Wed, 2 Apr 2008 17:55:31 +0000 (+0300) Subject: I2C: TWL4030: Kconfig and Makefile changes X-Git-Tag: v2.6.25-omap1~27 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4a1a5b861b015e305f00579605821a9bde97150e;p=linux-2.6-omap-h63xx.git I2C: TWL4030: Kconfig and Makefile changes Put madc driver into kbuild. Signed-off-by: Mikko Ylinen Updated help text on Kconfig for TWL4030 MADC driver. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig index c3de7352cd2..63561db68a1 100644 --- a/drivers/i2c/chips/Kconfig +++ b/drivers/i2c/chips/Kconfig @@ -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 diff --git a/drivers/i2c/chips/Makefile b/drivers/i2c/chips/Makefile index aa896921902..7c47fc47255 100644 --- a/drivers/i2c/chips/Makefile +++ b/drivers/i2c/chips/Makefile @@ -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)