[PATCH] usbhid: add another mouse that needs QUIRK_ALWAYS_POLL

2014-09-30 Thread Oliver Neukum
There is a second mouse sharing the same vendor strings but different IDs. Signed-off-by: Oliver Neukum oneu...@suse.de --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h

[PATCH] HID: cp2112: remove use of gpiochip_remove() retval

2014-09-30 Thread Pramod Gurav
Get rid of using return value from gpiochip_remove() as it returns void. Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Cc: Jiri Kosina jkos...@suse.cz Cc: linux-input@vger.kernel.org Cc: linux-g...@vger.kernel.org Signed-off-by: Pramod Gurav

[PATCH 1/2] input: remove use of gpiochip_remove() retval

2014-09-30 Thread Pramod Gurav
Get rid of using return value from gpiochip_remove() as it returns void. Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-input@vger.kernel.org Cc: linux-g...@vger.kernel.org Signed-off-by: Pramod Gurav

[RFC 1/1] Input: gpio_keys - add device tree support for interrupt only keys

2014-09-30 Thread Alexander Stein
This features already exists for board config setups. Add support for device tree based systems. Signed-off-by: Alexander Stein alexander.st...@systec-electronic.com --- I'm aware thatthe device tree binding description is missing yet. But for now I just want some feedback about that approach.

[PATCH 03/13] HID: logitech-dj: rely on hid groups to separate receivers from dj devices

2014-09-30 Thread Benjamin Tissoires
Several benefits here: - we can drop the macro is_dj_device: I never been really conviced by this macro as we could fall into a null pointer anytime. Anyway time showed that this never happened. - we can simplify the hid driver logitech-djdevice, and make it aware of any new receiver

[PATCH 00/13] HID: add support of Logitech touchpads and special devices

2014-09-30 Thread Benjamin Tissoires
Hi, Well this patch series is really an old guy: - I started on this back in 2011 during my short appearance at Logitech - it has been updated a few time since - part of it is already shipped in ChromeOS - now is the time to push it upstream (hopefully) So, basically, this patch series aims at

[PATCH 13/13] HID: logitech-hidpp: support combo keyboard touchpad TK820

2014-09-30 Thread Benjamin Tissoires
The TK820 presents both a keyboard and a touchpad on the same physical (and logical device). Use the generic hid-input processing for the keyboard part. The keyboard input device is created when the receiver is plugged in, so no events are missed on connect. When the device actaully connects, we

[PATCH 08/13] HID: logitech: allow the DJ device to request the unifying name

2014-09-30 Thread Benjamin Tissoires
The names of the DJ devices are stored in the receiver. These names can be retrieved through a HID++ command. However, the protocol says that you have to ask the receiver for that, not the device iteself. Introduce a special case in the DJ handling where a device can request its unifying name,

[PATCH 11/13] HID: logitech-hidpp: Add Wireless Touchpad T650 support

2014-09-30 Thread Benjamin Tissoires
All the bits are now in place to add the support of the Touchpad T650. The creation/population of the input device is delayed until the device is ready. The T650 uses the special HID++ reporting protocol, so activate this on connect. Signed-off-by: Benjamin Tissoires

[PATCH 10/13] HID: logitech-hidpp: late bind the input device on wireless connection

2014-09-30 Thread Benjamin Tissoires
Now that the receiver forwards the connect/disconnect events, we can know when the device is available to communicate with us. When it is ready, we can for instance retrieve its full name, which guarantee that we always have the same name for the DJ device (the DJ name is somewhat shorter than

[PATCH 12/13] HID: logitech-hidpp: add support of the first Logitech Wireless Touchpad

2014-09-30 Thread Benjamin Tissoires
This touchpad differs from the T650 in several ways: - the resolution is not correctly returned by the device - it presents physical buttons, so the button flag in the raw touch report is not filled. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@redhat.com ---

[PATCH 09/13] HID: logitech-dj: enable notifications on connect/disconnect

2014-09-30 Thread Benjamin Tissoires
The receiver can send HID++ notifications to the DJ devices when the physical devices are connected/disconnected. Enable this feature by default. This command uses a HID++ command instead of a DJ one, so use a direct call to usbhid instead of using logi_dj_recv_send_report() Signed-off-by:

[PATCH 01/13] HID: fix merge from wacom into the HID tree

2014-09-30 Thread Benjamin Tissoires
While merging wacom from the input to the hid tree, some comments have been duplicated. We can also integrate the test for Synaptics devices in the switch case below, so it is clear that there will be only one place for such quirks. No functional changes are expected in this commit.

[PATCH 02/13] HID: core: do not scan reports if the group is already set

2014-09-30 Thread Benjamin Tissoires
This allows the transport layer (I have in mind hid-logitech-dj and uhid) to set the group before it is added to the hid bus. This way, it can bypass the hid_scan_report() call, and choose in advance which driver will handle the newly created hid device. Signed-off-by: Benjamin Tisssoires

[PATCH 0/3] input: tsc2007: Extend for pre-calibration, flipping and rotation

2014-09-30 Thread Marek Belisko
Following series add support to tsc2007 touchscreen driver for pre-calibration, flipping and rotation. Added bindings are documented and used in gta04 device tree. Marek Belisko (3): input: tsc2007: Add pre-calibration, flipping and rotation Documentation: dt: input: tsc2007: Document new

[PATCH 2/3] Documentation: dt: input: tsc2007: Document new parameters

2014-09-30 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings/input/touchscreen/tsc2007.txt | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt

[PATCH 3/3] arm: dts: omap3-gta04: Extend touchscreen configs

2014-09-30 Thread Marek Belisko
Adding min/max values for various touschscreen properties. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index

[PATCH 1/3] input: tsc2007: Add pre-calibration, flipping and rotation

2014-09-30 Thread Marek Belisko
This patch adds new parameters that allow to address typical hardware design differences: touch screens may be wired or oriented differently (portrait or landscape). And usually the active area of the touch is a little larger than the active area of the LCD. This results in the touch coordinates