Home
last modified time | relevance | path

Searched +full:col +full:- +full:gpios (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/dts/bindings/input/
Dgpio-kbd-matrix.yaml2 # SPDX-License-Identifier: Apache-2.0
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
25 property-blocklist:
26 - row-size
[all …]
Dite,it8xxx2-kbd.yaml2 # SPDX-License-Identifier: Apache-2.0
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.
46 pinctrl-0:
[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/boards/bbc/microbit/
Dbbc_microbit.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "bbc_microbit-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
27 zephyr,shell-uart = &uart0;
28 zephyr,bt-mon-uart = &uart0;
29 zephyr,bt-c2h-uart = &uart0;
32 zephyr,code-partition = &slot0_partition;
37 compatible = "gpio-keys";
40 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/doc/services/input/
Dgpio-kbd.rst1 .. _gpio-kbd:
6 The :dtcompatible:`gpio-kbd-matrix` driver supports a large variety of keyboard
12 row GPIOs (inputs) and selects on the columns GPIOs (output).
14 Base use case, no isolation diodes, interrupt capable GPIOs
21 .. figure:: no-diodes.svg
28 row GPIOs at the same time.
30 .. code-block:: devicetree
32 kbd-matrix {
33 compatible = "gpio-kbd-matrix";
34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
[all …]
/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 …]
Dit82xx2_evb.overlay4 * SPDX-License-Identifier: Apache-2.0
7 /delete-node/ &kbd;
13 compatible = "ite,it8801-mfd";
15 irq-gpios = <&gpioa 1 0>;
19 #include <ite/it8801-common-cfg.dtsi>
25 kso-mapping = <0 1 20 3 4 5 6 17 18 16 15 11 12>;
26 row-size = <8>;
27 col-size = <13>;
29 kscan_input: kscan-input {
30 compatible = "zephyr,kscan-input";
/Zephyr-latest/dts/bindings/mfd/
Dite,it8801-mfd.yaml2 # SPDX-License-Identifier: Apache-2.0
5 ITE IT8801 ioexpander multi-function device drivers.
8 An example configuration using the it8801-common-cfg.dtsi template:
12 compatible = "ite,it8801-mfd";
14 * SMBus address (7-bit without R/W)
19 irq-gpios = <&gpioa 1 0>; /* SMB_INT# */
22 #include <ite/it8801-common-cfg.dtsi>
24 /* sub-devices available at nodelabels:
25 * - ioex_it8801_port0
26 * - ioex_it8801_port1
[all …]
/Zephyr-latest/dts/bindings/display/
Dnordic,nrf-led-matrix.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Generic LED matrix driven by nRF SoC GPIOs
6 compatible: "nordic,nrf-led-matrix"
8 include: display-controller.yaml
11 row-gpios:
12 type: phandle-array
15 Array of GPIOs to be used as rows of the matrix.
17 col-gpios:
18 type: phandle-array
21 Array of GPIOs to be used as columns of the matrix.
[all …]
/Zephyr-latest/boards/microchip/mec1501modular_assy6885/
Dmec1501modular_assy6885.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "mec1501modular_assy6885-pinctrl.dtsi"
20 zephyr,keyboard-scan = &kscan_input;
24 pwm-0 = &pwm0;
25 peci-0 = &peci0;
40 current-speed = <115200>;
41 pinctrl-0 = <&uart1_tx_gpio170 &uart1_rx_gpio171>;
42 pinctrl-names = "default";
47 pinctrl-0 = <&adc04_gpio204 &adc05_gpio205
[all …]
/Zephyr-latest/boards/microchip/mec15xxevb_assy6853/
Dmec15xxevb_assy6853.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "mec15xxevb_assy6853-pinctrl.dtsi"
19 zephyr,keyboard-scan = &kscan_input;
26 pwm-0 = &pwm0;
27 peci-0 = &peci0;
29 i2c-0 = &i2c_smb_0;
37 compatible = "gpio-leds";
42 gpios = <MCHP_GPIO_DECODE_156 GPIO_ACTIVE_LOW>;
49 gpios = <MCHP_GPIO_DECODE_157 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/boards/bbc/microbit_v2/
Dbbc_microbit_v2.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "bbc_microbit_v2-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "bbc,microbit-v2";
27 zephyr,shell-uart = &uart0;
28 zephyr,bt-mon-uart = &uart0;
29 zephyr,bt-c2h-uart = &uart0;
32 zephyr,code-partition = &slot0_partition;
37 compatible = "gpio-keys";
[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/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/boards/microchip/mec172xmodular_assy6930/
Dmec172xmodular_assy6930.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <microchip/mec172x/mec172xnsz-pinctrl.dtsi>
28 pwm-0 = &pwm0;
32 compatible = "gpio-leds";
37 gpios = <MCHP_GPIO_DECODE_157 GPIO_ACTIVE_HIGH>;
43 gpios = <MCHP_GPIO_DECODE_153 GPIO_ACTIVE_HIGH>;
49 clock-frequency = <96000000>;
77 current-speed = <115200>;
78 pinctrl-0 = <&uart1_tx_gpio170 &uart1_rx_gpio171>;
[all …]
/Zephyr-latest/boards/microchip/mec172xevb_assy6906/
Dmec172xevb_assy6906.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <microchip/mec172x/mec172xnsz-pinctrl.dtsi>
26 i2c-0 = &i2c_smb_0;
29 pwm-0 = &pwm0;
34 compatible = "gpio-leds";
39 gpios = <MCHP_GPIO_DECODE_241 GPIO_ACTIVE_HIGH>;
46 gpios = <MCHP_GPIO_DECODE_175 GPIO_ACTIVE_HIGH>;
53 clock-frequency = <96000000>;
81 current-speed = <115200>;
[all …]
/Zephyr-latest/boards/ite/it82xx2_evb/
Dit82xx2_evb.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <ite/it8xxx2-pinctrl-map.dtsi>
13 model = "IT82XX2 EV-Board";
14 compatible = "ite,it82xx2-evb";
17 i2c-0 = &i2c0;
18 peci-0 = &peci0;
22 pwm-0 = &pwm0;
27 zephyr,shell-uart = &uart1;
[all …]
/Zephyr-latest/boards/ite/it8xxx2_evb/
Dit8xxx2_evb.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <ite/it8xxx2-pinctrl-map.dtsi>
13 model = "IT8XXX2 EV-Board";
14 compatible = "ite,it8xxx2-evb";
17 i2c-0 = &i2c0;
18 peci-0 = &peci0;
22 pwm-0 = &pwm0;
27 zephyr,shell-uart = &uart1;
[all …]