History

USB: PD: define specific requests

This takes the definitions of requests from chapter 9.3.1 of the USB Power Delivery spec.

Oliver Neukum committed 10 years ago

Commit e1669f41 parent e10f9a41 file · +7 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/usb/ch9.h+7−0
@@ -105,6 +105,13 @@ · 104 unmodified lines
105105 #define USB_REQ_LOOPBACK_DATA_READ 0x16
106106 #define USB_REQ_SET_INTERFACE_DS 0x17
107107
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+
108115 /* The Link Power Management (LPM) ECN defines USB_REQ_TEST_AND_SET command,
109116 * used by hubs to put ports into a new L1 suspend state, except that it
110117 * forgot to define its number ...

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t