]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: dts: omap4-droid4: Fix lost touchscreen interrupts
authorTony Lindgren <tony@atomide.com>
Sat, 14 Mar 2020 20:55:05 +0000 (13:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 14:11:49 +0000 (16:11 +0200)
commit70690da91e8fae65a2200e873a39ea4a49c746b6
tree6d95c575ad0376c7a073916590606eca8633ec2f
parent39acbaf7f29fa07ad47f3d61154ef8759abcb720
ARM: dts: omap4-droid4: Fix lost touchscreen interrupts

[ Upstream commit 4abd9930d189dedaa59097144c6d8f623342fa72 ]

Looks like we can have the maxtouch touchscreen stop producing interrupts
if an edge interrupt is lost. This can happen easily when the SoC idles as
the gpio controller may not see any state for an edge interrupt if it
is briefly triggered when the system is idle.

Also it looks like maxtouch stops sending any further interrupts if the
interrupt is not handled. And we do have several cases of maxtouch already
configured with a level interrupt, so let's do that.

With level interrupt the gpio controller has the interrupt state visible
after idle. Note that eventually we will probably also be using the
Linux generic wakeirq configured for the controller, but that cannot be
done until the maxtouch driver supports runtime PM.

Cc: maemo-leste@lists.dyne.org
Cc: Arthur Demchenkov <spinal.by@gmail.com>
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/motorola-mapphone-common.dtsi