Commit 3d283f0b authored by Philip Chen's avatar Philip Chen Committed by Dmitry Torokhov

dt-bindings: input: Fix the keymap for LOCK key

Decouple LOCK from F13 and directly map the LOCK key (KSI3/KSO9) to
KEY_SLEEP action key code.
Signed-off-by: default avatarPhilip Chen <philipchen@chromium.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210115143555.v6.3.I96134907488f41f358d03f3c1b08194f9547e670@changeidSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent faf7f3fd
...@@ -19,8 +19,7 @@ ...@@ -19,8 +19,7 @@
MATRIX_KEY(0x01, 0x04, KEY_F7) \ MATRIX_KEY(0x01, 0x04, KEY_F7) \
MATRIX_KEY(0x02, 0x09, KEY_F8) \ MATRIX_KEY(0x02, 0x09, KEY_F8) \
MATRIX_KEY(0x01, 0x09, KEY_F9) \ MATRIX_KEY(0x01, 0x09, KEY_F9) \
MATRIX_KEY(0x00, 0x04, KEY_F10) \ MATRIX_KEY(0x00, 0x04, KEY_F10)
MATRIX_KEY(0x03, 0x09, KEY_F13)
#define CROS_STD_MAIN_KEYMAP \ #define CROS_STD_MAIN_KEYMAP \
MATRIX_KEY(0x00, 0x01, KEY_LEFTMETA) \ MATRIX_KEY(0x00, 0x01, KEY_LEFTMETA) \
...@@ -50,6 +49,7 @@ ...@@ -50,6 +49,7 @@
MATRIX_KEY(0x03, 0x03, KEY_5) \ MATRIX_KEY(0x03, 0x03, KEY_5) \
MATRIX_KEY(0x03, 0x06, KEY_6) \ MATRIX_KEY(0x03, 0x06, KEY_6) \
MATRIX_KEY(0x03, 0x08, KEY_MINUS) \ MATRIX_KEY(0x03, 0x08, KEY_MINUS) \
MATRIX_KEY(0x03, 0x09, KEY_SLEEP) \
MATRIX_KEY(0x03, 0x0b, KEY_BACKSLASH) \ MATRIX_KEY(0x03, 0x0b, KEY_BACKSLASH) \
MATRIX_KEY(0x03, 0x0c, KEY_MUHENKAN) \ MATRIX_KEY(0x03, 0x0c, KEY_MUHENKAN) \
\ \
......
Markdown is supported
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