Lines Matching +full:cros +full:- +full:ec
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#
8 title: ChromeOS EC Keyboard
11 - Simon Glass <sjg@chromium.org>
12 - Benson Leung <bleung@chromium.org>
15 Google's ChromeOS EC Keyboard is a simple matrix keyboard
16 implemented on a separate EC (Embedded Controller) device. It provides
17 a message for reading key scans from the EC. These are then converted
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:
32 if the EC does not have its own logic or hardware for this.
35 function-row-physmap:
36 $ref: /schemas/types.yaml#/definitions/uint32-array
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 = <
110 /* F5 6 - \ */
135 - |
137 keyboard-controller {
138 compatible = "google,cros-ec-keyb-switches";