diff options
author | Misael Lopez Cruz <misael.lopez@ti.com> | 2011-04-27 03:14:07 -0400 |
---|---|---|
committer | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-07-04 12:34:37 -0400 |
commit | f19b2823f82499c60ec15d5fe8783193d77e3043 (patch) | |
tree | 75148aed2558ec27ca87cf94e7ec3f398cd77e96 /include/linux/i2c | |
parent | 4ae6df5e1018796ce260be59b2c603bd0f9faa94 (diff) |
mfd: twl6040: Add initial support
TWL6040 IC provides analog high-end audio codec functions for
handset applications. It contains several audio analog inputs
and outputs as well as vibrator support. It's connected to the
host processor via PDM interface for audio data communication.
The audio modules are controlled by internal registers that
can be accessed by I2C and PDM interface.
TWL6040 MFD will be registered as a child of TWL-CORE, and will
have two children of its own: twl6040-codec and twl6040-vibra.
This driver is based on TWL4030 and WM8350 MFD drivers.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r-- | include/linux/i2c/twl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index e0aba2b92fa1..ea5baa269226 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -679,6 +679,7 @@ struct twl4030_audio_data { | |||
679 | /* twl6040 */ | 679 | /* twl6040 */ |
680 | int audpwron_gpio; /* audio power-on gpio */ | 680 | int audpwron_gpio; /* audio power-on gpio */ |
681 | int naudint_irq; /* audio interrupt */ | 681 | int naudint_irq; /* audio interrupt */ |
682 | unsigned int irq_base; | ||
682 | }; | 683 | }; |
683 | 684 | ||
684 | struct twl4030_platform_data { | 685 | struct twl4030_platform_data { |