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 | 105 | #define USB_REQ_LOOPBACK_DATA_READ 0x16 |
| 106 | 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 | 115 | /* The Link Power Management (LPM) ECN defines USB_REQ_TEST_AND_SET command, |
| 109 | 116 | * used by hubs to put ports into a new L1 suspend state, except that it |
| 110 | 117 | * forgot to define its number ... |