Skip to content

Commit f99c1d4

Browse files
KeerthyjSamuel Ortiz
authored andcommitted
mfd: Add twl4030 madc driver
Introducing a driver for MADC on TWL4030 powerIC. MADC stands for monitoring ADC. This driver monitors the real time conversion of analog signals like battery temperature, battery cuurent etc. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent bcd2f63 commit f99c1d4

4 files changed

Lines changed: 954 additions & 0 deletions

File tree

‎drivers/mfd/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,16 @@ config TWL4030_CORE
178178
high speed USB OTG transceiver, an audio codec (on most
179179
versions) and many other features.
180180

181+
config TWL4030_MADC
182+
tristate "Texas Instruments TWL4030 MADC"
183+
depends on TWL4030_CORE
184+
help
185+
This driver provides support for triton TWL4030-MADC. The
186+
driver supports both RT and SW conversion methods.
187+
188+
This driver can be built as a module. If so it will be
189+
named twl4030-madc
190+
181191
config TWL4030_POWER
182192
bool "Support power resources on TWL4030 family chips"
183193
depends on TWL4030_CORE && ARM

‎drivers/mfd/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ obj-$(CONFIG_TPS6507X) += tps6507x.o
3838
obj-$(CONFIG_MENELAUS) += menelaus.o
3939

4040
obj-$(CONFIG_TWL4030_CORE) += twl-core.o twl4030-irq.o twl6030-irq.o
41+
obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o
4142
obj-$(CONFIG_TWL4030_POWER) += twl4030-power.o
4243
obj-$(CONFIG_TWL4030_CODEC) += twl4030-codec.o
4344
obj-$(CONFIG_TWL6030_PWM) += twl6030-pwm.o

0 commit comments

Comments
 (0)