aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/sound
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2015-05-22 16:53:52 +0100
committerMark Brown <broonie@kernel.org>2015-05-25 15:04:32 +0100
commitdc1ebd1811e984301f98f3f9edd192327d2e35e1 (patch)
tree5d1c65053fc13c5f6472d6262393736818c7c30b /include/dt-bindings/sound
parentb202836a548c1985137b5b648a4afe3cc5959f4b (diff)
ASoC: qcom: Add apq8016 lpass driver support
This patch adds apq8016 lpass driver support. APQ8016 has 4 MI2S which can be routed to one internal codec and 2 external codec interfaces. Primary, Secondary, Quaternary I2S can do Rx(playback) and Tertiary and Quaternary can do Tx(capture). Tested-by: Kenneth Westfield <kwestfie@codeaurora.org> Acked-by: Kenneth Westfield <kwestfie@codeaurora.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings/sound')
-rw-r--r--include/dt-bindings/sound/apq8016-lpass.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dt-bindings/sound/apq8016-lpass.h b/include/dt-bindings/sound/apq8016-lpass.h
new file mode 100644
index 000000000000..499076e980a3
--- /dev/null
+++ b/include/dt-bindings/sound/apq8016-lpass.h
@@ -0,0 +1,9 @@
+#ifndef __DT_APQ8016_LPASS_H
+#define __DT_APQ8016_LPASS_H
+
+#define MI2S_PRIMARY 0
+#define MI2S_SECONDARY 1
+#define MI2S_TERTIARY 2
+#define MI2S_QUATERNARY 3
+
+#endif /* __DT_APQ8016_LPASS_H */

Privacy Policy