Hi,
I'm trying to get the audio working on our DM8168 custom board. Our board is very similiar to the EVM one. It uses AIC3200 codec component, McASP2 to communicate with it and it's controlled by I2C.
Following the instruction in the PSP user manual and the PSP audio driver manual, I changed the driver settings, recompiled the kernel and the audio devices are successfully detected:
asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
**** List of PLAYBACK Devices ****
But when I try arecord or aplay or minimal_capture/minimal_playback example from the EZSDK I get : segmentation fault.
The EVM is using I2C0 but I'm using I2C1. So I'm thinking that might be the problem. But I coudn't find where to change it in the source code.
I tried in board-ti8168.evm, to move:
from static struct i2c_board_info __initdata ti816x_i2c_boardinfo0
to from static struct i2c_board_info __initdata ti816x_i2c_boardinfo1
but this time I get "no sound card found"
Either it was a mistake to change the above structure or I need to change/add other line in the driver code?
PLease can you help me with this issue.
I have been also reading the following documentation:
http://processors.wiki.ti.com/index.php/TI81xx_PSP_Porting_Guide#I2C_Driver
but I still can't make sense of this issue.
Regards,
Emilie