- 16 12月, 2010 1 次提交
-
-
由 Tony SIM 提交于
This patch introduces support for Sitronix ST1232 integrated capacitive touchscreen with LCD module. The touchscreen is multitouch capable and can report coordinates of up to two contact points. Signed-off-by: NTony SIM <chinyeow.sim.xt@renesas.com> Reviewed-by: NTrilok Soni <tsoni@codeaurora.org> Acked-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 11月, 2010 2 次提交
-
-
由 Chris Leech 提交于
The kcalloc call for the object table is using sizeof(struct qt602240_data) when it should be using sizeof(struct qt6602240_object), resulting in a larger allocation than is required. Signed-off-by: NChris Leech <christopher.leech@linux.intel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 10月, 2010 2 次提交
-
-
由 Dan Carpenter 提交于
bu21013_data could be NULL so better not reference it. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Considering following scenario - the touch is present on the screen at the beginning of the last conversion sequence, but by the time the last sequence is finished, the finger is lift off. The AD7879 data available interrupt signals (DAV) completion, however some X,Y values are not valid because the screen inputs were floating during the acquisition. The AD7877 acts differently here, since it only asserts DAV if the touch is still present when the conversion sequence finished. Based on the fact that this can only happen in the last sample of the repeated conversion sequence, we simply skip the last (short glitches are filtered by the AD7879 internal median and average filters). This doesn't cause noticeable side effects, since the minimum conversion interval is 9.44ms. We receive ~100 waypoint samples per second, so we simply delay the result by 9.44ms. We also reject samples where pressure is greater than pressure_max. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 10月, 2010 1 次提交
-
-
由 Paul Mundt 提交于
The ctrl_xxx routines are deprecated, switch over to the __raw_xxx versions. Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
-
- 19 10月, 2010 2 次提交
-
-
由 Dmitry Torokhov 提交于
Instead of using asynchronous SPI API and then spinning waiting for SPI transfer to complete when disabling the device, let's use threaded IRQ model and spi_sync(). Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Tested-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Instead of manually creating one set of attributes or another set up is_visible method in attribute group structure to control whether aux3 or gpio3 attribute is presented to userspace. Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 10月, 2010 6 次提交
-
-
由 Justin P. Mattock 提交于
The patch below updates broken web addresses in the kernel Signed-off-by: NJustin P. Mattock <justinmattock@gmail.com> Cc: Maciej W. Rozycki <macro@linux-mips.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Finn Thain <fthain@telegraphics.com.au> Cc: Randy Dunlap <rdunlap@xenotime.net> Cc: Matt Turner <mattst88@gmail.com> Cc: Dimitry Torokhov <dmitry.torokhov@gmail.com> Cc: Mike Frysinger <vapier.adi@gmail.com> Acked-by: NBen Pfaff <blp@cs.stanford.edu> Acked-by: NHans J. Koch <hjk@linutronix.de> Reviewed-by: NFinn Thain <fthain@telegraphics.com.au> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
-
由 Michael Hennerich 提交于
Suppress events where pressure > pressure_max. These events come typically along with inaccurate X and Y samples. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Some input users such as Android or X require BTN_TOUCH events. Implement EV_KEY:BTN_TOUCH and make sure that the release event is not erroneous scheduled without a preceding valid touch. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
According to the AD7877 datasheet: Each transfer operation is 16-bit. If multiple read/write operations are to be performed, CS must be taken high after the end of each read/write operation before another read/write operation can be performed by taking CS low again. Make sure CS toggles after each transfer in the message. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Tejun Heo 提交于
Make hp680_ts_init/exit() call cancel_delayed_work_sync() instead of calling cancel_delayed_work() followed by flush_scheduled_work(). This is to prepare for the deprecation and removal of flush_scheduled_work(). Signed-off-by: NTejun Heo <tj@kernel.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jason Wang 提交于
Commit 91143379 introduces regulator operations in ads7846 touchscreen driver. Among these operations, some are called while holding a spinlock. On many platforms regulators reside on slow buses, such as I2C/SPI and require sleep while accessing them. The touchscreen itself is also a SPI device and currently relies on asynchronous SPI access to avoid sleeping in interrupt context. Let's switch to using threaded IRQ to be able to access SPI bus synchronously (which simplifies driver a bit); it also allows safe access to the regulators as well. This has been tested on the ti_omap3530evm board: 1) using ts_lib after normal boot 2) using ts_lib after "#echo 1/0 > /sys/bus/spi/devices/spi0.1/disable" 3) using ts_lib after "#echo mem > /sys/power/state" and "wake up" Also tested on pandora. Based on original patch by Dmitry Torokhov. Tested-by: NGrazvydas Ignotas <notasas@gmail.com> Signed-off-by: NJason Wang <jason77.wang@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 13 10月, 2010 1 次提交
-
-
由 Naveen Kumar Gaddipati 提交于
Add the ROHM BU21013 capacitive touch panel controller support with i2c interface. Acked-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NNaveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Acked-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 24 9月, 2010 1 次提交
-
-
由 Cyril Chemparathy 提交于
This patch adds support for tnetv107x's on-chip touchscreen controller. Signed-off-by: NCyril Chemparathy <cyril@ti.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
-
- 07 9月, 2010 1 次提交
-
-
由 James Ketrenos 提交于
Without this the jitter on the touchscreen makes it hard to use for most GUI toolkits. Signed-off-by: James Ketrenos<jketreno@linux.intel.com> Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 06 9月, 2010 3 次提交
-
-
由 Eric Millbrandt 提交于
Add logic to wm97xx_read_aux_adc() to retry reading the adc if the sample failed. This could occur if the previous sample was still in the return register or the sample timed-out. Also avoid a pathologic failure mode by disabling the digitizer and returning -EBUSY after 5 retries. Signed-off-by: NEric Millbrandt <emillbrandt@dekaresearch.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Use platform_device_del() instead of platform_device_unregister() in error handling path. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk> Acked-by: NMark Brown <broonie@opensoruce.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Signed-off-by: NAxel Lin <axel.lin@gmail.com> Acked-by: NWolfram Sang <w.sang@pengutronix.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 9月, 2010 5 次提交
-
-
由 Axel Lin 提交于
It is forbidden to call input_free_device() after input_unregister_device(). Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Once device is registered we should call input_unregister_device() instead of input_free_device(). Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
We call platform_get_drvdata() in tps6507x_ts_remove(), thus we should call platform_set_drvdata() in tps6507x_ts_probe(). Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Use input_free_device() to free devices that have not been registered. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 02 9月, 2010 1 次提交
-
-
由 Dmitry Torokhov 提交于
The driver is in reasonable shape now so let's move it out of staging. Acked-by: NAlan Cox <alan@linux.intel.com> Acked-by: NGreg Kroah-Hartman <gregkh@suse.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 8月, 2010 4 次提交
-
-
由 Kevin Wells 提交于
This patch set introduces support for the LPC32xx touchscreen controller driver. The LPC32xx touchscreen controller supports automated event detection and X/Y data conversion for resistive touchscreens. Signed-off-by: NKevin Wells <wellsk40@gmail.com> Signed-off-by: NDurgesh Pattamatta <durgesh.pattamatta@nxp.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Peter Hutterer 提交于
Some serial wacom devices support two-finger touch. Test for this during init and parse the touch packets accordingly. Touch packets are processed using Protocol B (MT Slots). Note: there are several wacom versions that do touch but not two-finger touch. These are not catered for here, touch events for these are simply discarded. Signed-off-by: NPeter Hutterer <peter.hutterer@who-t.net> Acked-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Peter Hutterer 提交于
Tablets that support touch input may report different sized packages, depending on the touch sensor in the tablet. For now, discard the packages until we report them as touch input proper. Signed-off-by: NPeter Hutterer <peter.hutterer@who-t.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Peter Hutterer 提交于
The protocol used by the w8001 supports status fields for tip, side switch and eraser as well as a RDY field for proximity. The protocol has a double usage for the f2 bit in the packet. If set, the data is either pen + side2 button or eraser. Assume eraser if the device comes into proximity with the f2 bit set, otherwise trigger the side2 button. If the device comes into proximity with the f2 bit and that bit disappears afterwards, fake proximity out for the eraser and proximity in for the pen. Signed-off-by: NPeter Hutterer <peter.hutterer@who-t.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 8月, 2010 2 次提交
-
-
由 Kulikov Vasiliy 提交于
platform_get_irq_byname() can return negative results, it is not seen to unsigned ts_irq. Make it signed. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Acked-By: NLuotao Fu <l.fu@pengutronix.de> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Luotao Fu 提交于
This one adds a driver for STMPE touchscreen controllers. This driver depends on the stmpexxx mfd core driver. Signed-off-by: NLuotao Fu <l.fu@pengutronix.de> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 10 8月, 2010 1 次提交
-
-
由 Dan Carpenter 提交于
"ret" should be signed here or the error handling doesn't work. Signed-off-by: NDan Carpenter <error27@gmail.com> Acked-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 31 7月, 2010 1 次提交
-
-
由 Samuli Konttila 提交于
Add support for the cy8ctmg110 capacitive touchscreen used on some embedded devices. (Some clean up by Alan Cox) Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 7月, 2010 4 次提交
-
-
由 Wan ZongShun 提交于
No need to take address, w90p910_ts is already a pointer. Signed-off-by: NWan ZongShun <mcuos.com@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Oliver Neukum 提交于
This implements reset_resume() by splitting init into allocations of private data structures and device initializations. Device initializations are repeated upon reset_resume. Signed-off-by: NOliver Neukum <oneukum@suse.de> Tested-by: NPetr Štetiar <ynezz@true.cz> Tested-by: NOndrej Zary <linux@rainbow-software.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Oliver Neukum 提交于
This implement USB autosuspend while the device is opened for devices that do remote wakeup with a fallback to open/close for those devices that don't. Devices that require the host to constantly poll them are never autosuspended. Signed-off-by: NOliver Neukum <oneukum@suse.de> Tested-by: NPetr Štetiar <ynezz@true.cz> Tested-by: NOndrej Zary <linux@rainbow-software.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Oliver Neukum 提交于
This implements basic support for suspend & resume. Signed-off-by: NOliver Neukum <oneukum@suse.de> Tested-by: NPetr Štetiar <ynezz@true.cz> Tested-by: NOndrej Zary <linux@rainbow-software.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 15 7月, 2010 1 次提交
-
-
由 Joonyoung Shim 提交于
The chip's full name is AT42QT602240 or ATMXT224. This is a capacitive touchscreen supporting 10-contact multitouch and using I2C interface. Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com> Acked-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 04 7月, 2010 1 次提交
-
-
由 Joonyoung Shim 提交于
This adds support for MELPAS MCS5000/MSC5080 touch key controllers. Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-