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 new capability bits

Newer UCSI versions defined additional optional capability bits. Add
their definitions.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240524105837.15342-2-diogo.ivo@tecnico.ulisboa.pt
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Diogo Ivo and committed by
Greg Kroah-Hartman
4207df37 df1c5d55

+7 -1
+7 -1
drivers/usb/typec/ucsi/ucsi.h
··· 225 225 #define UCSI_CAP_CABLE_DETAILS BIT(5) 226 226 #define UCSI_CAP_EXT_SUPPLY_NOTIFICATIONS BIT(6) 227 227 #define UCSI_CAP_PD_RESET BIT(7) 228 - #define UCSI_CAP_GET_PD_MESSAGE BIT(8) 228 + #define UCSI_CAP_GET_PD_MESSAGE BIT(8) 229 + #define UCSI_CAP_GET_ATTENTION_VDO BIT(9) 230 + #define UCSI_CAP_FW_UPDATE_REQUEST BIT(10) 231 + #define UCSI_CAP_NEGOTIATED_PWR_LEVEL_CHANGE BIT(11) 232 + #define UCSI_CAP_SECURITY_REQUEST BIT(12) 233 + #define UCSI_CAP_SET_RETIMER_MODE BIT(13) 234 + #define UCSI_CAP_CHUNKING_SUPPORT BIT(14) 229 235 u8 reserved_1; 230 236 u8 num_alt_modes; 231 237 u8 reserved_2;