Skip to content

Commit

Permalink
Input: synaptics-rmi4 - add I2C transport driver
Browse files Browse the repository at this point in the history
Add the transport driver for devices using RMI4 over I2C.

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 2b6a321 commit fdf5160
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/input/rmi4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ config RMI4_CORE
required for all RMI4 device support.

If unsure, say Y.

config RMI4_I2C
tristate "RMI4 I2C Support"
depends on RMI4_CORE && I2C
help
Say Y here if you want to support RMI4 devices connected to an I2C
bus.

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

# Transports
obj-$(CONFIG_RMI4_I2C) += rmi_i2c.o
Loading

0 comments on commit fdf5160

Please sign in to comment.