summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/sound
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2014-03-11 12:57:32 +0200
committerMark Brown <broonie@linaro.org>2014-03-13 12:09:51 +0000
commite00447fafbf7daf2cd49205b97e63d9734068a4f (patch)
tree804692c2ec573c03963d4137e6d673c36f4b3886 /include/dt-bindings/sound
parentb46f2c5c0054153a6e5f76b6a943df5d837879f6 (diff)
downloadblackbird-op-linux-e00447fafbf7daf2cd49205b97e63d9734068a4f.tar.gz
blackbird-op-linux-e00447fafbf7daf2cd49205b97e63d9734068a4f.zip
ASoC: tlv320aic31xx: Add basic codec driver implementation
This commit adds a bare bones driver support for TLV320AIC31XX family audio codecs. The driver adds basic stereo playback trough headphone and speaker outputs and mono capture trough microphone inputs. The driver is currently missing support at least for mini DSP features and jack detection. I have tested the driver only on TLV320AIC3111, but based on the data sheets TLV320AIC3100, TLV320AIC3110, and TLV320AIC3120 should work Ok too. The base for the implementation was taken from: git@gitorious.org:ti-codecs/ti-codecs.git ajitk/topics/k3.10.1-aic31xx -branch at commit 77504eba0294764e9e63b4a0c696b44db187cd13. Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/dt-bindings/sound')
-rw-r--r--include/dt-bindings/sound/tlv320aic31xx-micbias.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dt-bindings/sound/tlv320aic31xx-micbias.h b/include/dt-bindings/sound/tlv320aic31xx-micbias.h
new file mode 100644
index 000000000000..f5cb772ab9c8
--- /dev/null
+++ b/include/dt-bindings/sound/tlv320aic31xx-micbias.h
@@ -0,0 +1,8 @@
+#ifndef __DT_TLV320AIC31XX_MICBIAS_H
+#define __DT_TLV320AIC31XX_MICBIAS_H
+
+#define MICBIAS_2_0V 1
+#define MICBIAS_2_5V 2
+#define MICBIAS_AVDDV 3
+
+#endif /* __DT_TLV320AIC31XX_MICBIAS_H */
OpenPOWER on IntegriCloud