Lines Matching +full:function +full:- +full:row +full:- +full:physmap
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $id: http://devicetree.org/schemas/input/google,cros-ec-keyb.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Simon Glass <sjg@chromium.org>
12 - Benson Leung <bleung@chromium.org>
24 - description: ChromeOS EC with only buttons/switches
25 const: google,cros-ec-keyb-switches
26 - description: ChromeOS EC with keyboard and possibly buttons/switches
27 const: google,cros-ec-keyb
29 google,needs-ghost-filter:
35 function-row-physmap:
36 $ref: /schemas/types.yaml#/definitions/uint32-array
41 of top row keys from physical left (KEY_F1) to right. Each entry
42 encodes the row/column as:
43 (((row) & 0xFF) << 24) | (((column) & 0xFF) << 16)
45 when the keyboard has a custom design for the top row keys.
48 function-row-physmap: [ 'linux,keymap' ]
49 google,needs-ghost-filter: [ 'linux,keymap' ]
52 - compatible
58 const: google,cros-ec-keyb
60 $ref: /schemas/input/matrix-keymap.yaml#
62 - keypad,num-rows
63 - keypad,num-columns
64 - linux,keymap
69 - |
70 #include <dt-bindings/input/input.h>
71 keyboard-controller {
72 compatible = "google,cros-ec-keyb";
73 keypad,num-rows = <8>;
74 keypad,num-columns = <13>;
75 google,needs-ghost-filter;
76 function-row-physmap = <
90 * RR=Row CC=Column KKKK=Key Code
110 /* F5 6 - \ */
135 - |
137 keyboard-controller {
138 compatible = "google,cros-ec-keyb-switches";