Lines Matching +full:device +full:- +full:state +full:- +full:gpios
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
25 property-blocklist:
26 - row-size
27 - col-size
30 row-gpios:
31 type: phandle-array
34 GPIO for the keyboard matrix rows, up to 8 different GPIOs. All row GPIO
35 pins must have interrupt support if idle-mode is set to "interrupt"
38 col-gpios:
39 type: phandle-array
42 GPIO for the keyboard matrix columns, supports up to 32 different GPIOs.
43 When unselected, this pin will be either driven to inactive state or
44 configured to high impedance (input) depending on the col-drive-inactive
47 col-drive-inactive:
50 If enabled, unselected column GPIOs will be driven to inactive state.
51 Default to configure unselected column GPIOs to high impedance.
53 idle-mode:
57 - "interrupt"
58 - "poll"
59 - "scan"
64 the matrix continuously, requires "poll-timeout-ms" to be set to 0.