summaryrefslogtreecommitdiff
path: root/drivers/input/rmi4/Kconfig
diff options
context:
space:
mode:
authorVincent Huang <vincent.huang@tw.synaptics.com>2020-10-04 19:42:24 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-10-04 19:51:44 -0700
commit9e4c596bfd004f447a652205163234dfd4aafa69 (patch)
tree5b7ca10dadbfdd21d808a77f20c5db25b573e83e /drivers/input/rmi4/Kconfig
parent261bfb3328b89c63ca410ae30a0c87cd3955344c (diff)
Input: synaptics-rmi4 - add support for F3A
RMI4 F3A supports the touchpad GPIO function, it's designed to support more GPIOs and used on newer touchpads. This patch adds support of the touchpad buttons. Signed-off-by: Vincent Huang <vincent.huang@tw.synaptics.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andrew Duggan <aduggan@synaptics.com> Link: https://lore.kernel.org/r/20200930094147.635556-3-vincent.huang@tw.synaptics.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/Kconfig')
-rw-r--r--drivers/input/rmi4/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/input/rmi4/Kconfig b/drivers/input/rmi4/Kconfig
index a212ff706f74..16119f760d11 100644
--- a/drivers/input/rmi4/Kconfig
+++ b/drivers/input/rmi4/Kconfig
@@ -100,6 +100,14 @@ config RMI4_F34
device via the firmware loader interface. This is triggered using a
sysfs attribute.
+config RMI4_F3A
+ bool "RMI4 Function 3A (GPIO)"
+ help
+ Say Y here if you want to add support for RMI4 function 3A.
+
+ Function 3A provides GPIO support for RMI4 devices. This includes
+ support for buttons on TouchPads and ClickPads.
+
config RMI4_F54
bool "RMI4 Function 54 (Analog diagnostics)"
depends on VIDEO_V4L2=y || (RMI4_CORE=m && VIDEO_V4L2=m)