From: Xiubo Li <Li.Xiubo@freescale.com>
To: <broonie@kernel.org>, <lgirdwood@gmail.com>
Cc: <kuninori.morimoto.gx@renesas.com>, <alsa-devel@alsa-project.org>,
<linux-kernel@vger.kernel.org>, <tiwai@suse.de>, <perex@perex.cz>,
Xiubo Li <Li.Xiubo@freescale.com>
Subject: [PATCH v2 1/3] ASoC: binding: add tdm-slot.txt
Date: Wed, 12 Feb 2014 15:45:10 +0800 [thread overview]
Message-ID: <1392191112-27028-2-git-send-email-Li.Xiubo@freescale.com> (raw)
In-Reply-To: <1392191112-27028-1-git-send-email-Li.Xiubo@freescale.com>
TDM slot:
This specifies audio DAI's TDM slot.
Each entry is has four non-negative integer values in DT:
<tx_mask, rx_mask, slots, slot_width>
For instance:
simple-slot-info = <0xffffffc 0xffffffc 2 0>;
And this will be parsed into the following format:
struct soc_slot_info {
unsigned int tx_mask;
unsigned int rx_mask;
int slots;
int slot_width;
};
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
---
Documentation/devicetree/bindings/sound/tdm-slot.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/tdm-slot.txt
diff --git a/Documentation/devicetree/bindings/sound/tdm-slot.txt b/Documentation/devicetree/bindings/sound/tdm-slot.txt
new file mode 100644
index 0000000..33dfb15
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/tdm-slot.txt
@@ -0,0 +1,17 @@
+TDM slot:
+
+This specifies audio DAI's TDM slot.
+
+Each entry is has four non-negative integer values in DT:
+ <tx_mask, rx_mask, slots, slot_width>
+
+For instance:
+ simple-slot-info = <0xffffffc 0xffffffc 2 0>;
+
+And this will be parsed into the following format:
+ struct soc_slot_info {
+ unsigned int tx_mask;
+ unsigned int rx_mask;
+ int slots;
+ int slot_width;
+ };
--
1.8.4
next prev parent reply other threads:[~2014-02-12 8:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 7:45 [PATCH v2 0/3] Add tdm slot support Xiubo Li
2014-02-12 7:45 ` Xiubo Li [this message]
2014-02-12 9:26 ` [alsa-devel] [PATCH v2 1/3] ASoC: binding: add tdm-slot.txt Lars-Peter Clausen
2014-02-12 11:10 ` Mark Brown
2014-02-13 7:32 ` Li.Xiubo
2014-02-12 7:45 ` [PATCH v2 2/3] ASoC: core: add slot information parsing supports Xiubo Li
2014-02-12 7:45 ` [PATCH v2 3/3] ASoC: simple-card: " Xiubo Li
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=1392191112-27028-2-git-send-email-Li.Xiubo@freescale.com \
--to=li.xiubo@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.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
all inboxes | Powered by JetHome®