Skip to content

Commit

Permalink
Input: synaptics-rmi4 - add support for Synaptics RMI4 devices
Browse files Browse the repository at this point in the history
Synaptics uses the Register Mapped Interface (RMI) protocol as a
communications interface for their devices. This driver adds the core
functionality needed to interface with RMI4 devices.

RMI devices can be connected to the host via several transport protocols
and can supports a wide variety of functionality defined by RMI functions.
Support for transport protocols and RMI functions are implemented in
individual drivers. The RMI4 core driver uses a bus architecture to
facilitate the various combinations of transport and function drivers
needed by a particular device.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Christopher Heiny <cheiny@synaptics.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Andrew Duggan authored and Dmitry Torokhov committed Mar 11, 2016
1 parent afd2ff9 commit 2b6a321
Show file tree
Hide file tree
Showing 11 changed files with 2,491 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/input/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ source "drivers/input/touchscreen/Kconfig"

source "drivers/input/misc/Kconfig"

source "drivers/input/rmi4/Kconfig"

endif

menu "Hardware I/O ports"
Expand Down
2 changes: 2 additions & 0 deletions drivers/input/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/
obj-$(CONFIG_INPUT_MISC) += misc/

obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o

obj-$(CONFIG_RMI4_CORE) += rmi4/
10 changes: 10 additions & 0 deletions drivers/input/rmi4/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# RMI4 configuration
#
config RMI4_CORE
tristate "Synaptics RMI4 bus support"
help
Say Y here if you want to support the Synaptics RMI4 bus. This is
required for all RMI4 device support.

If unsure, say Y.
2 changes: 2 additions & 0 deletions drivers/input/rmi4/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
obj-$(CONFIG_RMI4_CORE) += rmi_core.o
rmi_core-y := rmi_bus.o rmi_driver.o rmi_f01.o
Loading

0 comments on commit 2b6a321

Please sign in to comment.