[PATCH v2] Input: byd - add BYD PS/2 touchpad driver

2016-01-05 Thread Chris Diamand
Driver for the BYD BTP10463 touchpad, found in PC Specialist `Lafite' laptops. This patch sends the magic command sequence which causes the touchpad to stream intellimouse-style packets. Gestures are detected inside the touchpad, and exposed as special values in the Z component of each packet - ab

Re: [PATCH v11 0/8] Goodix touchscreen enhancements

2016-01-05 Thread Dmitry Torokhov
Hi Karsten, On Tue, Jan 5, 2016 at 12:03 PM, Karsten Merker wrote: > On Thu, Dec 17, 2015 at 05:13:18PM -0800, Dmitry Torokhov wrote: >> On Thu, Nov 19, 2015 at 02:26:33PM +0200, Irina Tirdea wrote: >> > This patchset depends on Dmitry's patch that fixes the >> > GPIO ACPI API[1], so devm_gpiod_g

[PATCH 4.2.y-ckt 030/211] HID: core: Avoid uninitialized buffer access

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Purdie commit 79b568b9d0c7c5d81932f4486d50b38efdd6da6d upstream. hid_connect adds various strings to the buffer but they're all conditional. You can find circumstances where no

Re: [PATCH] Input: ALPS - Report v3 pinnacle trackstick device only if is present

2016-01-05 Thread Pali Rohár
On Monday 23 March 2015 12:42:25 Hans de Goede wrote: > Hi, > > On 22-03-15 14:47, Pali Rohár wrote: > >This patch move v3 pinnacle code for trackstick detection from > >alps_hw_init_v3() > >to alps_set_protocol() so ALPS_DUALPOINT flag can be cleared before > >registering > >trackstick input de

Re: [PATCH] Input: ALPS - Detect trackstick presence for v7 protocol

2016-01-05 Thread Pali Rohár
On Sunday 22 March 2015 14:46:11 Pali Rohár wrote: > This patch adds detection of trackstick for v7 protocol devices. Code in this > patch is used in official Dell touchpad linux drivers for Dell models: > Dell Latitude E5250/5250, E5450/5450, E5550/5550 > > Detection code and base reg for alps v3

[PATCH v2 3/3] Input: cyttsp - add default init function

2016-01-05 Thread Oreste Salerno
When using device trees, it's not possible to assign an init() function in the platform data. In case the init function has not been assigned, attempt to perform a hard reset of the chip, using reset gpio defined in the platform data / device tree. Signed-off-by: Oreste Salerno --- drivers/input

[PATCH v2 1/3] Input: cyttsp - remove unused irq_gpio from platform_data

2016-01-05 Thread Oreste Salerno
This field is not being used and the irq is anyway passed via the 'irq' parameter to cyttsp_probe. Signed-off-by: Oreste Salerno --- include/linux/input/cyttsp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/input/cyttsp.h b/include/linux/input/cyttsp.h index 5af7c66..d7c2520

[PATCH v2 2/3] Input: cyttsp - add device tree support

2016-01-05 Thread Oreste Salerno
Add support for retrieving the platform data from the device tree. Signed-off-by: Oreste Salerno --- .../bindings/input/touchscreen/cyttsp.txt | 73 ++ drivers/input/touchscreen/cyttsp_core.c| 108 +++-- include/linux/input/cyttsp.h

[PATCH v2 0/3] Add device tree support to the cyttsp driver

2016-01-05 Thread Oreste Salerno
This set of patches adds support to the cyttsp touchscreen driver to retrieve platform data details from the device tree. Additionally, they define a default init function that performs a hard reset of the chip on boot. --- Changes in v2: - Fix err_cast.cocci warning in patch 2/3 Oreste Salerno