Skip to content

Commit fdf5160

Browse files
aduggan-synadtor
authored andcommitted
Input: synaptics-rmi4 - add I2C transport driver
Add the transport driver for devices using RMI4 over I2C. Signed-off-by: Andrew Duggan <[email protected]> Signed-off-by: Christopher Heiny <[email protected]> Tested-by: Benjamin Tissoires <[email protected]> Tested-by: Linus Walleij <[email protected]> Tested-by: Bjorn Andersson <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 2b6a321 commit fdf5160

File tree

3 files changed

+399
-0
lines changed

3 files changed

+399
-0
lines changed

drivers/input/rmi4/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,12 @@ config RMI4_CORE
88
required for all RMI4 device support.
99

1010
If unsure, say Y.
11+
12+
config RMI4_I2C
13+
tristate "RMI4 I2C Support"
14+
depends on RMI4_CORE && I2C
15+
help
16+
Say Y here if you want to support RMI4 devices connected to an I2C
17+
bus.
18+
19+
If unsure, say Y.

drivers/input/rmi4/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
obj-$(CONFIG_RMI4_CORE) += rmi_core.o
22
rmi_core-y := rmi_bus.o rmi_driver.o rmi_f01.o
3+
4+
# Transports
5+
obj-$(CONFIG_RMI4_I2C) += rmi_i2c.o

0 commit comments

Comments
 (0)