From 4a1a5b861b015e305f00579605821a9bde97150e Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Wed, 2 Apr 2008 20:55:31 +0300 Subject: [PATCH] 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 --- drivers/i2c/chips/Kconfig | 21 +++++++++++++++++++++ drivers/i2c/chips/Makefile | 1 + 2 files changed, 22 insertions(+) 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) -- 2.41.3