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 team,
My customer is looking for TSC2046 Linux driver.
I found one in e2e, but it is too old, it is for Linux 2.6.
Do you have Linux driver for Linux 3.0 or above?
If not, could you help to advise similar component which have Linux driver?
Thanks
Best Regards,
Sean Song
Hi Sean,
I do not think there is a more current driver available for that device, so you might need to port the code over yourself. We are checking with our software team to confirm and will get back to you within 48 hours.
Brian
Hi Sean
Kindly share the link where the driver for Linux 2.6 is? I'll check this code.
And which kernel version your project will use? Looking forward to your reply. Thanks.
BR
Shenghao
Hi Shenghao
Thank you very much for your help.
I find two TSC2046 Linux driver in e2e.
1.
https://www.spinics.net/lists/linux-input/msg06312.html
2.
I see e2e said TSC2046 can use same Linux driver with ADS7846.
I also find a ADS7846 driver from e2e and let customer try to use.
3.
https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/ads7846.c
So I totally have 3 Linux driver as up.
Customer's kernel version is 5.4.70. They said Linux 3.0(4.0 is better) or above is OK.
And do you have device-tree for TSC2046? Below is device-tree I found for customer for another device tlv320, please refer to it.
git.kernel.org/.../tlv320aic31xx.h
Thanks very much.
Best Regards,
Sean Song
Hi Sean
I found in latest kernel branch, the driver code you mentioned has been already open source.
Kindly coming to following linking:
ads7846.c « touchscreen « input « drivers - kernel/git/torvalds/linux.git - Linux kernel source tree
Thanks
Hi Shenghao,
Many thanks to you.
With your help my customer have no problem with driver.
They want to know do you have device tree for TSC2046 or ADS7846(I don't know can TSC2046 use ADS7846's device tree)?
I try to find it in the whole e2e, and I failed to find.
Could you please help on it?
Thanks very much.
Best Regards,
Sean Song
Hi Shenghao,
Thank you for your professional reply.
Especially thank you working on in on the weekend.
I will find and check with customer.
Best Regards,
Sean Song