lkml.org 
[lkml]   [2014]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 1/3] ASoC: binding: add tdm-slot.txt
Date
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



\
 
 \ /
  Last update: 2014-02-13 03:41    [W:0.139 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site