Skip to content
Commit 1a26c920 authored by Robin van der Gracht's avatar Robin van der Gracht Committed by Dmitry Torokhov
Browse files

Input: snvs_pwrkey - send key events for i.MX6 S, DL and Q



The first generation i.MX6 processors does not send an interrupt when the
power key is pressed. It sends a power down request interrupt if the key is
released before a hard shutdown (5 second press). This should allow
software to bring down the SoC safely.

For this driver to work as a regular power key with the older SoCs, we need
to send a keypress AND release when we get the power down request irq.

Signed-off-by: default avatarRobin van der Gracht <robin@protonic.nl>
Link: https://lore.kernel.org/r/20191125161210.8275-1-robin@protonic.nl
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 71c296f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment