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.

TAS5720A-Q1: Driver Support in Linux Kernel v4.9

Part Number: TAS5720A-Q1


Tool/software:

Hi Team,

We have designed an audio amplifier using the TAS5720A-Q1 and verified the design in hardware configuration mode with the TAS5720A-Q1 EVK. Currently, our custom board is in the bring-up stage and includes options for both hardware and software control.

With the TAS EVK, we are now working on enabling the software control mode. We are using Linux kernel 4.9, which is included with Linux for Tegra (L4T) 32.7.1. We understand that the latest kernel versions have support for the TAS5720A-Q1, but version 4.9 includes an older driver that lacks this support. We are currently working on modifying the driver to add support and bringing the compatibility.

We encountered the following errors, and temporarily removed the regulator sections to proceed with testing:

[  1.903178] tas5720 1-006c: Failed to get supply 'dvdd': -19        

[  1.908926] tas5720 1-006c: failed to request supplies: -19         

[  1.941286] tegra-asoc: sound: ASoC: CODEC DAI tas5720-amplifier not registed

[  1.958449] registered taskstats version 1

After removing the regulator, the system defaults to checking for the TAS5720 device ID, which is 1. However, we are connecting the TAS5720A-Q1, which has a default device ID of 0. This resulted in the following error:

[ 61.052249] tas5720 1-006c: wrong device ID. expected: 1 read: 0

[ 61.058302] tas5720 1-006c: ASoC: failed to probe component -19

[ 61.064261] tegra-asoc: sound: ASoC: failed to instantiate card -19

We request your support in reviewing our understanding. Additionally, it would be great if you could point us toward any proven workarounds or guidance for adding support for the TAS5720A-Q1 in kernel v4.9.

Thanks.

Regards,

Jayasurya

  • Hi Jayasurya,

    This driver is developed long time ago, sorry we don't have such expert to support it, it can be configured directly via i2c driver, you can use a I2C R/W tool for Linux to configure the amp or you can use the Purepath console Software to generate a script to configure your system.

    Thanks

    Kevin

  • Dear Kevin,

    Thank you for your support.

    Our requirement is to integrate this amplifier with Jetson series products that support the v4.9 kernel. Since we need control from standard user-space applications, would pure path or direct control be a possibility, even though it would help us with the bring-up and testing process?

    Please share your thoughts on adding compatibility for the TAS5720A-Q1 to the legacy driver in order to enable the full audio path. We plan to proceed with this and would appreciate any suggestions or insights you can provide, including any potential risks you foresee.

    Regards,
    Jayasurya

  • hi Jayasurya , I am software from AAA team, we can provide another driver that can work well , would you mind change to the new solution?

  • Hi Eliam,

    Thank you for your support.

    An alternative driver that makes the TAS5720A-Q1 work with kernel v4.9 would be a great help.

    We will test it and keep you updated. Moreover, it would serve as a reference for modifying the legacy driver, if required.

  • hi , please download the code in below link:

    tidrive.ext.ti.com/.../9a422d1a-84ae-4553-86ee-38e007e1500f

    access code:4DCdH+x3

  • Hi Eliam,

    Thank you for sharing the code, and apologies for the delayed response.

    When I try to access the link, it redirects to the TI enterprise login, and my E2E credentials do not seem to work there. Could you please help us in downloading the code?

    Regards,
    Jayasurya

  • Hi Jaya

     Sorry, that link has some problem. Please have a try with below one, shouldn't need any login.

    tidrive.ext.ti.com/.../9a422d1a-84ae-4553-86ee-38e007e1500f

    access code:   

    ;wt18cUG