[PATCH 0/3] Input: adafruit-seesaw: use dev_err_probe and add IRQ support

From: charles . embedded

Date: Sat Mar 21 2026 - 16:26:18 EST


From: Charles Dias <charlesdias.cd@xxxxxxxxxxx>

This series improves the Adafruit seesaw gamepad driver in two steps.

The first patch switches to using dev_err_probe() in seesaw_probe()
to improve error handling.

The second patch adds optional interrupt support for button events when
an IRQ is described in DTS. Joystick axes remain polled because the
default Adafruit seesaw gamepad firmware exposes button interrupts
through the GPIO module, while the joystick positions are read from ADC
channels.

When no IRQ is described in DTS, the driver continues to operate in
pure polling mode.

This series was validated on a BeaglePlay board with the Adafruit
Seesaw Gamepad, both with the interrupt enabled in DTS and without it.

Charles Dias (3):
Input: adafruit-seesaw - switch to using dev_err_probe()
Input: adafruit-seesaw - add interrupt support
dt-bindings: input: adafruit-seesaw-gamepad: fix interrupt polarity

.../input/adafruit,seesaw-gamepad.yaml | 12 +-
drivers/input/joystick/adafruit-seesaw.c | 160 ++++++++++++------
2 files changed, 119 insertions(+), 53 deletions(-)