Searched +full:needs +full:- +full:ghost +full:- +full:filter (Results 1 – 5 of 5) sorted by relevance
/linux/Documentation/devicetree/bindings/input/ |
H A D | google,cros-ec-keyb.yaml | 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 [all …]
|
/linux/arch/arm/boot/dts/ |
H A D | cros-ec-keyboard.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Keyboard dts fragment for devices that use cros-ec-keyboard 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/input/cros-ec-keyboard.h> 12 keyboard_controller: keyboard-controller { 13 compatible = "google,cros-ec-keyb"; 14 keypad,num-rows = <8>; 15 keypad,num-columns = <13>; 16 google,needs-ghost-filter;
|
/linux/drivers/input/keyboard/ |
H A D | cros_ec_keyb.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // This driver uses the ChromeOS EC byte-level message-based protocol for 19 #include <linux/input/vivaldi-fmap.h> 33 * struct cros_ec_keyb - Structure representing EC keyboard device 38 * @ghost_filter: true to enable the matrix key-ghosting filter 44 * @bs_idev: The input device for non-matrix buttons and switches (or NULL). 67 * struct cros_ec_bs_map - Mapping between Linux keycodes and EC button/switch 83 /* cros_ec_keyb_bs - Map EC button/switch #defines into kernel ones */ 138 struct device *dev = ckdev->dev; in cros_ec_keyb_has_ghosting() 139 uint8_t *valid_keys = ckdev->valid_keys; in cros_ec_keyb_has_ghosting() [all …]
|
H A D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2011, NVIDIA Corporation. 156 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys() 165 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 178 * Ghosting occurs if there are 3 keys such that - in tegra_kbc_report_keys() 182 if (kbc->use_ghost_filter && num_down >= 3) { in tegra_kbc_report_keys() 190 * and the other is in the same column as the i-th key. in tegra_kbc_report_keys() 210 scancodes[i] += kbc->max_keys; in tegra_kbc_report_keys() 211 keycodes[i] = kbc->keycode[scancodes[i]]; in tegra_kbc_report_keys() [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra132-norrin.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 18 stdout-path = "serial0:115200n8"; 30 vdd-supply = <&vdd_3v3_hdmi>; 31 pll-supply = <&vdd_hdmi_pll>; 32 hdmi-supply = <&vdd_5v0_hdmi>; 34 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 35 nvidia,hpd-gpio = 42 avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>; [all …]
|