mbox series

[0/3] adc-joystick: Add polled support

Message ID 20220601191730.29721-1-macroalpha82@gmail.com (mailing list archive)
Headers show
Series adc-joystick: Add polled support | expand

Message

Chris Morgan June 1, 2022, 7:17 p.m. UTC
From: Chris Morgan <macromorgan@hotmail.com>

Add support to the existing adc-joystick driver to support polling
rather than relying on triggered buffers. This is useful for devices
that do not offer triggered buffers in hardware. Code adapted from
changes made by Maya Matuszczyk <maccraft123mc@gmail.com>.

Chris Morgan (3):
  dt-bindings: adc-joystick: bindings for adc-joystick-polled
  Input: adc-joystick - Add polled input device support
  arm64: dts: rockchip: Update joystick to polled for Odroid-Go2

 .../bindings/input/adc-joystick.yaml          |  8 ++-
 .../boot/dts/rockchip/rk3326-odroid-go2.dts   |  2 +-
 drivers/input/joystick/adc-joystick.c         | 53 +++++++++++++++----
 3 files changed, 49 insertions(+), 14 deletions(-)