Skip to content

Commit 2b6a321

Browse files
aduggan-synadtor
authored andcommitted
Input: synaptics-rmi4 - add support for Synaptics RMI4 devices
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>
1 parent afd2ff9 commit 2b6a321

11 files changed

Lines changed: 2491 additions & 0 deletions

File tree

‎drivers/input/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ source "drivers/input/touchscreen/Kconfig"
201201

202202
source "drivers/input/misc/Kconfig"
203203

204+
source "drivers/input/rmi4/Kconfig"
205+
204206
endif
205207

206208
menu "Hardware I/O ports"

‎drivers/input/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/
2626
obj-$(CONFIG_INPUT_MISC) += misc/
2727

2828
obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o
29+
30+
obj-$(CONFIG_RMI4_CORE) += rmi4/

‎drivers/input/rmi4/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# RMI4 configuration
3+
#
4+
config RMI4_CORE
5+
tristate "Synaptics RMI4 bus support"
6+
help
7+
Say Y here if you want to support the Synaptics RMI4 bus. This is
8+
required for all RMI4 device support.
9+
10+
If unsure, say Y.

‎drivers/input/rmi4/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
obj-$(CONFIG_RMI4_CORE) += rmi_core.o
2+
rmi_core-y := rmi_bus.o rmi_driver.o rmi_f01.o

0 commit comments

Comments
 (0)