Message ID | 20241205-starqltechn_integration_upstream-v7-1-84f9a3547803@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | This is continued work on Samsung S9(SM-9600) starqltechn | expand |
On Thu, Dec 05, 2024 at 12:34:48AM +0300, Dzmitry Sankouski wrote: > +#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 AIF4_VIFEED 7 > +#define AIF4_MAD_TX 8 Some odd indent appeared after #define > +#define NUM_CODEC_DAIS 9 Drop, not a binding. Best regards, Krzysztof
diff --git a/MAINTAINERS b/MAINTAINERS index 1240e75ecf4b..b25a196c5fab 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18984,6 +18984,7 @@ F: Documentation/devicetree/bindings/soc/qcom/qcom,apr* F: Documentation/devicetree/bindings/sound/qcom,* F: drivers/soc/qcom/apr.c F: include/dt-bindings/sound/qcom,wcd9335.h +F: include/dt-bindings/sound/qcom,wcd934x.h F: sound/soc/codecs/lpass-rx-macro.* F: sound/soc/codecs/lpass-tx-macro.* F: sound/soc/codecs/lpass-va-macro.c diff --git a/include/dt-bindings/sound/qcom,wcd934x.h b/include/dt-bindings/sound/qcom,wcd934x.h new file mode 100644 index 000000000000..68c3d43ee898 --- /dev/null +++ b/include/dt-bindings/sound/qcom,wcd934x.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ + +#ifndef __DT_SOUND_QCOM_WCD934x_H +#define __DT_SOUND_QCOM_WCD934x_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 AIF4_VIFEED 7 +#define AIF4_MAD_TX 8 +#define NUM_CODEC_DAIS 9 + +#endif
Add bindings for the DAIs available in WCD934x to avoid having to use unclear number indices in device trees. Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com> --- MAINTAINERS | 1 + include/dt-bindings/sound/qcom,wcd934x.h | 17 +++++++++++++++++ 2 files changed, 18 insertions(+)