summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/touchscreen-imx233.c
AgeCommit message (Collapse)AuthorFilesLines
2017-05-16imx233: fix touchscreen driverAmaury Pouly1-6/+30
One cannot call lradc_acquire in IRQ context. The solution is to reserve the channel once at init. There is an additional complication on STMP3600 where channel mapping is fixed. Change-Id: Idccbac634a4d9002703e2b1d57748beb9b245cbb
2014-02-20imx233: split lradc channel setup into source and sampling parametersAmaury Pouly1-1/+2
Change-Id: I1be43fec9622cb78fc5737e5ed8d7fda17baf576
2014-01-05Add missing kernel.h includes (hopefully all of them), take #2.Thomas Martitz1-0/+3
Change-Id: I62cedf992bb096987050621cfc34f0432e9da170
2013-12-02Initial commit for the YP-Z5 portLorenzo Miori1-0/+27
The port uses the imx233 soc, it's a STMP3650 based Samsung player Change-Id: I50b6d7e77fd292fab5ed26de87853cd5aaf9eaa4 Reviewed-on: http://gerrit.rockbox.org/490 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-06-18imx233: rework touchscreen driverAmaury Pouly1-47/+37
The old driver didn't behave nicely because it waiting for stability which could never arrive on some gestures. The new one uses a fixed delay and averaging. Change-Id: I8ff80f373b6792e6d5fc3cfe41b709642e61c38b
2013-06-17imx233: fix lradc/adc for stmp3600 and stmp3700Amaury Pouly1-1/+1
The lradc architecture of the stmp3600 is rather different: only channels 6 and 7 have configurable source and we need to take care when allocating channels so that we can actually measure the right channel! Delegate die temperature sensing to the power block on stmp3600. Change-Id: I0860eb4ea98240facc3d4a19d61684eca5f630cc
2013-06-16imx233: rewrite lradc using new register headersAmaury Pouly1-3/+3
Change-Id: I06e4467c0ffe33145e6192528b074a23a8df67cc
2012-12-29Fix copyright headersAmaury Pouly1-3/+0
Change-Id: Ie65920b1192e9b737fcc2554d280fbcedfa39800
2012-05-19imx233: add touchscreen driverAmaury Pouly1-0/+193
Change-Id: I406076d110e33cdae871222191d82262fabcf16a