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.xi...@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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/