Following patch series adds initial support for TWL6030 codec driver.
Changes from v2: - CODEC now handles scenarios where no platform data is passed - Removed GPIOLIB dependency of codec driver - Removed magic values, register reads instead - Added runtime constraints depending on sysclk - Added more constraints for switching to low-power mode - Use request_threaded_irq instead (oneshot support required) - wait_for_completion with timeout - Changelog now gives a better explanation of features and corresponding changes
Thanks, -Misa
---
Misael Lopez Cruz (7): OMAP4: PMIC: Add support for twl6030 codec ASoC: TWL6030: Add twl6030 codec driver ASoC: TWL6030: Manual power-up/down sequences ASoC: TWL6030: Add support for low-power PLL ASoC: TWL6030: Add restrictions for low-power playback mode ASoC: TWL6030: Enable audio interrupt ASoC: TWL6030: Detect power-up sequence completion
drivers/mfd/twl-core.c | 15 + include/linux/i2c/twl.h | 7 + sound/soc/codecs/Kconfig | 4 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/twl6030.c | 1242 ++++++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/twl6030.h | 141 +++++ 6 files changed, 1411 insertions(+), 0 deletions(-) create mode 100644 sound/soc/codecs/twl6030.c create mode 100644 sound/soc/codecs/twl6030.h