From: Dzmitry Sankouski <dsankouski@gmail.com>
To: cros-qcom-dts-watchers@chromium.org,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
Dzmitry Sankouski <dsankouski@gmail.com>
Subject: [PATCH v8 01/14] ASoC: dt-bindings: Add bindings for WCD934x DAIs
Date: Mon, 09 Dec 2024 15:09:05 +0300 [thread overview]
Message-ID: <20241209-starqltechn_integration_upstream-v8-1-ec604481d691@gmail.com> (raw)
In-Reply-To: <20241209-starqltechn_integration_upstream-v8-0-ec604481d691@gmail.com>
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>
---
Changes in v8:
- remove #define NUM_CODEC_DAIS, because not binding constant
- fix intendation
---
MAINTAINERS | 1 +
include/dt-bindings/sound/qcom,wcd934x.h | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7700208f6ccf..f69ef5851298 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -19015,6 +19015,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..8b30d34fcc87
--- /dev/null
+++ b/include/dt-bindings/sound/qcom,wcd934x.h
@@ -0,0 +1,16 @@
+/* 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
+
+#endif
--
2.39.5
next prev parent reply other threads:[~2024-12-09 12:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-09 12:09 [PATCH v8 00/14] This is continued work on Samsung S9(SM-9600) starqltechn Dzmitry Sankouski
2024-12-09 12:09 ` Dzmitry Sankouski [this message]
2024-12-10 8:10 ` [PATCH v8 01/14] ASoC: dt-bindings: Add bindings for WCD934x DAIs Krzysztof Kozlowski
2024-12-09 12:09 ` [PATCH v8 02/14] ASoC: codecs: wcd934x: use wcd934x binding header Dzmitry Sankouski
2024-12-09 12:09 ` [PATCH v8 03/14] arm64: dts: qcom: sdm845: enable gmu Dzmitry Sankouski
2024-12-09 12:09 ` [PATCH v8 04/14] arm64: dts: qcom: sdm845-starqltechn: remove wifi Dzmitry Sankouski
2024-12-09 12:09 ` [PATCH v8 05/14] arm64: dts: qcom: sdm845-starqltechn: fix usb regulator mistake Dzmitry Sankouski
2024-12-09 12:09 ` [PATCH v8 06/14] arm64: dts: qcom: sdm845-starqltechn: refactor node order Dzmitry Sankouski
2024-12-09 12:09 ` [PATCH v8 07/14] arm64: dts: qcom: sdm845-starqltechn: remove excess reserved gpios Dzmitry Sankouski
2024-12-09 12:09 ` [PATCH v8 08/14] arm64: dts: qcom: sdm845-starqltechn: add gpio keys Dzmitry Sankouski
2024-12-09 12:09 ` [PATCH v8 09/14] arm64: dts: qcom: sdm845-starqltechn: add max77705 PMIC Dzmitry Sankouski
2024-12-13 23:57 ` Konrad Dybcio
2024-12-09 12:09 ` [PATCH v8 10/14] arm64: dts: qcom: sdm845-starqltechn: add display PMIC Dzmitry Sankouski
2024-12-13 23:55 ` Konrad Dybcio
2024-12-09 12:09 ` [PATCH v8 11/14] arm64: dts: qcom: sdm845-starqltechn: add touchscreen support Dzmitry Sankouski
2024-12-09 12:09 ` [PATCH v8 12/14] arm64: dts: qcom: sdm845-starqltechn: add initial sound support Dzmitry Sankouski
2024-12-13 23:55 ` Konrad Dybcio
2024-12-09 12:09 ` [PATCH v8 13/14] arm64: dts: qcom: sdm845-starqltechn: add graphics support Dzmitry Sankouski
2024-12-13 23:57 ` Konrad Dybcio
2024-12-09 12:09 ` [PATCH v8 14/14] arm64: dts: qcom: sdm845-starqltechn: add modem support Dzmitry Sankouski
2025-02-07 14:02 ` (subset) [PATCH v8 00/14] This is continued work on Samsung S9(SM-9600) starqltechn Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241209-starqltechn_integration_upstream-v8-1-ec604481d691@gmail.com \
--to=dsankouski@gmail.com \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox