linux/drivers/input/touchscreen
Hans de Goede 2ccbf84ed3 Input: goodix - accept ACPI resources with gpio_count == 3 && gpio_int_idx == 0
[ Upstream commit 180a8f12c2 ]

Some devices list 3 Gpio resources in the ACPI resource list for
the touchscreen:

1. GpioInt resource pointing to the GPIO used for the interrupt
2. GpioIo resource pointing to the reset GPIO
3. GpioIo resource pointing to the GPIO used for the interrupt

Note how the third extra GpioIo resource really is a duplicate
of the GpioInt provided info.

Ignore this extra GPIO, treating this setup the same as gpio_count == 2 &&
gpio_int_idx == 0 fixes the touchscreen not working on the Thunderbook
Colossus W803 rugged tablet and likely also on the CyberBook_T116K.

Reported-by: Maarten van der Schrieck
Closes: https://gitlab.com/AdyaAdya/goodix-touchscreen-linux-driver/-/issues/22
Suggested-by: Maarten van der Schrieck
Tested-by: Maarten van der Schrieck
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20231223141650.10679-1-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-03-01 13:34:50 +01:00
..
88pm860x-ts.c Input: remove dev_err() usage after platform_get_irq() 2019-08-14 10:49:01 -07:00
ad7877.c Input: ad7877 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2023-01-09 20:25:23 -08:00
ad7879-i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
ad7879-spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
ad7879.c Input: use input_device_enabled() 2020-12-02 22:10:33 -08:00
ad7879.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
ads7846.c Input: ads7846 - fix pointer cast warning 2023-06-09 23:16:49 +02:00
ar1021_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
atmel_mxt_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
auo-pixcir-ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
bcm_iproc_tsc.c Input: bcm_iproc_tsc - drop of_match_ptr for ID table 2023-03-17 04:17:37 -07:00
bu21013_ts.c Input: bu21013_ts - use local 'client->dev' variable in probe() 2023-07-07 16:54:30 -07:00
bu21029_ts.c Input: bu21029_ts - use local 'client->dev' variable in probe() 2023-07-07 16:54:30 -07:00
chipone_icn8318.c Input: chipone_icn8318 - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
chipone_icn8505.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
colibri-vf50-ts.c Input: colibri-vf50-ts - remove unneeded gpio.h header file 2019-10-27 11:14:22 -07:00
cy8ctma140.c Input: cy8ctma140 - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
cy8ctmg110_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
cyttsp4_core.c Input: cyttsp4_core - change del_timer_sync() to timer_shutdown_sync() 2023-05-01 17:50:16 -07:00
cyttsp4_core.h Input: cyttsp4 - move 'cyttsp4_tch_abs_string' to the only file that references it 2020-11-08 22:35:48 -08:00
cyttsp4_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
cyttsp4_spi.c Input: cyttsp4 - use EXPORT_GPL_RUNTIME_DEV_PM_OPS() 2023-01-27 14:49:53 -08:00
cyttsp5.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
cyttsp_core.c Input: cyttsp - use EXPORT_GPL_SIMPLE_DEV_PM_OPS() 2023-01-27 14:49:53 -08:00
cyttsp_core.h Input: cyttsp - remove public header 2021-06-01 21:13:11 -07:00
cyttsp_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
cyttsp_i2c_common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
cyttsp_spi.c Input: cyttsp - use EXPORT_GPL_SIMPLE_DEV_PM_OPS() 2023-01-27 14:49:53 -08:00
da9034-ts.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
da9052_tsi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
dynapro.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
edt-ft5x06.c Input: edf-ft5x06 - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
eeti_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
egalax_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
egalax_ts_serial.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ektf2127.c Input: ektf2127 - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
elants_i2c.c Input: elants_i2c - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
elo.c Input: elo - fix an error code in elo_connect() 2021-02-18 14:39:42 -08:00
exc3000.c Merge branch 'next' into for-linus 2023-08-30 16:06:38 -07:00
fsl-imx25-tcq.c Input: remove dev_err() usage after platform_get_irq() 2019-08-14 10:49:01 -07:00
fujitsu_ts.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
goodix.c Input: goodix - accept ACPI resources with gpio_count == 3 && gpio_int_idx == 0 2024-03-01 13:34:50 +01:00
goodix.h Input: goodix - fix race on driver unbind 2022-02-28 23:26:30 -08:00
goodix_fwupload.c Input: goodix - fix memory leak in goodix_firmware_upload 2021-12-09 21:20:29 -08:00
gunze.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
hampshire.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
hideep.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
himax_hx83112b.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
hp680_ts_input.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
htcpen.c isa: Make the remove callback for isa drivers return void 2021-01-26 07:42:27 +01:00
hycon-hy46xx.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
hynitron_cstxxx.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
ili210x.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
ilitek_ts_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
imagis.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
imx6ul_tsc.c Input: imx6ul_tsc - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2023-01-09 20:25:26 -08:00
inexio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ipaq-micro-ts.c Input: ipaq-micro-ts - fix DEFINE_SIMPLE_DEV_PM_OPS typo 2023-01-27 14:52:06 -08:00
iqs5xx.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
iqs7211.c Input: iqs7211 - point to match data directly 2023-07-13 12:02:01 -07:00
jornada720_ts.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig Input: add support for Azoteq IQS7210A/7211A/E 2023-07-12 14:32:44 -07:00
lpc32xx_ts.c Input: lpc32xx_ts - convert to use devm_* api 2023-07-10 17:44:30 -07:00
mainstone-wm97xx.c ARM: pxa: remove unused board files 2023-01-20 11:23:44 +01:00
Makefile Input: add support for Azoteq IQS7210A/7211A/E 2023-07-12 14:32:44 -07:00
max11801_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mc13783_ts.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mcs5000_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
melfas_mip4.c Input: melfas_mip4 - simplify with dev_err_probe() 2023-07-07 16:54:29 -07:00
migor_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mk712.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mms114.c Input: mms114 - add support for touch keys 2023-07-18 23:21:23 -07:00
msg2638.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mtouch.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mxs-lradc-ts.c Input: mxs-lradc-ts - use devm_platform_ioremap_resource() 2019-07-24 12:48:47 +03:00
novatek-nvt-ts.c Input: novatek-nvt-ts - add touchscreen model number to description 2023-07-10 11:50:38 -07:00
pcap_ts.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
penmount.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pixcir_i2c_ts.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
raspberrypi-ts.c Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe 2023-04-13 23:08:11 -07:00
raydium_i2c_ts.c Input: raydium_i2c_ts - simplify with dev_err_probe() 2023-07-07 16:54:29 -07:00
resistive-adc-touch.c Input: resistive-adc-touch - simplify with dev_err_probe() 2023-07-07 16:54:29 -07:00
rohm_bu21023.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
s6sy761.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
silead.c Input: silead - simplify with dev_err_probe() 2023-07-07 16:54:29 -07:00
sis_i2c.c Input: sis_i2c - simplify with dev_err_probe() 2023-07-07 16:54:30 -07:00
st1232.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
stmfts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
stmpe-ts.c Input: stmpe-ts - add description for 'prop' struct member 2021-01-19 19:03:18 -08:00
sun4i-ts.c docs: update some straggling Documentation/arm references 2023-06-16 08:31:47 -06:00
sur40.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
surface3_spi.c Input: surface3_spi - simplify with dev_err_probe() 2023-07-07 16:54:30 -07:00
sx8654.c Input: sx8643 - simplify with dev_err_probe() 2023-07-07 16:54:30 -07:00
ti_am335x_tsc.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
touchit213.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
touchright.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
touchwin.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tps6507x-ts.c Input: tps6507x-ts - remove variable loops 2022-10-24 05:18:55 -07:00
ts4800-ts.c Input: ts4800-ts - switch to using polled mode of input devices 2019-10-29 17:13:40 -07:00
tsc40.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 315 2019-06-05 17:37:05 +02:00
tsc200x-core.c Input: tsc200x - use EXPORT_GPL_SIMPLE_DEV_PM_OPS() 2023-01-27 14:49:53 -08:00
tsc200x-core.h Input: tsc200x - make tsc200x_remove() return void 2021-10-12 19:48:54 -07:00
tsc2004.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
tsc2005.c Input: tsc200x - use EXPORT_GPL_SIMPLE_DEV_PM_OPS() 2023-01-27 14:49:53 -08:00
tsc2007.h Input: tsc2007 - convert to GPIO descriptors 2021-03-15 17:12:02 -07:00
tsc2007_core.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
tsc2007_iio.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
usbtouchscreen.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
wacom_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
wacom_w8001.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
wdt87xx_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
wm97xx-core.c Input: wm97xx - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2023-01-09 20:25:28 -08:00
wm831x-ts.c Input: move to use request_irq by IRQF_NO_AUTOEN flag 2021-03-25 15:27:56 -07:00
wm9705.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm9712.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm9713.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
zet6223.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
zforce_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
zinitix.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00