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.

usb: typec: ucsi: Add a macro definition for UCSI v1.0

Many platforms from Qualcomm(before X elite) still use UCSI v1.0,
part of them hardcoded the version number to dsdt, add this for them.

Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250113175131.590683-1-mitltlatltl@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Pengyu Luo and committed by
Greg Kroah-Hartman
06c47f20 66e0ea34

+1
+1
drivers/usb/typec/ucsi/ucsi.h
··· 30 30 #define UCSIv2_MESSAGE_OUT 272 31 31 32 32 /* UCSI versions */ 33 + #define UCSI_VERSION_1_0 0x0100 33 34 #define UCSI_VERSION_1_1 0x0110 34 35 #define UCSI_VERSION_1_2 0x0120 35 36 #define UCSI_VERSION_2_0 0x0200