HID: rmi: introduce RMI driver for Synaptics touchpads
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 7 Apr 2014 17:39:33 +0000 (13:39 -0400)
committerJiri Kosina <jkosina@suse.cz>
Wed, 9 Apr 2014 13:34:59 +0000 (15:34 +0200)
commit9fb6bf02e3ad04c20edb8e46536ce3eeda32c736
treeebf67f1d5996811e3c64651736dbc3c6a49d5af5
parent0f1b1e6d73cb989ce2c071edc57deade3b084dfe
HID: rmi: introduce RMI driver for Synaptics touchpads

This driver add support for RMI4 over USB or I2C.
The current state is that it uses its own RMI4 implementation, but once
RMI4 is merged upstream, the driver will be a transport driver for the
RMI4 library.

Part of this driver should be considered as temporary. Most of the RMI4
processing and input handling will be deleted at some point.

I based my work on Andrew's regarding its port of RMI4 over HID (see
https://github.com/mightybigcar/synaptics-rmi4/tree/rmihid )
This repo presents how the driver may looks like at the end:
https://github.com/mightybigcar/synaptics-rmi4/blob/rmihid/drivers/input/rmi4/rmi_hid.c

Without this temporary solution, the workaround we gave to users
is to disable i2c-hid, which leads to disabling the touchscreen on the
XPS 11 and 12 (Haswell generation).

Related bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1048314
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1218973

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-rmi.c [new file with mode: 0644]
include/linux/hid.h