Searched +full:keyboard +full:- +full:scan (Results 1 – 25 of 46) sorted by relevance
12
/Zephyr-latest/drivers/kscan/ |
D | Kconfig | 1 # Keyboard scan configuration options 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Keyboard scan drivers [DEPRECATED]" 10 Include Keyboard scan drivers in system config. 17 module-str = kscan 21 int "Keyboard scan driver init priority" 24 Keyboard scan device driver initialization priority.
|
/Zephyr-latest/drivers/input/ |
D | Kconfig.npcx | 1 # NPCX Keyboard scan driver configuration options 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Nuvoton NPCX embedded controller (EC) keyboard scan driver" 13 This option enables the keyboard scan driver for NPCX family of 17 bool "Select quasi-bidirectional buffers for KSO pins" 21 Select quasi-bidirectional buffers for KSO pins to reduce the 22 low-to-high transition time.
|
D | Kconfig.it8801 | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "ITE IT8801 keyboard matrix scan controller" 12 Enable driver for ITE IT8801 I2C-based keyboard matrix scan.
|
D | input_npcx_kbd.c | 5 * SPDX-License-Identifier: Apache-2.0 28 /* Keyboard scan controller base address */ 34 /* Keyboard scan input (KSI) wake-up irq */ 36 /* Size of keyboard inputs-wui mapping array */ 38 /* Mapping table between keyboard inputs and wui */ 49 /* Keyboard scan local functions */ 59 const struct npcx_kbd_config *const config = dev->config; in npcx_kbd_set_detect_mode() 60 const struct input_kbd_matrix_common_config *common = &config->common; in npcx_kbd_set_detect_mode() 63 for (int i = 0; i < common->row_size; i++) { in npcx_kbd_set_detect_mode() 64 npcx_miwu_irq_get_and_clear_pending(&config->wui_maps[i]); in npcx_kbd_set_detect_mode() [all …]
|
D | Kconfig.it8xxx2 | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "ITE keyboard scanning driver" 11 This option enables the ITE keyboard scan driver.
|
D | Kconfig.xec | 1 # Microchip XEC Keyboard Scan Matrix configuration options 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Microchip XEC series keyboard matrix driver"
|
D | input_ite_it8801_kbd.c | 4 * SPDX-License-Identifier: Apache-2.0 37 /* Keyboard scan out mode control register */ 39 /* Keyboard scan in data register */ 41 /* Keyboard scan in edge event register */ 43 /* Keyboard scan in interrupt enable register */ 56 const struct kbd_it8801_config *config = dev->config; in kbd_it8801_drive_column() 61 /* Tri-state all outputs. KSO[22:11, 6:0] output high */ in kbd_it8801_drive_column() 68 kso_val = config->kso_mapping[col]; in kbd_it8801_drive_column() 71 ret = i2c_reg_write_byte_dt(&config->i2c_dev, config->reg_ksomcr, kso_val); in kbd_it8801_drive_column() 80 const struct kbd_it8801_config *const config = dev->config; in kbd_it8801_read_row() [all …]
|
D | input_ite_it8xxx2_kbd.c | 3 * SPDX-License-Identifier: Apache-2.0 15 #include <zephyr/dt-bindings/interrupt-controller/it8xxx2-wuc.h> 35 /* Keyboard scan controller base address */ 37 /* Keyboard scan input (KSI) wake-up irq */ 39 /* KSI[7:0] wake-up input source configuration list */ 41 /* KSI[7:0]/KSO[17:0] keyboard scan alternate configuration */ 53 /* KSI[7:0] wake-up interrupt status mask */ 61 const struct it8xxx2_kbd_config *const config = dev->config; in it8xxx2_kbd_drive_column() 62 const struct input_kbd_matrix_common_config *common = &config->common; in it8xxx2_kbd_drive_column() 63 struct kscan_it8xxx2_regs *const inst = config->base; in it8xxx2_kbd_drive_column() [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | kscan.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Public API for Keyboard scan matrix devices. 11 * and users can later decode keys using their desired scan code tables in 30 * @defgroup kscan_interface Keyboard Scan Driver APIs 40 * @brief Keyboard scan callback called when user press/release 41 * a key on a matrix keyboard. 56 * Keyboard scan driver API definition and system call entry points. 76 * @brief Configure a Keyboard scan instance. 79 * @param callback called when keyboard devices reply to a keyboard 92 (struct kscan_driver_api *)dev->api; in z_impl_kscan_config() [all …]
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | kscan.rst | 4 Keyboard Scan 13 The kscan driver (keyboard scan matrix) is used for detecting a key press in a 14 connected matrix keyboard or any device with buttons such as joysticks. 15 Typically, matrix keyboards are implemented using a two-dimensional 17 many keys through fewer physical pins. Keyboard matrix 23 defined by a keymap provided by the keyboard manufacturer.
|
/Zephyr-latest/dts/bindings/input/ |
D | gpio-kbd-matrix.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 GPIO based keyboard matrix input device 7 Implement an input device for a GPIO based keyboard matrix. 11 kbd-matrix { 12 compatible = "gpio-kbd-matrix"; 13 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 15 col-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>, 18 no-ghostkey-check; 21 compatible: "gpio-kbd-matrix" 24 - name: kbd-matrix-common.yaml [all …]
|
D | ite,it8801-kbd.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: ITE IT8801 I2C-based keyboard matrix scan controller 6 compatible: "ite,it8801-kbd" 8 include: [kbd-matrix-common.yaml, pinctrl-device.yaml] 19 kso-mapping: 22 row-size: 25 col-size:
|
D | nuvoton,npcx-kbd.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Nuvoton NPCX keyboard scan controller 6 compatible: "nuvoton,npcx-kbd" 8 include: [kbd-matrix-common.yaml, pinctrl-device.yaml] 17 pinctrl-0: 20 pinctrl-names: 23 wui-maps: 27 Mapping table between Wake-Up Input (WUI) and KSIs. 30 wui-maps = <&wui_io30 &wui_io31 &wui_io27 &wui_io26 33 row-size: [all …]
|
/Zephyr-latest/tests/drivers/input/kbd_matrix/dts/bindings/ |
D | test-kbd-scan.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Keyboard scan test binding 6 compatible: "test-kbd-scan" 8 include: kbd-matrix-common.yaml
|
/Zephyr-latest/samples/drivers/kscan/ |
D | sample.yaml | 6 - drivers 7 - kscan 13 - "kb data(.*)" 16 filter: dt_chosen_enabled("zephyr,keyboard-scan")
|
/Zephyr-latest/dts/bindings/kscan/ |
D | zephyr,kscan-input.yaml | 2 # SPDX-License-Identifier: Apache-2.0 11 zephyr,keyboard-scan = &kscan_input; 16 kscan_input: kscan-input { 17 compatible = "zephyr,kscan-input"; 21 compatible: "zephyr,kscan-input"
|
/Zephyr-latest/doc/services/input/ |
D | gpio-kbd.rst | 1 .. _gpio-kbd: 3 GPIO Keyboard Matrix 6 The :dtcompatible:`gpio-kbd-matrix` driver supports a large variety of keyboard 21 .. figure:: no-diodes.svg 30 .. code-block:: devicetree 32 kbd-matrix { 33 compatible = "gpio-kbd-matrix"; 34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 37 col-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>, 43 keys are released, and the keyboard matrix thread only wakes up when a key has [all …]
|
D | index.rst | 19 multi-axis device have been reported. 25 or any related function; for example buttons or other on-off input entities 72 :dtcompatible:`zephyr,kscan-input` node as a child node of the corresponding 73 input device and pointing the ``zephyr,keyboard-scan`` chosen node to the 76 .. code-block:: devicetree 79 zephyr,keyboard-scan = &kscan_input; 84 kscan_input: kscan-input { 85 compatible = "zephyr,kscan-input"; 92 - :dtcompatible:`adc-keys`: for buttons connected to a resistor ladder. 93 - :dtcompatible:`analog-axis`: for absolute position devices connected to an [all …]
|
/Zephyr-latest/include/zephyr/drivers/mfd/ |
D | mfd_ite_it8801.h | 4 * SPDX-License-Identifier: Apache-2.0 63 /* GPIO pull-down enable */ 65 /* GPIO pull-up enable */ 69 * Keyboard matrix scan controller register fields 71 /* 0x40: Keyboard scan out mode control register */ 80 /* Control push-pull flag */ 82 /* 0x5f: PWM output open-drain disable register */
|
/Zephyr-latest/soc/microchip/mec/common/reg/ |
D | mec_keyscan.h | 4 * SPDX-License-Identifier: Apache-2.0 38 /** @brief Keyboard scan matrix controller. Size = 24(0x18) */
|
/Zephyr-latest/include/zephyr/input/ |
D | input_kbd_matrix.h | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief Keyboard Matrix API 12 * @defgroup input_kbd_matrix Keyboard Matrix API 26 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_NONE -1 29 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_ALL -2 31 /** Number of tracked scan cycles */ 55 * @param dev Pointer to the keyboard matrix device. 61 * @retval -errno Negative errno if row or col are out of range for the device. 73 * @brief Keyboard matrix internal APIs. 81 * @param dev Pointer to the keyboard matrix device. [all …]
|
/Zephyr-latest/boards/nuvoton/npcx4m8f_evb/ |
D | npcx4m8f_evb.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <nuvoton/npcx/npcx-espi-vws-ex-map.dtsi> 11 #include "npcx4m8f_evb-pinctrl.dtsi" 20 zephyr,keyboard-scan = &kscan_input; 24 pwm-led0 = &pwm_led0_green; 26 pwm-0 = &pwm6; 27 i2c-0 = &i2c0_0; 29 peci-0 = &peci0; 33 leds-pwm { [all …]
|
/Zephyr-latest/dts/bindings/pinctrl/ |
D | ite,it8xxx2-pinctrl-func.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "ite,it8xxx2-pinctrl-func" 11 func3-gcr: 14 func3-en-mask: 17 func3-ext: 21 the setting of func3-gcr, some pins require external setting. 23 func3-ext-mask: 26 func4-gcr: 29 func4-en-mask: 32 volt-sel: [all …]
|
/Zephyr-latest/boards/nuvoton/npcx7m6fb_evb/ |
D | npcx7m6fb_evb.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "npcx7m6fb_evb-pinctrl.dtsi" 19 zephyr,keyboard-scan = &kscan_input; 24 pwm-led0 = &pwm_led0_green; 26 pwm-0 = &pwm6; 28 i2c-0 = &i2c0_0; 30 peci-0 = &peci0; 36 compatible = "pwm-leds"; 47 current-speed = <115200>; [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/reg/ |
D | reg_def.h | 4 * SPDX-License-Identifier: Apache-2.0 20 * must meet the alignment requirement of cortex-m4. 44 __ASSERT(reg == val, "16-bit reg access failed!"); \ 50 __ASSERT(reg == val, "32-bit reg access failed!"); \ 90 /* 0x102: High-Frequency Reference Divisor I */ 92 /* 0x104: High-Frequency Reference Divisor F */ 127 /* 0x008 - 0D: Power-Down Control 1 - 6 */ 130 /* 0x020 - 21: Power-Down Control 1 - 2 */ 133 /* 0x024: Power-Down Control 7 */ 137 /* PMC internal inline functions for multi-registers */ [all …]
|
12