diff options
author | Yassine Oudjana <y.oudjana@protonmail.com> | 2022-06-22 20:13:20 +0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-29 18:11:27 +0100 |
commit | 57b8b2113e2056d72dbe1d6123950f145c874168 (patch) | |
tree | 21036727d5ac5d54570c2ee3ad2ef1b634f10564 /include/dt-bindings | |
parent | fc34ece41f7183d522d15dc4189d8df6e8e23737 (diff) | |
download | lwn-57b8b2113e2056d72dbe1d6123950f145c874168.tar.gz lwn-57b8b2113e2056d72dbe1d6123950f145c874168.zip |
ASoC: dt-bindings: Add bindings for WCD9335 DAIs
Add bindings for the DAIs available in WCD9335 to avoid
having to use unclear number indices in device trees.
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220622161322.168017-2-y.oudjana@protonmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/sound/qcom,wcd9335.h | 15 |
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 |