]> git.baikalelectronics.ru Git - kernel.git/commit
Input: goodix - add support for controlling the IRQ pin through ACPI methods
authorHans de Goede <hdegoede@redhat.com>
Tue, 24 Mar 2020 18:24:31 +0000 (11:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Mar 2020 22:07:17 +0000 (15:07 -0700)
commitdfda3fe35c03ea0608ef430cc840dfcf4c496b1c
tree06e819c3516b644ae5079d713b19e7e81e77817d
parentbfa60fbb38528cdd7bbc639c1dbf674995142574
Input: goodix - add support for controlling the IRQ pin through ACPI methods

Some Apollo Lake (x86, UEFI + ACPI) devices only list the reset GPIO
in their _CRS table and the bit-banging of the IRQ line necessary to
wake-up the controller from suspend can be done by calling 2 Goodix
custom / specific ACPI methods.

This commit adds support for controlling the IRQ line in this matter,
allowing us to properly suspend the touchscreen controller on such
devices.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1786317
BugLink: https://github.com/nexus511/gpd-ubuntu-packages/issues/10
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199207
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200307121505.3707-6-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c