Re: [PATCH v12 1/3] HID: nintendo: Add preliminary Switch 2 controller driver
Jiri Kosina <[email protected]> Mon, 3 Aug 2026 19:50:37 +0200 (CEST)
| Newsgroups | org.kernel.vger.linux-input |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 14 Jul 2026, Vicki Pfau wrote: > This adds a new driver for the Switch 2 controllers. The Switch 2 uses an > unusual split-interface design such that input and rumble occur on the main > HID interface, but all other communication occurs over a "configuration" > interface. This is the case on both USB and Bluetooth, so this new driver > uses a split-driver design with the HID interface being the "main" driver > and the configuration interface is a secondary driver that looks up to the > HID interface, sharing resources on a common struct. > > Due to using a non-standard pairing interface as well as Bluetooth > communications being extremely limited in the kernel, a custom interface > between userspace and the kernel will need to be designed, along with > bringup in BlueZ. That is beyond the scope of this initial patch, which > only contains the generic HID and USB configuration interface drivers. > > This initial work supports general input for the Joy-Con 2, Pro Controller > 2, and GameCube NSO controllers. IMU, rumble and battery support is not yet > present. > > Signed-off-by: Vicki Pfau <[email protected]> > --- > MAINTAINERS | 1 + > drivers/hid/Kconfig | 11 +- > drivers/hid/hid-ids.h | 4 + > drivers/hid/hid-nintendo.c | 1277 ++++++++++++++++- > drivers/hid/hid-nintendo.h | 72 + > drivers/input/joystick/Kconfig | 11 + > drivers/input/joystick/Makefile | 1 + > drivers/input/joystick/nintendo-switch2-usb.c | 475 ++++++ Dmitry, can you please Ack the drivers/input/ bits here? Thanks, -- Jiri Kosina SUSE Labs