aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/tlv320aic3x.h
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-05-05 13:02:03 +0300
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-05-06 14:58:02 +0100
commit5193d62f1824cdfd72b5523be2b1cdb8049225ad (patch)
treebd83be284cce0a0f7dc71228fa946c0016801a5f /include/sound/tlv320aic3x.h
parentASoC: omap: Add basic audio support for Nokia RX-51/N900 (diff)
downloadlinux-dev-5193d62f1824cdfd72b5523be2b1cdb8049225ad.tar.xz
linux-dev-5193d62f1824cdfd72b5523be2b1cdb8049225ad.zip
ASoC: tlv320aic3x: Add platform data and reset gpio handling
Handle the reset GPIO within the codec driver in order to follow the startup protocol for the tlv320aic3x codecs. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound/tlv320aic3x.h')
-rw-r--r--include/sound/tlv320aic3x.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sound/tlv320aic3x.h b/include/sound/tlv320aic3x.h
new file mode 100644
index 000000000000..b1a5f34e5cfa
--- /dev/null
+++ b/include/sound/tlv320aic3x.h
@@ -0,0 +1,17 @@
+/*
+ * Platform data for Texas Instruments TLV320AIC3x codec
+ *
+ * Author: Jarkko Nikula <jhnikula@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef __TLV320AIC3x_H__
+#define __TLV320AIC3x_H__
+
+struct aic3x_pdata {
+ int gpio_reset; /* < 0 if not used */
+};
+
+#endif \ No newline at end of file