]> git.baikalelectronics.ru Git - kernel.git/commit
input: cros_ec_keyb: Add non-matrix buttons and switches
authorDouglas Anderson <dianders@chromium.org>
Fri, 20 Jan 2017 10:14:15 +0000 (11:14 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 8 Feb 2017 11:36:23 +0000 (11:36 +0000)
commit3a62b94fa3bff1ea697342867437089d02a8aa04
tree5dd015b296e9a1e0d0f68e7d136f751540fc627b
parent6db7814e98916b6ef7273ef84c647ae00a0f239d
input: cros_ec_keyb: Add non-matrix buttons and switches

On some newer boards using mkbp we're hooking up non-matrix buttons and
switches to the EC but NOT to the main application processor.

Let's add kernel support to handle this.  Rather than creating a whole
new input driver, we'll continue to use cros_ec_keyb and just report the
new keys.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/input/keyboard/cros_ec_keyb.c