From: Stefan Roese <sr@denx.de>
To: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org
Cc: broonie@kernel.org,
Thorsten Eisbein <thorsten.eisbein@head-acoustics.de>
Subject: [PATCH 5/5] ASoC: omap: Add DT bindings documentation for HA DSP audio driver
Date: Mon, 28 Apr 2014 14:17:56 +0200 [thread overview]
Message-ID: <1398687476-10829-5-git-send-email-sr@denx.de> (raw)
In-Reply-To: <1398687476-10829-1-git-send-email-sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Thorsten Eisbein <thorsten.eisbein@head-acoustics.de>
---
.../devicetree/bindings/sound/omap3-ha.txt | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/omap3-ha.txt
diff --git a/Documentation/devicetree/bindings/sound/omap3-ha.txt b/Documentation/devicetree/bindings/sound/omap3-ha.txt
new file mode 100644
index 0000000..09eccda
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/omap3-ha.txt
@@ -0,0 +1,27 @@
+OMAP3 HA (HEAD acoustics) audio controller
+
+Required properties:
+- compatible: "ha,ha-dsp-card" for OMAP3-HA board (TAO3530 based)
+- ti,model: Name of the sound card (for example "omap3-ha")
+- ti,mcbsp: phandle for the McBSP node
+- ti,codec: phandle for the twl4030 audio node
+- gpios: GPIO used to sync the clock for playback and record
+
+Optional properties:
+- ha_dsp_codec_slave:
+ Add this property to test the codec in slave mode or without actual codec.
+ This makes it possible to test this driver by letting the OMAP be the DAI
+ link master.
+
+Example:
+sound2 {
+ compatible = "ha,ha-dsp-card";
+ ti,model = "omap3-ha";
+
+ /* McBSP3 is used for HA-DSP */
+ ti,mcbsp = <&mcbsp3>;
+ ti,codec = <&soc_audio>;
+
+ /* GPIO to sync the clock for playback and record */
+ gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; /* GPIO 44 */
+};
--
1.9.1
next prev parent reply other threads:[~2014-04-28 12:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 12:17 [PATCH 1/5] ASoC: Add support for machine specific trigger callback Stefan Roese
2014-04-28 12:17 ` [PATCH 2/5] ASoC: Add HA (HEAD acoustics) DSP codec driver template Stefan Roese
2014-04-28 14:45 ` [alsa-devel] " Lars-Peter Clausen
2014-04-28 17:32 ` Jarkko Nikula
2014-04-29 18:47 ` Mark Brown
2014-04-28 12:17 ` [PATCH 3/5] ASoC: omap: Add HA (HEAD acoustics) DSP add-on card audio driver for TAO3530 Stefan Roese
2014-04-28 17:35 ` Jarkko Nikula
2014-04-28 17:39 ` Jarkko Nikula
2014-04-29 18:54 ` Mark Brown
2014-04-28 12:17 ` [PATCH 4/5] DT: Add vendor prefix for HEAD acoustics Stefan Roese
2014-04-28 12:17 ` Stefan Roese [this message]
2014-04-29 19:05 ` [PATCH 1/5] ASoC: Add support for machine specific trigger callback 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=1398687476-10829-5-git-send-email-sr@denx.de \
--to=sr@denx.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=thorsten.eisbein@head-acoustics.de \
/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