This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM814x multichannel HDMI audio output?

TI folks,

We have developed a product based on the DM814x, using:

  • DM814x PG 3.0
  • EZSDK 5.05.02.00
  • EZSDK OMX/HDVPSS Overlay 5.05.02.00
  • PSP 04.04.00.02
  • Most of the Arago updates for both linux and u-boot in ti81xx-master after the v2.6.37_TI81XXPSP_04.04.00.02.patch1 tag
  • External audio codec capable of multichannel PCM output.

Pavel recently directed me to this FAQ on a different thread that shows how to add multichannel audio capture support:

http://processors.wiki.ti.com/index.php/TI81XX_PSP_AUDIO_Driver_User_Guide#FAQ

I would like to clarify the capability of DM184x with respect to multi-channel decode and HDMI output.  Here's what I've noticed:

  • The DM814x TRM seems to imply that HDMI output block can support multichannel audio.  E.g., section 13.2.8.2.3.2 Speaker Mapping and Channel Ordering in the Audio FIFO.
  • The EZSDK kernel file sound/soc/davinci/davince-hdmi.c hard-codes the HDMI wrapper for HDMI_STEREO_ONECHANNELS and LAYOUT_2CH layout, but seems like this could be made flexible.
  • The OpenMax_DM814x_UserGuid.pdf describes ADEC as:
    • Decoded output PCM is Stereo channels with 16-bit* bit-precision per
      sample. If the stream is mono, internal codec performs mono to stereo
      conversion


      (Could be read as stereo pairs rather than 2-channel-only restriction?)
  • The MPEG4AAC_LC_Decoder_C674X_UserGuide.pdf describes a six channel mode.  (Search for "sixChannelMode".)

So my questions are:

  1. If the kernel HDMI driver were reworked to be more flexible, is it possible to output multi-channel output?
  2. Can the OMX ADEC component be used to decode multi-channel AAC data?

Thanks,

Dan -