- 01 11月, 2011 1 次提交
-
-
由 Paul Gortmaker 提交于
A pending cleanup will mean that module.h won't be implicitly everywhere anymore. Make sure the modular drivers in input dir are actually calling out for <module.h> explicitly in advance. Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
-
- 12 10月, 2011 1 次提交
-
-
由 Philip Rakity 提交于
Abort driver initialization if X plate resistance was not specified in platform data as it will cause pressure to be always calculated as 0, and making userspace ignore touch coordinates. Signed-off-by: NPhilip Rakity <prakity@marvell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 07 10月, 2011 2 次提交
-
-
由 Dmitry Torokhov 提交于
CONFIG_PM is defined when CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is defined, however suspend and resume methods are only valid in the context of CONFIG_PM_SLEEP. If only CONFIG_PM_RUNTIME is defined we get the following warning (courtesy of Geerts randconfig builds): ad7879-i2c.c: warning: 'ad7879_i2c_resume' defined but not used Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Daniel Kurtz 提交于
Sysfs attribute show methods are always passed a buffer of length PAGE_SIZE. To keep from overwriting this buffer and causing havoc, use snprintf() to guarantee we never write more than the buffer can hold. In addition, at least for my touchscreen, the number and size of objects was far too big to fit in a single 4K page. Therefore, this patch also trims some redundant framing text to leave more room for actual data. Signed-off-by: NDaniel Kurtz <djkurtz@chromium.org> Acked-by: NNick Dyer <nick.dyer@itdev.co.uk> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 9月, 2011 1 次提交
-
-
This patch adds the TSC-40 serial touchscreen driver and should be compatible with TSC-10 and TSC-25. The driver was written by Linutronix on behalf of Bachmann electronic GmbH. Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: NChristian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 9月, 2011 6 次提交
-
-
由 Dmitry Torokhov 提交于
Since touchscreen driver does not handle any events to be sent to the device we can close serio port first and then unregister the input device. Tested-by: NJohn Sung <penmount.touch@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Instead of having one large switch based on product ID use pointer to function actually doing protocol decoding. Tested-by: NJohn Sung <penmount.touch@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 John Sung 提交于
Add multi touch support for PenMount 6250 touch controller. Signed-off-by: NJohn Sung <penmount.touch@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 John Sung 提交于
Add dual touch support for PenMount 3000 touch controller. Signed-off-by: NJohn Sung <penmount.touch@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 John Sung 提交于
Add support for PenMount 6000 touch controller. Signed-off-by: NJohn Sung <penmount.touch@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 John Sung 提交于
The MSB and LSB of the XY axis value are switched according to the PenMount 9000 protocol. The driver name is also changed from penmountlpc, since it is not for LPC interface at all. Signed-off-by: NJohn Sung <penmount.touch@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 09 9月, 2011 1 次提交
-
-
由 Jason Gerecke 提交于
Adds INPUT_PROP_POINTER or INPUT_PROP_DIRECT as necessary to the hardware supported by the Wacom driver. The DIRECT property is assigned to devices with an embedded screen (i.e. touchscreens and display tablets). The POINTER property is assigned to those without embedded screens. Signed-off-by: NJason Gerecke <killertofu@gmail.com> Reviewed-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 08 9月, 2011 1 次提交
-
-
由 Yong Zhang 提交于
This flag is a NOOP and can be removed now. Signed-off-by: NYong Zhang <yong.zhang0@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 8月, 2011 2 次提交
-
-
由 Dmitry Torokhov 提交于
This will ensure that the device delivers input events only when there are users. Tested-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Instead of using hard IRQ and workqueue solution switch to using threaded interrupt handler to simplify the code and locking rules. Tested-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 24 8月, 2011 2 次提交
-
-
由 Dmitry Torokhov 提交于
Since touchscreen driver does not handle any events to be sent to the device we can close serio port first and then unregister the input device. Tested-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Implement open() and close() methods for the input device so that we do not start the device unless there are users listening to the events. Acked-by: NChris Bagwell <chris@cnpbagwell.com> Tested-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 22 8月, 2011 1 次提交
-
-
由 Axel Lin 提交于
tnetv107x-ts.c uses interfaces from linux/module.h, so it should include that file. This patch fixes build errors. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 8月, 2011 1 次提交
-
-
由 Jiejing Zhang 提交于
The original license statement was confusing since it was unclear if the license was pure GPLv2 or GPLv2+ and did not match the license of the driver max11801_ts was derived from. The license is GPLv2+. Signed-off-by: NJiejing Zhang <jiejing.zhang@freescale.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 17 8月, 2011 1 次提交
-
-
由 Yufeng Shen 提交于
Atmel mxt1386 touch controller has the touch pressure information so let's report it to the user space. [dtor@mail.ru: added ABS_RESSURE reporting for ST emulation.] Signed-off-by: NYufeng Shen <miletus@chromium.org> Acked-by: NWanlong Gao <gaowanlong@cn.fujitsu.com> Acked-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 8月, 2011 1 次提交
-
-
由 Michael Hennerich 提交于
Input close or device disable should not interact with the exported gpiolib functionality. However that's the case. __ad7879_disable() clears the entire AD7879_REG_CTRL2, while it should just power down the ADC and its reference. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 19 7月, 2011 2 次提交
-
-
由 Axel Lin 提交于
The implementation does break from the for loop after we assign 'i' to variable 'found'. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
The implementation in cy8ctmg110_probe() does not properly set reset_pin and irq_pin from platform data. Let's fix it. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 13 7月, 2011 2 次提交
-
-
由 Axel Lin 提交于
Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
i2c_master_send returns negative errno, or else the number of bytes written. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 7月, 2011 3 次提交
-
-
由 Wolfram Sang 提交于
Currently, battery drivers also use poll_sample() provided by the wm97xx-core but this code always checks if the pen is down. Mark the channels which really need this (i.e. for the touchscreen) with the PEN_DOWN bit, and skip the checks otherwise. Now, the battery channels can always be read. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Wolfram Sang 提交于
The current implementation of poll_sample() has the problem that one of its arguments, the channel to be selected, differs from wm9713 to other variants. This parameter gets passed to the (currently unused) mach-specific functions pre_sample() and post_sample() which thus have to deal with codec-specific differences. Refactor the routine so that the argument to poll_sample() is generic for all codecs and do necessary conversions only in the codec-specific driver. The outcome even uses less code and removes the non-standard use of the PEN_DOWN bit to mark the AUX-channels. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Wolfram Sang 提交于
Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 04 7月, 2011 2 次提交
-
-
由 Iiro Valkonen 提交于
Handle the objects with multiple instances correctly when the configuration data is loaded. Signed-off-by: NIiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Iiro Valkonen 提交于
Update the object list to include new objects, and add unique identifiers so we can distinguish between old & new generation of the same object. Signed-off-by: NIiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 6月, 2011 1 次提交
-
-
由 Hans-Christian Egtvedt 提交于
This patch updates the email address of the gpio_mouse, at32psif, and atmel-wm97xx drivers supported by me to an email account I will use on a more regular basis in the future. Signed-off-by: NHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 6月, 2011 2 次提交
-
-
由 Igor Grinberg 提交于
Use gpio_request_one() instead of multiple gpiolib calls. This also simplifies error handling a bit. Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Remove the space between "platform:" prefix and the driver name. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 5月, 2011 5 次提交
-
-
由 Thierry Reding 提交于
These new platform-specific values can be used to set the fuzz parameter passed to the input_set_abs_params() function for the ABS_X, ABS_Y and ABS_PRESSURE axes. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Thierry Reding 提交于
This new parameter allows the polling frequency to be configured while keeping the default of once every millisecond. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Thierry Reding 提交于
Depending on the quality of the touch panel, the time for the X-, X+, Y- and Y+ inputs to settle may vary. The poll_delay parameter can be used to override the default of 1 millisecond. Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Kwangwoo Lee <kwangwoo.lee@gmail.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Thierry Reding 提交于
Finger touch events or very quick stylus events on low-quality panels can cause the tsc2007 to read bogus values. Looking at oscilloscope snapshots, this seems to be caused by the touch event disappearing during the measurements. These bogus values result in misclicks, where the X and Y values deviate from the real position. Most of these misclicks can be filtered out by setting a low enough threshold for the maximum resistance (which is loosely the inverse of the pressure) allowed to consider a set of values valid. Since this behaviour is largely dependent on the type and quality of the panel, this commit introduces the max_rt parameter. The default value is kept at MAX_12BIT. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Thierry Reding 提交于
When the controller signals a pen-down event via the platform-specific GPIO, while the sample values indicate an invalid measurement, the measurement needs to be repeated. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 15 5月, 2011 1 次提交
-
-
由 Julia Lawall 提交于
This error handling code can be reached before ts_dev->input is initialized, so it is safer to always use the original name, input_dev. Signed-off-by: NJulia Lawall <julia@diku.dk> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 5月, 2011 1 次提交
-
-
由 Igor Grinberg 提交于
The pendown gpio was requested but not configured for input. Configure it for input. Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-