This takes the definitions of requests from chapter 9.3.1 of the USB Power Delivery spec.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -105,6 +105,13 @@ · 104 unmodified lines | |||
| 105 | #define USB_REQ_LOOPBACK_DATA_READ 0x16 | 105 | #define USB_REQ_LOOPBACK_DATA_READ 0x16 |
| 106 | #define USB_REQ_SET_INTERFACE_DS 0x17 | 106 | #define USB_REQ_SET_INTERFACE_DS 0x17 |
| 107 | 107 | ||
| 108 | /* specific requests for USB Power Delivery */ | ||
| 109 | #define USB_REQ_GET_PARTNER_PDO 20 | ||
| 110 | #define USB_REQ_GET_BATTERY_STATUS 21 | ||
| 111 | #define USB_REQ_SET_PDO 22 | ||
| 112 | #define USB_REQ_GET_VDM 23 | ||
| 113 | #define USB_REQ_SEND_VDM 24 | ||
| 114 | |||
| 108 | /* The Link Power Management (LPM) ECN defines USB_REQ_TEST_AND_SET command, | 115 | /* The Link Power Management (LPM) ECN defines USB_REQ_TEST_AND_SET command, |
| 109 | * used by hubs to put ports into a new L1 suspend state, except that it | 116 | * used by hubs to put ports into a new L1 suspend state, except that it |
| 110 | * forgot to define its number ... | 117 | * forgot to define its number ... |