Skip to content

Commit 8d99758

Browse files
aduggan-synadtor
authored andcommitted
Input: synaptics-rmi4 - add SPI transport driver
Add the transport driver for devices using RMI4 over SPI. Signed-off-by: Andrew Duggan <[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 562b42d commit 8d99758

File tree

4 files changed

+608
-0
lines changed

4 files changed

+608
-0
lines changed

drivers/input/rmi4/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ config RMI4_I2C
1818

1919
If unsure, say Y.
2020

21+
config RMI4_SPI
22+
tristate "RMI4 SPI Support"
23+
depends on RMI4_CORE && SPI
24+
help
25+
Say Y here if you want to support RMI4 devices connected to a SPI
26+
bus.
27+
28+
If unsure, say N.
29+
2130
config RMI4_2D_SENSOR
2231
bool
2332
depends on RMI4_CORE

drivers/input/rmi4/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ rmi_core-$(CONFIG_RMI4_F30) += rmi_f30.o
1010

1111
# Transports
1212
obj-$(CONFIG_RMI4_I2C) += rmi_i2c.o
13+
obj-$(CONFIG_RMI4_SPI) += rmi_spi.o

0 commit comments

Comments
 (0)