Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: cros-ec-keyboard: Add alternate keymap for KEY_LEFTMETA

On newer keyboards this key is in a different place. Add both options to
the keymap so that both new and old keyboards work.

Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>

authored by

Stephen Boyd and committed by
Enric Balletbo i Serra
3e98fd6d 9aa7bd45

+1
+1
arch/arm/boot/dts/cros-ec-keyboard.dtsi
··· 46 46 MATRIX_KEY(0x02, 0x09, KEY_F8) 47 47 MATRIX_KEY(0x02, 0x0a, KEY_YEN) 48 48 49 + MATRIX_KEY(0x03, 0x00, KEY_LEFTMETA) 49 50 MATRIX_KEY(0x03, 0x01, KEY_GRAVE) 50 51 MATRIX_KEY(0x03, 0x02, KEY_F2) 51 52 MATRIX_KEY(0x03, 0x03, KEY_5)