Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH v10 0/3] HID: nintendo: Add preliminary Switch 2 controller
@ 2026-07-02  3:41 Vicki Pfau
  2026-07-02  3:41 ` [PATCH v10 1/3] HID: nintendo: Add preliminary Switch 2 controller driver Vicki Pfau
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vicki Pfau @ 2026-07-02  3:41 UTC (permalink / raw)
  To: Dmitry Torokhov, Jiri Kosina, Benjamin Tissoires, linux-input
  Cc: Vicki Pfau, Silvan Jegen

This series adds preliminary support for Switch 2 controllers using the
same split-driver model as previous versions. This is a minor iteration on
v9, fixing errors pointed out by sashiko and moving both the led structs
and the rumble work to be devm-allocated based on the input device.

I think several of the concurrency issues pointed out by sashiko are
impossible (e.g. a HID device receiving events concurrently with the remove
handler), otherwise there are some major issues with lots and lots of
drivers.

Vicki Pfau (3):
  HID: nintendo: Add preliminary Switch 2 controller driver
  HID: nintendo: Add rumble support for Switch 2 controllers
  HID: nintendo: Add unified report format support

 MAINTAINERS                                   |    1 +
 drivers/hid/Kconfig                           |   19 +-
 drivers/hid/hid-ids.h                         |    4 +
 drivers/hid/hid-nintendo.c                    | 1681 ++++++++++++++++-
 drivers/hid/hid-nintendo.h                    |   72 +
 drivers/input/joystick/Kconfig                |   11 +
 drivers/input/joystick/Makefile               |    1 +
 drivers/input/joystick/nintendo-switch2-usb.c |  468 +++++
 8 files changed, 2216 insertions(+), 41 deletions(-)
 create mode 100644 drivers/hid/hid-nintendo.h
 create mode 100644 drivers/input/joystick/nintendo-switch2-usb.c

-- 
2.54.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-02  3:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-02  3:41 [PATCH v10 0/3] HID: nintendo: Add preliminary Switch 2 controller Vicki Pfau
2026-07-02  3:41 ` [PATCH v10 1/3] HID: nintendo: Add preliminary Switch 2 controller driver Vicki Pfau
2026-07-02  3:56   ` sashiko-bot
2026-07-02  3:41 ` [PATCH v10 2/3] HID: nintendo: Add rumble support for Switch 2 controllers Vicki Pfau
2026-07-02  3:58   ` sashiko-bot
2026-07-02  3:41 ` [PATCH v10 3/3] HID: nintendo: Add unified report format support Vicki Pfau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox