File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,20 @@ static int ucsi_cmd(void *data, u64 val)
3434 case UCSI_CONNECTOR_RESET :
3535 case UCSI_SET_SINK_PATH :
3636 case UCSI_SET_NEW_CAM :
37+ case UCSI_SET_USB :
3738 ret = ucsi_send_command (ucsi , val , NULL , 0 );
3839 break ;
3940 case UCSI_GET_CAPABILITY :
4041 case UCSI_GET_CONNECTOR_CAPABILITY :
4142 case UCSI_GET_ALTERNATE_MODES :
43+ case UCSI_GET_CAM_SUPPORTED :
4244 case UCSI_GET_CURRENT_CAM :
4345 case UCSI_GET_PDOS :
4446 case UCSI_GET_CABLE_PROPERTY :
4547 case UCSI_GET_CONNECTOR_STATUS :
4648 case UCSI_GET_ERROR_STATUS :
49+ case UCSI_GET_PD_MESSAGE :
50+ case UCSI_GET_ATTENTION_VDO :
4751 case UCSI_GET_CAM_CS :
4852 case UCSI_GET_LPM_PPM_INFO :
4953 ret = ucsi_send_command (ucsi , val ,
Original file line number Diff line number Diff line change @@ -125,9 +125,11 @@ void ucsi_connector_change(struct ucsi *ucsi, u8 num);
125125#define UCSI_GET_CONNECTOR_STATUS 0x12
126126#define UCSI_GET_CONNECTOR_STATUS_SIZE 152
127127#define UCSI_GET_ERROR_STATUS 0x13
128+ #define UCSI_GET_ATTENTION_VDO 0x16
128129#define UCSI_GET_PD_MESSAGE 0x15
129130#define UCSI_GET_CAM_CS 0x18
130131#define UCSI_SET_SINK_PATH 0x1c
132+ #define UCSI_SET_USB 0x21
131133#define UCSI_GET_LPM_PPM_INFO 0x22
132134
133135#define UCSI_CONNECTOR_NUMBER (_num_ ) ((u64)(_num_) << 16)
You can’t perform that action at this time.
0 commit comments