Home
last modified time | relevance | path

Searched +full:kbd +full:- +full:matrix (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/tests/subsys/input/kbd_matrix_state_dump/
Dtestcase.yaml1 # SPDX-License-Identifier: Apache-2.0
6 - native_sim
7 - native_sim/native/64
9 - native_sim
16 - "I: kbd-matrix state \\[01 -- -- --\\] \\(1\\)"
17 - "I: kbd-matrix state \\[11 -- -- --\\] \\(2\\)"
18 - "I: kbd-matrix state \\[11 02 -- --\\] \\(3\\)"
19 - "I: kbd-matrix state \\[11 02 04 --\\] \\(4\\)"
20 - "I: kbd-matrix state \\[10 02 04 --\\] \\(3\\)"
21 - "I: kbd-matrix state \\[-- 02 04 --\\] \\(2\\)"
[all …]
/Zephyr-latest/doc/services/input/
Dgpio-kbd.rst1 .. _gpio-kbd:
3 GPIO Keyboard Matrix
6 The :dtcompatible:`gpio-kbd-matrix` driver supports a large variety of keyboard
7 matrix hardware configurations and has numerous options to change its behavior.
21 .. figure:: no-diodes.svg
25 A 3x3 matrix, no diodes
30 .. code-block:: devicetree
32 kbd-matrix {
33 compatible = "gpio-kbd-matrix";
34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
[all …]
Dindex.rst19 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/tests/drivers/input/gpio_kbd_matrix/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
12 kbd_matrix_interrupt: kbd-matrix-interrupt {
13 compatible = "gpio-kbd-matrix";
14 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
16 col-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>,
18 debounce-down-ms = <80>;
19 debounce-up-ms = <40>;
20 poll-timeout-ms = <500>;
23 kbd_matrix_poll: kbd-matrix-poll {
24 compatible = "gpio-kbd-matrix";
[all …]
/Zephyr-latest/dts/bindings/input/
Dgpio-kbd-matrix.yaml2 # 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 …]
Dite,it8801-kbd.yaml2 # 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:
Dmicrochip,xec-kbd.yaml3 # SPDX-License-Identifier: Apache-2.0
5 description: Microchip XEC keyboard matrix controller
7 compatible: "microchip,xec-kbd"
9 include: [kbd-matrix-common.yaml, pinctrl-device.yaml]
12 "#address-cells":
16 "#size-cells":
36 row-size:
39 col-size:
Dite,it8xxx2-kbd.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: ITE it8xxx2 keyboard matrix controller
6 compatible: "ite,it8xxx2-kbd"
8 include: [kbd-matrix-common.yaml, pinctrl-device.yaml]
26 kso16-gpios:
27 type: phandle-array
32 kso17-gpios:
33 type: phandle-array
38 kso-ignore-mask:
43 to skip KSO signals between 0 and (col-size - 1) that are used as GPIOs.
[all …]
Dnuvoton,npcx-kbd.yaml2 # SPDX-License-Identifier: Apache-2.0
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:
36 col-size:
/Zephyr-latest/tests/drivers/input/kbd_matrix/dts/bindings/
Dtest-kbd-scan.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "test-kbd-scan"
8 include: kbd-matrix-common.yaml
/Zephyr-latest/tests/subsys/input/kbd_matrix_state_dump/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
19 DEVICE_DEFINE(kbd_matrix, "kbd-matrix", NULL, NULL,
37 err = shell_execute_cmd(sh, "input kbd_matrix_state_dump kbd-matrix"); in main()
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/boards/nuvoton/npcx4m8f_evb/
Dnpcx4m8f_evb.dts4 * 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/boards/nuvoton/npcx7m6fb_evb/
Dnpcx7m6fb_evb.dts4 * 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/boards/nuvoton/npcx9m6f_evb/
Dnpcx9m6f_evb.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "npcx9m6f_evb-pinctrl.dtsi"
19 zephyr,keyboard-scan = &kscan_input;
24 pwm-led0 = &pwm_led0_green;
28 pwm-0 = &pwm6;
30 i2c-0 = &i2c0_0;
33 peci-0 = &peci0;
38 leds-pwm {
39 compatible = "pwm-leds";
[all …]
/Zephyr-latest/tests/drivers/input/kbd_matrix/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
66 /* The test only supports a 3 column matrix */
110 switch (evt->code) { in test_cb()
112 col = evt->value; in test_cb()
115 row = evt->value; in test_cb()
118 val = evt->value; in test_cb()
122 if (evt->sync) { in test_cb()
151 const struct input_kbd_matrix_common_config *cfg = test_dev->config; in ZTEST()
156 k_sleep(K_USEC(cfg->debounce_down_us / 2)); in ZTEST()
159 k_sleep(K_USEC(cfg->debounce_down_us)); in ZTEST()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.6.rst12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications.
13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`.
16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2.
23 * Over 30 new supported boards, spanning all Zephyr-supported architectures.
37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47
38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_
40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc
41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_
43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw
44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_
[all …]
Drelease-notes-3.7.rst10 This release is the last non-maintenance 3.x release and, as such, will be the next
18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API,
21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017
25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio
29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and
35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr.
39 1588) allows to synchronize time across devices with sub-microsecond accuracy.
52 * 1-Wire
71 :ref:`pinctrl-guide` for more details.
88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8
[all …]