Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

HID: core: Add bus define for SoundWire bus

SDCA (SoundWire Device Class for Audio) uses HID to convey
input events from peripheral devices. Add a bus define for the
SoundWire bus to prepare support for this.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Acked-by: Jiri Kosina <jkosina@suse.com>
Link: https://patch.msgid.link/20250616114907.855452-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Charles Keepax and committed by
Mark Brown
3421d464 13ef21df

+4
+3
drivers/hid/hid-core.c
··· 2294 2294 case BUS_I2C: 2295 2295 bus = "I2C"; 2296 2296 break; 2297 + case BUS_SDW: 2298 + bus = "SOUNDWIRE"; 2299 + break; 2297 2300 case BUS_VIRTUAL: 2298 2301 bus = "VIRTUAL"; 2299 2302 break;
+1
include/uapi/linux/input.h
··· 275 275 #define BUS_CEC 0x1E 276 276 #define BUS_INTEL_ISHTP 0x1F 277 277 #define BUS_AMD_SFH 0x20 278 + #define BUS_SDW 0x21 278 279 279 280 /* 280 281 * MT_TOOL types