Input: synaptics-rmi4: Add I2C transport driver
Subsystems (2)
PATCH v3 2/10 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]>
--- drivers/input/rmi4/Kconfig | 9 + drivers/input/rmi4/Makefile | 3 + drivers/input/rmi4/rmi_i2c.c | 385 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 397 insertions(+) create mode 100644 drivers/input/rmi4/rmi_i2c.c
drivers/input/rmi4/Kconfig +9 -0
@@ -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.
drivers/input/rmi4/Makefile +3 -0
@@ -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
drivers/input/rmi4/rmi_i2c.c new file +385 -0
385 lines not on this page · raw message
Signature · 1 line
2.5.0