tdm-slot.txt 640 B

123456789101112131415161718192021
  1. TDM slot:
  2. This specifies audio DAI's TDM slot.
  3. TDM slot properties:
  4. dai-tdm-slot-num : Number of slots in use.
  5. dai-tdm-slot-width : Width in bits for each slot.
  6. For instance:
  7. dai-tdm-slot-num = <2>;
  8. dai-tdm-slot-width = <8>;
  9. And for each spcified driver, there could be one .of_xlate_tdm_slot_mask()
  10. to specify a explicit mapping of the channels and the slots. If it's absent
  11. the default snd_soc_of_xlate_tdm_slot_mask() will be used to generating the
  12. tx and rx masks.
  13. For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit
  14. for an active slot as default, and the default active bits are at the LSB of
  15. the masks.