# SPDX-License-Identifier: GPL-2.0-only
#
# RMI4 configuration
#
config [31mCONFIG_RMI4_CORE[0m
tristate "Synaptics RMI4 bus support"
select [31mCONFIG_IRQ_DOMAIN[0m
help
Say Y here if you want to support the Synaptics RMI4 bus. This is
required for all RMI4 device support.
If unsure, say Y.
if [31mCONFIG_RMI4_CORE[0m
config [31mCONFIG_RMI4_I2C[0m
tristate "RMI4 I2C Support"
depends on [31mCONFIG_I2C[0m
help
Say Y here if you want to support RMI4 devices connected to an [31mCONFIG_I2C[0m
bus.
If unsure, say Y.
config [31mCONFIG_RMI4_SPI[0m
tristate "RMI4 SPI Support"
depends on [31mCONFIG_SPI[0m
help
Say Y here if you want to support RMI4 devices connected to a [31mCONFIG_SPI[0m
bus.
If unsure, say N.
config [31mCONFIG_RMI4_SMB[0m
tristate "RMI4 SMB Support"
depends on [31mCONFIG_I2C[0m
help
Say Y here if you want to support RMI4 devices connected to an SMB
bus.
If unsure, say N.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module will be
called rmi_smbus.
config [31mCONFIG_RMI4_F03[0m
bool "RMI4 Function 03 (PS2 Guest)"
depends on [31mCONFIG_RMI4_CORE[0m
help
Say Y here if you want to add support for RMI4 function 03.
Function 03 provides PS2 guest support for RMI4 devices. This
includes support for TrackPoints on TouchPads.
config [31mCONFIG_RMI4_F03_SERIO[0m
tristate
depends on [31mCONFIG_RMI4_CORE[0m
depends on [31mCONFIG_RMI4_F03[0m
default [31mCONFIG_RMI4_CORE[0m
select [31mCONFIG_SERIO[0m
config [31mCONFIG_RMI4_2D_SENSOR[0m
bool
config [31mCONFIG_RMI4_F11[0m
bool "RMI4 Function 11 (2D pointing)"
select [31mCONFIG_RMI4_2D_SENSOR[0m
help
Say Y here if you want to add support for RMI4 function 11.
Function 11 provides 2D multifinger pointing for touchscreens and
touchpads. For sensors that support relative pointing, F11 also
provides mouse input.
config [31mCONFIG_RMI4_F12[0m
bool "RMI4 Function 12 (2D pointing)"
select [31mCONFIG_RMI4_2D_SENSOR[0m
help
Say Y here if you want to add support for RMI4 function 12.
Function 12 provides 2D multifinger pointing for touchscreens and
touchpads. For sensors that support relative pointing, F12 also
provides mouse input.
config [31mCONFIG_RMI4_F30[0m
bool "RMI4 Function 30 (GPIO LED)"
help
Say Y here if you want to add support for RMI4 function 30.
Function 30 provides GPIO and LED support for RMI4 devices. This
includes support for buttons on TouchPads and ClickPads.
config [31mCONFIG_RMI4_F34[0m
bool "RMI4 Function 34 (Device reflash)"
select [31mCONFIG_FW_LOADER[0m
help
Say Y here if you want to add support for RMI4 function 34.
Function 34 provides support for upgrading the firmware on the RMI4
device via the firmware loader interface. This is triggered using a
sysfs attribute.
config [31mCONFIG_RMI4_F54[0m
bool "RMI4 Function 54 (Analog diagnostics)"
depends on [31mCONFIG_VIDEO_V4L2[0m=y || ([31mCONFIG_RMI4_CORE[0m=m && [31mCONFIG_VIDEO_V4L2[0m=m)
select [31mCONFIG_VIDEOBUF2_VMALLOC[0m
select [31mCONFIG_RMI4_F55[0m
help
Say Y here if you want to add support for RMI4 function 54
Function 54 provides access to various diagnostic features in certain
RMI4 touch sensors.
config [31mCONFIG_RMI4_F55[0m
bool "RMI4 Function 55 (Sensor tuning)"
help
Say Y here if you want to add support for RMI4 function 55
Function 55 provides access to the RMI4 touch sensor tuning
mechanism.
endif # RMI_CORE