Input: synaptics-rmi4: Add SPI transport driver
Subsystems (2)
PATCH v4 8/10 Input: synaptics-rmi4: Add SPI transport driver
Add the transport driver for devices using RMI4 over SPI.
Signed-off-by Andrew Duggan <[email protected]>
--- drivers/input/rmi4/Kconfig | 9 + drivers/input/rmi4/Makefile | 1 + drivers/input/rmi4/rmi_spi.c | 548 +++++++++++++++++++++++++++++++++++++++++++ include/linux/rmi.h | 51 ++++ 4 files changed, 609 insertions(+) create mode 100644 drivers/input/rmi4/rmi_spi.c
drivers/input/rmi4/Kconfig +9 -0
@@ -18,6 +18,15 @@ config RMI4_I2C If unsure, say Y. +config RMI4_SPI + tristate "RMI4 SPI Support" + depends on RMI4_CORE && SPI + help + Say Y here if you want to support RMI4 devices connected to a SPI + bus. + + If unsure, say N. + config RMI4_2D_SENSOR bool depends on RMI4_CORE
drivers/input/rmi4/Makefile +1 -0
@@ -10,3 +10,4 @@ rmi_core-$(CONFIG_RMI4_F30) += rmi_f30.o # Transports obj-$(CONFIG_RMI4_I2C) += rmi_i2c.o +obj-$(CONFIG_RMI4_SPI) += rmi_spi.o
drivers/input/rmi4/rmi_spi.c new file +548 -0
548 lines not on this page · raw message
include/linux/rmi.h +51 -0
63 lines not on this page · raw message
Signature · 1 line
2.5.0