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.
I'm working on backporting the 5.8 mainline driver for the TAS2110 into my project. One thing I noticed is that minimum number of channels is specified as 2:
.name = "tas2562-amplifier", .id = 0, .playback = { .stream_name = "ASI1 Playback", .channels_min = 2, .channels_max = 2, .rates = SNDRV_PCM_RATE_8000_192000, .formats = TAS2562_FORMATS, },
I'm also wondering how/if the driver handles the IRQ. I was previously using this driver:
But am running into problems with the IRQ constantly happening with the TDM Clock Error bit set.
Will I be able to use the mainline driver for a mono TAS2110?
Hi Chris,
Have you tried to use this other set of files? tas256xsw-android/tas2562-android-driver - Software for TAS256x on Android platforms - Android software for Texas Instruments TAS2562. (ti.com)
The link you shared is for stereo driver, the one above here is mono.
Best regards,
-Ivan Salazar
Applications Engineer - Low Power Audio & Actuators
Ivan,
Thanks for pointing me to that. I'll try to integrate it, it looks like there are a number of changes needed due to using a newer kernel version. Just curious, is there any reason to use that driver instead of the mainline driver created by Dan Murphy, referenced in this post: https://e2e.ti.com/support/audio/f/6/t/933995?TAS2110-TAS2110-TAS2562-device-tree-for-imx8m-mini ?
Hi, Chris,
Our team is checking your latest question. We will provide a feedback as soon as possible.
Best regards,
Luis Fernando Rodríguez S.
Hi Chris,
I think the files were purposed to be implemented in different platforms.
I can check with our SW team on this question.
Best regards,
-Ivan Salazar
Applications Engineer - Low Power Audio & Actuators
Hi Chris,
Do you have any further questions about your original question?
Please let us know if this thread is closed. Thanks.
Best regards,
-Ivan Salazar
Applications Engineer - Low Power Audio & Actuators
Hi Ivan,
I'm not sure I understand the last couple messages. Should I be able to use the mainline kernel driver? Or is it recommended to use the ti repo linked above?
Thanks,
Chris Garren
Hi, Chris,
Ivan is taking a look at your questions. He will provide a response shortly.
Best regards,
Luis Fernando Rodríguez S.
Hi Chris,
Sorry for late response, we're actively supporting the drivers from ti repo, I would suggest to take it from there.
Best regards,
-Ivan Salazar
Applications Engineer - Low Power Audio & Actuators