- 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 8 次提交
-
-
由 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>
-
由 Anatolij Gustschin 提交于
ADS7845 is a controller for 5-wire touch screens and somewhat different from 7846. It requires three serial communications to accomplish one complete conversion. Unlike 7846 it doesn't allow Z1-/Z2- position measurement. The patch extends the ads7846 driver to also support ads7845. The packet struct is extended to contain needed command and conversion buffers. ads7846_rx() and ads7846_rx_val() now differentiate between 7845 and 7846 case. ads7846_probe() is modified to setup ads7845 specific command and conversion messages and to switch ads7845 into power-down mode, since this is needed to be prepared to respond to pendown interrupts. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Tested-by: NAnatolij Gustschin <agust@denx.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Some input events users such as Android 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. Avoid duplicated BTN_TOUCH events, even though input core filters them. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Avoid additional addressing overhead incurred by word_data transfers. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Tested-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mike Frysinger 提交于
The ad7879 driver is using the old bus method of only supporting one at a time (I2C or SPI). So refactor it like the other input drivers that support multiple busses simultaneously. Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 7月, 2010 1 次提交
-
-
由 Dmitry Torokhov 提交于
Tested-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 6月, 2010 1 次提交
-
-
由 Petr Štetiar 提交于
This patch adds support for the ET&T TC4UM 4-wire USB touchscreen controller and tries to reuse the bits for TC5UH controller in kernel already. Data interface is same. Tested-by: NRoger Pueyo Centelles <rogerpueyo@rogerpueyo.com> Signed-off-by: NPetr Štetiar <ynezz@true.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 6月, 2010 1 次提交
-
-
由 Anatolij Gustschin 提交于
On some platforms, for example with GPIO interrupts on mpc5121, it is not possible to configure falling edge interrupts. Specifying irq trigger type in platform data structure allows using ads7846 driver on such platforms. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 24 6月, 2010 1 次提交
-
-
由 Jiri Slaby 提交于
Stanse found that tsc is dereferenced earlier than checked for being NULL in tps6507x_ts_remove. Remove the test because there is no way for tsc to be NULL there. Signed-off-by: NJiri Slaby <jslaby@suse.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 08 6月, 2010 2 次提交
-
-
由 Dmitry Torokhov 提交于
Let's perform be16_to_cpu() conversions once for each received packet, and then use cached values. Makes code a little bit easier to follow. Tested-by: NOndrej Zary <linux@rainbow-software.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Oskar Schirmer 提交于
With no word size given in the users platform data, a generic spi host controller driver will assume a default word size of eight bit. This causes transmission to be performed bytewise, which will fail on little endian machines for sure. Failure on big endian depends on usage of slave select to mark word boundaries. Anyway, ad7877 is specified to work with 16 bit per word, so unconditionally set the word size accordingly. Flag an error where 16 bit per word is not available. Signed-off-by: NOskar Schirmer <os@emlix.com> Signed-off-by: NDaniel Glöckner <dg@emlix.com> Signed-off-by: NOliver Schneidewind <osw@emlix.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 6月, 2010 1 次提交
-
-
由 Wolfram Sang 提交于
I2C drivers can use the clientdata-pointer to point to private data. As I2C devices are not really unregistered, but merely detached from their driver, it used to be the drivers obligation to clear this pointer during remove() or a failed probe(). As a couple of drivers forgot to do this, it was agreed that it was cleaner if the i2c-core does this clearance when appropriate, as there is no guarantee for the lifetime of the clientdata-pointer after remove() anyhow. This feature was added to the core with commit e4a7b9b0 to fix the faulty drivers. As there is no need anymore to clear the clientdata-pointer, remove all current occurrences in the drivers to simplify the code and prevent confusion. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NGreg Kroah-Hartman <gregkh@suse.de> Acked-by: NRichard Purdie <rpurdie@linux.intel.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 02 6月, 2010 2 次提交
-
-
由 Dmitry Torokhov 提交于
This patch fixes the follwing warning introduced by commit 067fb2f6 ("Input: ads7846 - return error on regulator_get() failure"): drivers/input/touchscreen/ads7846.c: In function 'ads7846_probe': drivers/input/touchscreen/ads7846.c:1167: warning: format '%ld' expects type 'long int', but argument 4 has type 'int' Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dan Carpenter 提交于
1) Use msecs_to_jiffies() instead of calculating by hand. 2) Call cancel_delayed_work_sync() instead of cancel_delayed_work() followed by a separate flush_workqueue(). 3) Remove the "tsc->wq = 0;" Sparse complains about that because tsc->wq is a pointer, not an int. It's not needed because we just free the pointer anyway. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 6月, 2010 2 次提交
-
-
由 Mark Brown 提交于
The S3C touchscreen driver is logging at LOG_INFO on every stylus up event which spams the console needlessly. Reduce the priority of the message to debug level for some peace and quiet. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
The name of the Kconfig symbol for the ADC has changed as a result of application to more SoCs but the select statement has not been updated, causing linker failures as the ADC core has not been built. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 5月, 2010 2 次提交
-
-
由 Todd Fischer 提交于
Add touch screen input driver for TPS6507x family of multi-function chips. Uses the TPS6507x MFD driver. No interrupt support due to testing limitations of current hardware. Signed-off-by: NTodd Fischer <todd.fischer@ridgerun.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Vasily Khoruzhick 提交于
Without s3c24xx ids driver doesn't attach on s3c2410 and s3c244x Signed-off-by: NVasily Khoruzhick <anarsoul@gmail.com> Acked-by: NBen Dooks <ben-linux@fluff.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 27 5月, 2010 2 次提交
-
-
由 Ondrej Zary 提交于
Bigger Nexio touchscreens not only send more data but also the header values are modified somewhat. Fix the header (it's a guesswork but it works at least on one 46" touchscreen with 2.00SMS firmware) and also increase rept_size. Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Kevin Hilman 提交于
In probe(), if regulator_get() failed, an error code was not being returned causing the driver to be successfully bound, even though probe failed. This in turn caused the suspend, resume and remove methods to be registered and accessed via the SPI core. Since these functions all access private driver data using pointers that had been freed during the failed probe, this would lead to unpredictable behavior. This patch ensures that probe() returns an error code in this failure case so the driver is not bound. Found using lockdep and noticing the lock used in the suspend/resum path pointed to a bogus lock due to the freed memory. Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com> Acked-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 5月, 2010 1 次提交
-
-
由 Daniel Mack 提交于
For more clearance what the functions actually do, usb_buffer_alloc() is renamed to usb_alloc_coherent() usb_buffer_free() is renamed to usb_free_coherent() They should only be used in code which really needs DMA coherency. All call sites have been changed accordingly, except for staging drivers. Signed-off-by: NDaniel Mack <daniel@caiaq.de> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Pedro Ribeiro <pedrib@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 20 5月, 2010 2 次提交
-
-
由 Julia Lawall 提交于
Use kmemdup when some other buffer is immediately copied into the allocated region. Signed-off-by: NJulia Lawall <julia@diku.dk> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Manuel Lauss 提交于
WM97XX_GPIO_HIGH is not a bitmap and should to be treated as such. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 19 5月, 2010 4 次提交
-
-
由 Ben Dooks 提交于
Make the driver depend on either ARCH_S3C2410 (as legacy) or the new device selection of SAMSUNG_DEV_TS. Change the menuconfig name to reflect this driver is now handling more devices that just the s3c2410. Signed-off-by: NBen Dooks <ben-linux@fluff.org> Acked-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Naveen Krishna 提交于
This patch adds a feature bit field in the touchscreen driver for Samsung SoCs. Which can be used to distinguish the TSADC module features. Signed-off-by: NNaveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: NKukjin Kim <kgene.kim@samsung.com> [ben-linux@fluff.org: minor fix to title] Signed-off-by: NBen Dooks <ben-linux@fluff.org> Acked-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Naveen Krishna 提交于
This patch implements generic GPIO configuration function in Samsung touchscreen driver. And makes the touchscreen driver s3c24xx-ts.c generic to all the Samsung SoCs. Signed-off-by: NNaveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: NKukjin Kim <kgene.kim@samsung.com> [ben-linux@fluff.org: fixed title ] Signed-off-by: NBen Dooks <ben-linux@fluff.org> Acked-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Maurus Cuelenaere 提交于
This moves mach-s3c2410/include/mach/ts.h to plat-samsung/include/plat/ts.h in order to prepare for s3c64xx support in the touchscreen driver. Signed-off-by: NMaurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
-
- 13 5月, 2010 1 次提交
-
-
由 Oskar Schirmer 提交于
With dma based spi transmission, data corruption is observed occasionally. With dma buffers located right next to msg and xfer fields, cache lines correctly flushed in preparation for dma usage may be polluted again when writing to fields in the same cache line. Make sure cache fields used with dma do not share cache lines with fields changed during dma handling. As both fields are part of a struct that is allocated via kzalloc, thus cache aligned, moving the fields to the 1st position and insert padding for alignment does the job. Signed-off-by: NOskar Schirmer <os@emlix.com> Signed-off-by: NDaniel Glöckner <dg@emlix.com> Signed-off-by: NOliver Schneidewind <osw@emlix.com> Signed-off-by: NJohannes Weiner <jw@emlix.com> Acked-by: NMike Frysinger <vapier@gentoo.org> [dtor@mail.ru - changed to use ___cacheline_aligned as suggested by akpm] Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 11 5月, 2010 1 次提交
-
-
由 Eric Miao 提交于
The corgi touchscreen is now deprecated in favour of the generic ads7846.c driver. The noise reduction technique used in corgi_ts.c, which is to wait till vsync before ADC sampling, is also integrated into ads7846 driver now. Provided that the original driver is not generic and is difficult to maintain, it will be removed now. Signed-off-by: NEric Miao <eric.y.miao@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Pavel Machek <pavel@ucw.cz> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 20 4月, 2010 1 次提交
-
-
由 Daniel Mack 提交于
This fixes a race between the suspend code and input events. Signed-off-by: NDaniel Mack <daniel@caiaq.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 14 4月, 2010 1 次提交
-
-
由 Adam Bennett 提交于
Adds support for Hampshire TSHARC serial touchscreens. Implements Hampshire's 4-byte communication protocol. Signed-off-by: NAdam Bennett <abennett72@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-