No device for DAI tlv320aic23 (ARM,AT91,I2C)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have problem with tlv32aic23 audio driver.
This codec works with mainboard with ARM AT91SAM9261 processor.
The codec is connected via I2C bus (control) and SSC-I2S (data).

I have got the following result:

++Starting kernel ...
++Uncompressing Linux............ done, booting the kernel
++Linux version 2.6.28-rc6 (root@adamr) (gcc version 3.4.2)...
++CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
++Machine: Atmel AT91SAM9261-EK
++...
++...
++i2c /dev entries driver
++Advanced Linux Sound Architecture Driver Version 1.0.19.
++No device for DAI tlv320aic23
++...
++...


Some part of my code:
++//board-sam9261ek.c
++static struct i2c_board_info aspel_i2c_devs[] __initdata = {
++	{
++		I2C_BOARD_INFO("tlv320aic23", 0x1a),
++	}, {
++		I2C_BOARD_INFO("tmp101", 0x48),
++	},
++};

++static void __init ek_board_init(void)
++{
++...
++i2c_register_board_info(0, aspel_i2c_devs, ARRAY_SIZE(aspel_i2c_devs));
++...
++}


++//tlv320aic23.c
++...
++static int __init tlv320aic23_modinit(void)
++{
++	return snd_soc_register_dai(&tlv320aic23_dai);
++}
++module_init(tlv320aic23_modinit);
++
++static void __exit tlv320aic23_exit(void)
++{
++	snd_soc_unregister_dai(&tlv320aic23_dai);
++}
++module_exit(tlv320aic23_exit);


I did not modify ALSA code.
What should I do to run tlv32aic23 driver?
Any other initialization is needed?

Thanks for any help.
Adam R.



------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux