Other Parts Discussed in Thread: TAS2770
Hi expert,
Do we have TAS2110 Linux driver v5.4.238 can share with customer?
Regards,
Allan
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.
Hi Allan
Code and guideline are in the lpaa-android-drivers/tasdevice-linux-driver - Unnamed repository; edit this file 'description' to name the repository.
regbin tool and guideline are in tool - lpaa-android-drivers/pcmdevice-linux-driver - Unnamed repository; edit this file 'description' to name the repository.
Hi Shenghao Ding
I don't see tas2110xxx.c in https://git.ti.com/cgit/lpaa-android-drivers/tasdevice-linux-driver/tree/src
Could you update tas2110 driver to https://git.ti.com/cgit/lpaa-android-drivers/tasdevice-linux-driver/tree/src, thanks.
Hi, Shine
tas2110 register map is similar to tas2770, so no extra c&h files are needed.
Actually, you can check the commit logs, we have already uploaded some codes related to tas2110.
Hi Shenghao Ding,
I got error after command "insmod /lib/snd-soc-tasdevice.ko"
# insmod /lib/snd-soc-tasdevice.ko
[ 16.354071] tasdevice-codec 0-0048: Primary-device = 0x48
[ 16.359489] tasdevice-codec 0-0048: Looking up irq-gpio property failed -22
#
My device tree:
tas2110: tasdevice@48 {
compatible = "ti,tas2110";
#sound-dai-cells = <0>;
reg = <0x48>;
ti,topleft-channel = <0x48>;
ti,reset-gpio0 = <&gpio 98 1>;
ti,irq-gpio = <&gpio 99 1>;
};
If I use interrupt-free DTS setting:
tas2110: tasdevice@48 {
compatible = "ti,tas2110";
reg = <0x48>;
#sound-dai-cells = <0>;
reset-gpios = <&gpio 98 1>;
};
The command "insmod /lib/snd-soc-tasdevice.ko" has same error "tasdevice-codec 0-0048: Looking up irq-gpio property failed -22"
Are my DTS settings correct?
Hi
Pls use reset-gpios instead of ti,reset_gpio0; Per the irq error, this means the irq code on BBB can run well on your platform, you will have some modification on your platform. But do not care the irq error, now. It does not have some side effect.
In order to offer a full-feature bin file, kindly offer following information?
How many audio cases in your project?
What are they? and their sample rate, bitwidth, etc? Thanks
The json file has upstream into tas2110-1amp-reg.json « json - lpaa-android-drivers/tasdevice-linux-driver - Unnamed repository; edit this file 'description' to name the repository.
Kindly use tool - lpaa-android-drivers/pcmdevice-linux-driver - Unnamed repository; edit this file 'description' to name the repository. to convert json file to bin file.
Don't care this. What you do is import the jsaon file and generate the bin file. See Page 42 ~ Page 49 (Regbin file User Guidance (ti.com))