diff options
author | Vic Yang <victoryang@google.com> | 2016-08-10 19:05:24 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-08-31 11:50:59 +0200 |
commit | 6f1d912b687d3d17c1731f5bda3b5d6703bce4a0 (patch) | |
tree | e3a0ad0da285ff23c315a23eb4d00661c7ad16f3 /drivers/input | |
parent | Linux 4.8-rc2 (diff) | |
download | linux-6f1d912b687d3d17c1731f5bda3b5d6703bce4a0.tar.xz linux-6f1d912b687d3d17c1731f5bda3b5d6703bce4a0.zip |
mfd: cros_ec: Add MKBP event support
Newer revisions of the ChromeOS EC add more events besides the keyboard
ones. So handle interrupts in the MFD driver and let consumers register
for notifications for the events they might care.
To keep backward compatibility, if the EC doesn't support MKBP event, we
fall back to the old MKBP key matrix host command.
Cc: Randall Spangler <rspangler@chromium.org>
Cc: Vincent Palatin <vpalatin@chromium.org>
Cc: Benson Leung <bleung@chromium.org>
Signed-off-by: Vic Yang <victoryang@google.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions