Hello all:
On my DM8148 board,the tlv320aic3x device is attached I2c4(I2c1~I2c4) not I2c1 as the EVM,and the tlv320aic3x MCLK use 24M External Crystal Oscillator not 24.576M as EVM board.So How should I change the audio driver according to my board?
I changes the followings:
1.sound/soc/davinci/davinci-evm.c
static struct snd_soc_dai_link ti81xx_evm_dai[]={
.codec_name="tlv320aic3x-codec.4-0018",//If I2c1 then use tlv320aic3x-codec.1-0018 (I2c1~I2c4)
}
2、arch/arm/mach-omap2/board-ti8148-evm.c
omap_register_i2c_bus(4, 100, ti814x_i2c_boardinfo3, ARRAY_SIZE(ti814x_i2c_boardinfo3));.
3、
Modify arch/arm/mach-omap2/i2c.c to add correct mux entries.config the I2c3 pins,and enable pull up.
this is all ok.
After the above ,execute :