diff options
| -rw-r--r-- | Documentation/devicetree/bindings/sound/tdm-slot.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/tdm-slot.txt b/Documentation/devicetree/bindings/sound/tdm-slot.txt new file mode 100644 index 000000000000..6a2c84247f91 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/tdm-slot.txt | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | TDM slot: | ||
| 2 | |||
| 3 | This specifies audio DAI's TDM slot. | ||
| 4 | |||
| 5 | TDM slot properties: | ||
| 6 | dai-tdm-slot-num : Number of slots in use. | ||
| 7 | dai-tdm-slot-width : Width in bits for each slot. | ||
| 8 | |||
| 9 | For instance: | ||
| 10 | dai-tdm-slot-num = <2>; | ||
| 11 | dai-tdm-slot-width = <8>; | ||
| 12 | |||
| 13 | And for each spcified driver, there could be one .of_xlate_tdm_slot_mask() | ||
| 14 | to specify a explicit mapping of the channels and the slots. If it's absent | ||
| 15 | the default snd_soc_of_xlate_tdm_slot_mask() will be used to generating the | ||
| 16 | tx and rx masks. | ||
| 17 | |||
| 18 | For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit | ||
| 19 | for an active slot as default, and the default active bits are at the LSB of | ||
| 20 | the masks. | ||
