linux_dsm_epyc7002/drivers/input/rmi4
Andrew Duggan 3e64fcbdbd Input: synaptics-rmi4 - limit the range of what GPIOs are buttons
By convention the first 6 bits of F30 Ctrl 2 and 3 are used to signify
GPIOs which are connected to buttons. Additional GPIOs may be used as
input GPIOs to signal the touch controller of some event
(ie disable touchpad). These additional GPIOs may meet the criteria of
a button in rmi_f30_is_valid_button() but should not be considered
buttons. This patch limits the GPIOs which are mapped to buttons to just
the first 6.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Reported-by: Daniel Martin <consume.noise@gmail.com>
Tested-by: Daniel Martin <consume.noise@gmail.com>
Acked-By: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-10-27 15:15:59 -07:00
..
Kconfig Merge branch 'next' into for-linus 2017-02-20 15:16:02 -08:00
Makefile Input: synaptics-rmi4 - add support for F34 V7 bootloader 2016-12-12 11:26:47 -08:00
rmi_2d_sensor.c Input: synaptics-rmi4 - correctly swap clip values if axes are swapped 2017-01-15 15:41:00 -08:00
rmi_2d_sensor.h Input: synaptics-rmi4 - add parameters for dribble packets and palm detect gesture 2016-11-08 17:12:07 -08:00
rmi_bus.c Merge branch 'synaptics-rmi4' into next 2017-02-06 14:17:39 -08:00
rmi_bus.h Input: synaptics-rmi4 - add SMBus support 2016-11-08 17:12:10 -08:00
rmi_driver.c Input: synaptics-rmi4 - use dev_driver_string when registering interrupt 2017-04-14 14:52:29 -07:00
rmi_driver.h Input: synaptics-rmi4 - forward upper mechanical buttons to PS/2 guest 2017-02-09 13:01:34 -08:00
rmi_f01.c Merge branch 'bind_unbind' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core into next 2017-07-24 16:51:18 -07:00
rmi_f03.c Input: synaptics-rmi4 - register F03 port as pass-through serio 2017-06-09 09:57:19 -07:00
rmi_f11.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-12-17 16:45:00 -08:00
rmi_f12.c Input: synaptics-rmi4 - change F12 clip to inactive border debug 2017-04-14 14:52:31 -07:00
rmi_f30.c Input: synaptics-rmi4 - limit the range of what GPIOs are buttons 2017-10-27 15:15:59 -07:00
rmi_f34.c Input: synaptics-rmi4 - constify attribute_group structures in F34 2017-07-12 14:18:27 -07:00
rmi_f34.h Input: synaptics-rmi4 - enable IRQ operation in F34 V7 2017-04-14 14:52:32 -07:00
rmi_f34v7.c Input: synaptics-rmi4 - use %phN to form F34 configuration ID 2017-06-01 22:11:23 -07:00
rmi_f54.c Input: synaptics-rmi4 - only read the F54 query registers which are used 2017-06-23 00:08:48 -07:00
rmi_f55.c Input: synaptics-rmi4 - propagate correct number of rx and tx electrodes to F54 2016-11-22 17:59:25 -08:00
rmi_i2c.c Input: synaptics-rmi4 - when registering sensors do not call them "drivers" 2017-04-03 16:24:00 -07:00
rmi_smbus.c Input: synaptics-rmi4 - when registering sensors do not call them "drivers" 2017-04-03 16:24:00 -07:00
rmi_spi.c Input: synaptics-rmi4 - when registering sensors do not call them "drivers" 2017-04-03 16:24:00 -07:00