- 18 9月, 2009 1 次提交
-
-
由 Michael Hennerich 提交于
The AD7889 is a new part but 100% software compatible with the AD7879, so add it to the id_table and help text. 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>
-
- 04 9月, 2009 1 次提交
-
-
由 Dmitry Torokhov 提交于
There is no need for locking when we send query and start commands to the touchscreen since there is no concurrency. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 02 9月, 2009 1 次提交
-
-
由 wanzongshun 提交于
Add the cpu.c and dev.c and modify w90p910 platform to apply to use the common API(provided by cpu.c and dev.c) at the same time, I renamed all w90x900 to nuc900 in every c file of w90x900 platform and touchscreen's driver name. Signed-off-by: NWan ZongShun <mcuos.com@gmail.com> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
- 21 8月, 2009 2 次提交
-
-
由 Pavel Revak 提交于
Sometimes, when using the touchscreen, it stops working till next restart and the following message is printed: ucb1400: unexpected IE_STATUS = 0x0 The following patch retriggers the touchscreen interrupt unconditionally. This prevents hanging of the touchscreen in case of bogus interrupt occurence. Signed-off-by: NPavel Revak <palo@bielyvlk.sk> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Marek Vasut 提交于
This patch enables ADC filtering on UCB1400 codec by default. The benefit from this change is mostly on some Colibri boards where the ADCSYNC pin of the UCB1400 codec isn't connected causing the touchscreen to jitter very badly. This change has no visible effect on boards where the ADCSYNC pin is connected. Signed-off-by: NMarek Vasut <marek.vasut@gmail.com> Tested-by: NPalo Revak <palo@bielyvlk.sk> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 8月, 2009 1 次提交
-
-
由 Daniel Mack 提交于
This adds a struct eeti_ts_platform_data which currently holds only one value to specify the interrupt polarity. The driver has a fallback if no platform data is passed in via the i2c_board_info, so no regression is caused. Signed-off-by: NDaniel Mack <daniel@caiaq.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 8月, 2009 3 次提交
-
-
由 Dmitry Torokhov 提交于
We have a nice wrapper for that. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Richard Röjfors 提交于
Check the result when sending the power down command to the controller. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
In cases when get_pendown_state callback is not available have the driver to fallback on pressure calculation to determine if the pen is up. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 7月, 2009 1 次提交
-
-
由 Florian Echtler 提交于
This patch adds support for the e2i touchscreen controller used in the Mimo 740 (and probably in other e2i touchscreen products). Tested on Mimo 740. Signed-off-by: NFlorian Echtler <floe@butterbrot.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 7月, 2009 4 次提交
-
-
由 Richard Röjfors 提交于
Don't read coordinates during probe of the driver, just power down the controller and wait for interrupts. Signed-off-by: Richard Röjfors<richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Richard Röjfors 提交于
Make init_platform_hw and exit_platform_hw callbacks optional since they are not needed on all platforms. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Properly shut off interrupts/delayed work by free-ing IRQ first and then ensuring that enable/disable is balanced. Also add __devinit/__devexit markings, restore poll delay/period scheduling logic, make sure we call exit_platform_hw() method when probe fails. Tested-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Richard Röjfors 提交于
Since it's not allowed to do synchronous I2C in the HR timer callback context we have to switch to using the global workqueue. The work is scheduled every 1ms when polling rather than 5 us. Signed-off-by: NRichard Röjfors <richard.rojfors.ext@mocean-labs.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 7月, 2009 2 次提交
-
-
由 Marek Vasut 提交于
This patch allows tweaking the behaviour of GPIO_STATUS register shift quirk that's in wm97xx-core. The problem with GPIO_STATUS register being shifted by one doesn't appear on all hardware it seems and causes problems with accelerated touchscreen drivers on Palm hardware. Therefore an accelerated touchscreen driver can select if the shift is/isn't happening on the hardware. Signed-off-by: NMarek Vasut <marek.vasut@gmail.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Marek Vasut 提交于
This patch refactors the Mainstone accelerated touch code a little and adds support for interrupt driven touchscreen on Palm LifeDrive, TX and Tungsten T5. Signed-off-by: NMarek Vasut <marek.vasut@gmail.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 13 7月, 2009 2 次提交
-
-
由 Wan ZongShun 提交于
Now that clk API is available on ARM we can use it in the driver. Signed-off-by: NWan ZongShun <mcuos.com@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Hans J. Koch 提交于
The driver for UCB1400 touchscreen controllers contains a function named ucb1400_ts_pen_down(), but it returns 0 if the pen is down and 1 if it's up. This causes confusion, especially since it's used as a boolean truth value later in the code. This patch renames it. Signed-off-by: NHans J. Koch <hjk@linutronix.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 08 7月, 2009 2 次提交
-
-
由 Jim Persson 提交于
Add support for the JASTEC/DigiTech DTR-02U USB touch screen controllers. Signed-off-by: NJim Persson <jim-linux@nurd.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Julia Lawall 提交于
Use the function resource_size, which reduces the chance of introducing off-by-one errors in calculating the resource size. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ struct resource *res; @@ - (res->end - res->start) + 1 + resource_size(res) // </smpl> Signed-off-by: NJulia Lawall <julia@diku.dk> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 6月, 2009 1 次提交
-
-
由 Greg Kroah-Hartman 提交于
In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the beginning, so are backwards compatible with all older kernel versions. Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: linux-input@vger.kernel.org Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 11 6月, 2009 2 次提交
-
-
由 Michael Roth 提交于
Some SoCs support only pin change interrupts on GPIO pins used as irq lines. The ads7846 core is not affected from the additional irqs on the rising edge because the code accounts touch bounce anyway by kicking in a timer and disabling the irq after the first request and reenabling the irq after a timeout when there is no longer pen down detected. Signed-off-by: NMichael Roth <mroth@nessie.de> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Wan ZongShun 提交于
The touchscreen works in two modes, wait trigger mode and auto-semi mode. The device starts in wait trigger mode and waits until pressure is detected, then device sets WT_INT bit and raises an interrupt. The driver should put the device into auto-semi mode and prepare for reading first X and then Y coordinates. When coordinate data is ready the driver sets ADC_INT bit and raises interrupt again. [dtor@mail.ru: various cleanups] Signed-off-by: NWan ZongShun <mcuos.com@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 5月, 2009 1 次提交
-
-
由 Manuel Traut 提交于
platform_data != driver_data driver data is actually the "correct" place of the struct however it is not placed there due to the need of the ac97 struct. This is broken since d9105c2b aka "[ARM] 5184/1: Split ucb1400_ts into core and touchscreen" Signed-off-by: NManuel Traut <manut@linutronix.de> Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 20 5月, 2009 3 次提交
-
-
由 Daniel Mack 提交于
This patch adds a driver for EETI's I2C connected touchscreens. Signed-off-by: NDaniel Mack <daniel@caiaq.de> Tested-by: NSven Neumann <s.neumann@raumfeld.com> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Roth 提交于
Signed-off-by: NMichael Roth <mroth@nessie.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Roth 提交于
Signed-off-by: NMichael Roth <mroth@nessie.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 5月, 2009 1 次提交
-
-
由 Kwangwoo Lee 提交于
The platform codes must provide get_pendown_state() for the driver to work properly. Signed-off-by: NKwangwoo Lee <kwangwoo.lee@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 5月, 2009 1 次提交
-
-
由 Thierry Reding 提交于
Now that hrtimers are always running in hard irq context we can't unconditionally enable interrupts at the end of the timer function. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NKwangwoo Lee <kwangwoo.lee@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 5月, 2009 1 次提交
-
-
由 Greg Kroah-Hartman 提交于
In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the beginning, so are backwards compatible with all older kernel versions. Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 19 4月, 2009 1 次提交
-
-
由 Hans-Christian Egtvedt 提交于
This patch adds an accelerated driver for Atmel AVR32 AT32AP700X microprocessors. It uses interrupts on the channel B in the AC97 controller. Thus, offloading the work queue in the wm97xx-ts driver. The driver has been tested with Atmel AVR32 AT32AP7000 and Wolfson WM9712 codec. The driver can also be easily modified to support Atmel AT91 devices, as AT91 and AVR32 share the same AC97C module. [Fixed leak of atmel_wm97xx when probe fails. -- broonie] [dtor@mail.ru: do not report ABS_PRESSURE events when not measuring pressure] Signed-off-by: NHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 4月, 2009 2 次提交
-
-
由 Ben Nizette 提交于
disable_irq() waits for all running handlers to complete before returning. As such, if it's used to disable an interrupt from that interrupt's handler it will deadlock. This replaces the dangerous instances with the _nosync() variant which doesn't have this problem. Signed-off-by: NBen Nizette <bn@niasdigital.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ben Nizette 提交于
disable_irq() waits for all running handlers to complete before returning. As such, if it's used to disable an interrupt from that interrupt's handler it will deadlock. This replaces the dangerous instances with the _nosync() variant which doesn't have this problem. Signed-off-by: NBen Nizette <bn@niasdigital.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 4月, 2009 2 次提交
-
-
由 Ben Nizette 提交于
The use of disable_irq inside the handler for the interrupt being disabled has always been dangerous. disable_irq should wait for that handler to complete before returning -> deadlock. For some reason this wasn't actually the case until 3aa551c9 was merged but since this time, the ads7846 driver has deadlocked the system on first interrupt. Convert the driver to use the handler-safe _nosync variant. Signed-off-by: NBen Nizette <bn@niasdigital.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jiri Slaby 提交于
The loop body was never executed, because the condition is always false. Convert to for with more obvious condition. Signed-off-by: NJiri Slaby <jirislaby@gmail.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 15 4月, 2009 3 次提交
-
-
由 Michael Hennerich 提交于
This patch removes depreciated IRQF_SAMPLE_RANDOM flags from ad7877 and ad7879 touchscreen drivers. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Miao 提交于
PEN_{UP/DOWN} events are expected to be available soon after stopping TSI auto measurement, but this is found not always be true. Work around this by adding delay and simulating such an event (according to pen down status bit). Signed-off-by: NBin Yang <bin.yang@marvell.com> Signed-off-by: NEric Miao <eric.miao@marvell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Miao 提交于
Bin did a lot of work on this driver, without his help, this driver will not be possible. Signed-off-by: NBin Yang <bin.yang@marvell.com> Signed-off-by: NEric Miao <eric.miao@marvell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 4月, 2009 2 次提交
-
-
由 Mark Brown 提交于
The input core will add entropy to the pool so this flag is not needed. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Miao 提交于
Noises can be introduced when LCD signals are being driven, some platforms provide a signal to assist the synchronization of this sampling procedure. Signed-off-by: NEric Miao <eric.miao@marvell.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-