Skip to content

Commit 4abd993

Browse files
committed
ARM: dts: omap4-droid4: Fix lost touchscreen interrupts
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: [email protected] Cc: Arthur Demchenkov <[email protected]> Cc: Ivaylo Dimitrov <[email protected]> Cc: Merlijn Wajer <[email protected]> Cc: Pavel Machek <[email protected]> Cc: Sebastian Reichel <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent cfb5d65 commit 4abd993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/boot/dts/motorola-mapphone-common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@
429429
reset-gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>; /* gpio173 */
430430

431431
/* gpio_183 with sys_nirq2 pad as wakeup */
432-
interrupts-extended = <&gpio6 23 IRQ_TYPE_EDGE_FALLING>,
432+
interrupts-extended = <&gpio6 23 IRQ_TYPE_LEVEL_LOW>,
433433
<&omap4_pmx_core 0x160>;
434434
interrupt-names = "irq", "wakeup";
435435
wakeup-source;

0 commit comments

Comments
 (0)