From: Jan Dakinevich <jan.dakinevich@salutedevices.com>
To: Jan Dakinevich <jan.dakinevich@salutedevices.com>,
Conor Dooley <conor+dt@kernel.org>, <devicetree@vger.kernel.org>,
Jaroslav Kysela <perex@perex.cz>,
Jerome Brunet <jbrunet@baylibre.com>,
Kevin Hilman <khilman@baylibre.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
<linux-amlogic@lists.infradead.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <linux-sound@vger.kernel.org>,
Mark Brown <broonie@kernel.org>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Rob Herring <robh@kernel.org>, Takashi Iwai <tiwai@suse.com>
Subject: [PATCH v2 3/4] ASoC: dt-bindings: meson: g12a-toacodec: add support for A1 SoC family
Date: Sun, 9 Mar 2025 21:15:59 +0300 [thread overview]
Message-ID: <20250309181600.1322701-4-jan.dakinevich@salutedevices.com> (raw)
In-Reply-To: <20250309181600.1322701-1-jan.dakinevich@salutedevices.com>
Add support for "toacodec" audio component found A1 SoC family. On this
SoC the component supports capture streams, additional DAI ids are added
to configure this feature.
Signed-off-by: Jan Dakinevich <jan.dakinevich@salutedevices.com>
---
.../devicetree/bindings/sound/amlogic,g12a-toacodec.yaml | 1 +
include/dt-bindings/sound/meson-g12a-toacodec.h | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml b/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml
index 23f82bb89750..c47604aa590f 100644
--- a/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml
+++ b/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml
@@ -26,6 +26,7 @@ properties:
- items:
- enum:
- amlogic,sm1-toacodec
+ - amlogic,a1-toacodec
- const: amlogic,g12a-toacodec
reg:
diff --git a/include/dt-bindings/sound/meson-g12a-toacodec.h b/include/dt-bindings/sound/meson-g12a-toacodec.h
index 69d7a75592a2..f726e2c6064d 100644
--- a/include/dt-bindings/sound/meson-g12a-toacodec.h
+++ b/include/dt-bindings/sound/meson-g12a-toacodec.h
@@ -7,4 +7,9 @@
#define TOACODEC_IN_C 2
#define TOACODEC_OUT 3
+#define TOACODEC_CAPTURE_OUT_A 4
+#define TOACODEC_CAPTURE_OUT_B 5
+#define TOACODEC_CAPTURE_OUT_C 6
+#define TOACODEC_CAPTURE_IN 7
+
#endif /* __DT_MESON_G12A_TOACODEC_H */
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2025-03-09 18:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-09 18:15 [PATCH v2 0/4] ASoC: meson: g12a-toacodec: add support for A1 SoC Jan Dakinevich
2025-03-09 18:15 ` [PATCH v2 1/4] ASoC: meson: codec-glue: add support for capture stream Jan Dakinevich
2025-03-09 18:15 ` [PATCH v2 2/4] ASoC: meson: g12a-toacodec: drop the definition of bits Jan Dakinevich
2025-03-10 2:02 ` kernel test robot
2025-03-09 18:15 ` Jan Dakinevich [this message]
2025-03-11 19:26 ` [PATCH v2 3/4] ASoC: dt-bindings: meson: g12a-toacodec: add support for A1 SoC family Rob Herring (Arm)
2025-03-09 18:16 ` [PATCH v2 4/4] ASoC: " Jan Dakinevich
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=20250309181600.1322701-4-jan.dakinevich@salutedevices.com \
--to=jan.dakinevich@salutedevices.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=perex@perex.cz \
--cc=robh@kernel.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
all inboxes | Powered by JetHome®