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.

TDA2EXEVM: HDMI audio not working

Part Number: TDA2EXEVM

Hi,

Following is development environment :

TDA2X EVM

HDMI TV

PDK - ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03

I'm trying to play audio via HDMI audio.  I can see the HDMI audio as a card with aplay -l as follows

------------------------------

root@dra7xx-evm:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: DRA7xxEVM [DRA7xx-EVM], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: H58040000encode [HDMI 58040000.encoder], device 0: HDMI 58040000.encoder snd-soc-dummy-dai-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: DRA7xxJAMR3 [DRA7xx-JAMR3], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
----------------------------

However, when I test is using the speaker-test -Dhw:1,0, I get error as 

------------

Stream parameters are 48000Hz, S16_LE, 1 channels[  878.742464] hdmi_mode_has_audio = 0
Using 16 octaves of pink noise
[  878.758444] omapdss_hdmi5 58040000.encoder: ASoC: can't open interface 58040000.encoder: -1

Playback open error: -1,Operation not permitted
--------

Further,  debugging indicate hdmi_audio_startup() from /kernel/omap/drivers/gpu/drm/omapdrm/dss/hdmi5.c has failed as  hdmi_mode_has_audio  and  hd->display_enabled are set to 0 !

Can you please provide any clues on enabling HDMI audio ?

Note : I have connected HDMI TV on EVM HDMI port.

Regards

Uday