Lines Matching +full:led +full:- +full:gpios
2 # SPDX-License-Identifier: Apache-2.0
8 encoder connected to two GPIOs. The driver is normally idling until it sees a
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 compatible = "gpio-qdec";
19 gpios = <&gpio0 14 (GPIO_PULL_UP | GPIO_ACTIVE_HIGH)>,
21 steps-per-period = <4>;
23 sample-time-us = <2000>;
24 idle-timeout-ms = <200>;
27 compatible: "gpio-qdec"
32 gpios:
33 type: phandle-array
38 led-gpios:
39 type: phandle-array
41 GPIOs for LED or other components needed for sensing the AB signals.
43 led-pre-us:
46 Time between enabling the led-gpios output pins and reading the encoder
48 phototransistor) time to settle to right state. Required if led-gpios and
49 idle-poll-time-us are specified, can be explicitly set to 0 for no delay.
51 steps-per-period:
64 sample-time-us:
71 idle-poll-time-us:
76 specified in led-gpios will be enabled all the time. If non zero, then
77 the driver will poll every idle-poll-time-us microseconds while idle, and
78 only activate led-gpios before sampling the encoder state.
80 idle-timeout-ms: