aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-06-30 12:45:02 +0100
committerMark Brown <broonie@kernel.org>2022-06-30 12:45:02 +0100
commit53447365ccb442bbd3dfffc2d7fd96203770dfb6 (patch)
tree243786886c400409da1b34dfd756b240dc22c7a2 /include
parentASoC: doc: Update dead links (diff)
parentASoC: wcd9335: Use DT bindings instead of local DAI definitions (diff)
ASoC: dt-bindings: Add bindings for WCD9335 DAIs
Merge series from Yassine Oudjana <yassine.oudjana@gmail.com>: Add DT bindings for WCD9335 DAIs and use them in the driver as well as all device trees currently using WCD9335.
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/sound/qcom,wcd9335.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dt-bindings/sound/qcom,wcd9335.h b/include/dt-bindings/sound/qcom,wcd9335.h
new file mode 100644
index 000000000000..f5e9f1db091e
--- /dev/null
+++ b/include/dt-bindings/sound/qcom,wcd9335.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+
+#ifndef __DT_SOUND_QCOM_WCD9335_H
+#define __DT_SOUND_QCOM_WCD9335_H
+
+#define AIF1_PB 0
+#define AIF1_CAP 1
+#define AIF2_PB 2
+#define AIF2_CAP 3
+#define AIF3_PB 4
+#define AIF3_CAP 5
+#define AIF4_PB 6
+#define NUM_CODEC_DAIS 7
+
+#endif