Branch:
main
backport-73945-to-v2.7-branch
backport-78976-to-v3.7-branch
backport-80768-to-v3.7-branch
backport-81533-to-v4.0-branch
backport-82072-to-v2.7-branch
backport-83355-to-v4.0-branch
backport-84509-to-v4.0-branch
backport-84908-to-v4.0-branch
backport-84955-to-v3.7-branch
backport-85353-to-v4.0-branch
backport-85407-to-v4.0-branch
backport-86218-to-v4.1-branch
backport-86534-to-v4.1-branch
backport-86662-to-v4.0-branch
backport-86662-to-v4.1-branch
backport-87066-to-v4.0-branch
backport-87080-to-v4.1-branch
backport-87152-to-v4.1-branch
backport-87235-to-v4.0-branch
backport-87871-to-v3.7-branch
backport-88082-to-v4.0-branch
backport-88082-to-v4.1-branch
backport-88315-to-v3.7-branch
backport-88315-to-v4.0-branch
backport-88406-to-v4.0-branch
backport-88560-to-v4.0-branch
backport-88631-to-v4.0-branch
backport-88631-to-v4.1-branch
backport-88635-to-v4.0-branch
backport-88635-to-v4.1-branch
backport-89385-to-v4.1-branch
backport-89525-to-v4.1-branch
backport-89534-to-v4.1-branch
backport-89982-to-v4.0-branch
backport-89982-to-v4.1-branch
backport-90716-to-v4.0-branch
backport-90747-to-v4.1-branch
backport-90990-to-v3.7-branch
backport-90990-to-v4.1-branch
backport-91294-to-v4.1-branch
backport-91430-to-v4.1-branch
backport-91949-to-v3.7-branch
backport-91949-to-v4.0-branch
backport-91949-to-v4.1-branch
backport-92569-to-v4.1-branch
collab-hwm
collab-init
collab-mesh-subnet
collab-rust
collab-safety
collab-sdk-0.18-dev
collab-sdk-dev
main
v1.10-branch
v1.11-branch
v1.12-branch
v1.13-branch
v1.14-branch
v1.5-branch
v1.6-branch
v1.7-branch
v1.8-branch
v1.9-branch
v2.0-branch
v2.1-branch
v2.2-branch
v2.3-branch
v2.4-branch
v2.5-branch
v2.6-branch
v2.7-auditable-branch
v2.7-branch
v3.0-branch
v3.1-branch
v3.2-branch
v3.3-branch
v3.4-branch
v3.5-branch
v3.6-branch
v3.7-branch
v4.0-branch
v4.1-branch
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zephyr-v3.4.0
zephyr-v3.5.0
${ noResults }
7 Commits (main)
Author | SHA1 | Message | Date |
---|---|---|---|
|
01be4aff40 |
input: gpio_qdec: add power management support
Add power management support to the gpio-qdec driver. This is a bit complicated by the fact that the driver has two modes of operation and the interrupt, timer and idle work ineract with each other. The suspend sequence is: - set the suspended bit (inhibits the poll timer so that it does not resubmit the idle work) - cancel the idle work (so that it does not schedule and re-set the interrupt or timers) - disable interrupts (if used) - stop the sampling timer - disconnect the pins The resume sequence is more or less the opposite. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
1 year ago |
|
1dd2307b3f |
input: gpio_qdec: add optical encoder support
Change the gpio_qdec driver to support optical encoders. Add a property to use for defining an arbitrary number of GPIOs for the sensing devices (typically infrared LEDs, but could also be the biasing for the phototransistor), and one for adding a delay between turning those on and reading the pin status. The infrared LEDs typically consume a non negligible amount of power, so there's also a new idle-poll-time-us property that enables two possible modes of operation: - if idle-poll-time-us is zero (default) the LEDs are enabled all the time and the driver enters polling mode using the GPIO interrupt as with mechanical encoders. This is usable for mains powered devices and has the lowest overhead on the CPU. - if idle-poll-time-us is non zero, then the driver polls the encoder all the time, turning on the LEDs just before reading the state and shutting them off immediately after, but when the encoder is idle it switches the polling rate to idle-poll-time-us to save power, and only polls at sample-time-us when some movement is detected. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
1 year ago |
|
91ee5c4db2 |
input: gpio_qdec: rename gpio to ab_gpio
Rename gpio to ab_gpio, this is in preparation for adding another gpio pointer. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
1 year ago |
|
c161253287 |
drivers: input: fix few types
Fix few wrong types in various input drivers. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
2 years ago |
|
ec71be5d9d |
drivers,subsys: fix few missing k_work_delayable_from_work
Fix few instances of delayable work handlers using the k_work pointer directly in a CONTAINER_OF pointing to a k_work_delayable. This is harmless since the k_work is the first element in k_work_delayable, but using k_work_delayable_from_work is the right way of handling it. Change a couple of explicit CONTAINER_OF doing the same work as the macro in the process. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
2 years ago |
|
d95c12848d |
drivers: input: add few missing gpio_add_callback return check
Add few missing check on gpio_add_callback and gpio_add_callback_dt calls, fixes a coverity warning. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
2 years ago |
|
2790106c33 |
input: add a gpio qdec input driver
Add a GPIO based quadrature decoder driver that reports relative axes movements using the input subsystem. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
2 years ago |