diff options
| author | Oliver Neukum <oneukum@suse.com> | 2016-03-10 10:09:10 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-18 15:33:15 -0400 |
| commit | 351e67ab5c0582e833c8d67dccb034348879cf25 (patch) | |
| tree | 9aa78054a52b20ffbecd62e49d28ba5cbc89bc1e /include/uapi/linux/usb | |
| parent | e1669f4a425c92c186e33a101e8fa84195fa2744 (diff) | |
USB: PD: additional feature selectors
This adds the feature selectors from Table 9-8
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/usb')
| -rw-r--r-- | include/uapi/linux/usb/ch9.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h index 535fce085459..a8acc24765fe 100644 --- a/include/uapi/linux/usb/ch9.h +++ b/include/uapi/linux/usb/ch9.h | |||
| @@ -172,6 +172,22 @@ | |||
| 172 | #define USB_DEV_STAT_U2_ENABLED 3 /* transition into U2 state */ | 172 | #define USB_DEV_STAT_U2_ENABLED 3 /* transition into U2 state */ |
| 173 | #define USB_DEV_STAT_LTM_ENABLED 4 /* Latency tolerance messages */ | 173 | #define USB_DEV_STAT_LTM_ENABLED 4 /* Latency tolerance messages */ |
| 174 | 174 | ||
| 175 | /* | ||
| 176 | * Feature selectors from Table 9-8 USB Power Delivery spec | ||
| 177 | */ | ||
| 178 | #define USB_DEVICE_BATTERY_WAKE_MASK 40 | ||
| 179 | #define USB_DEVICE_OS_IS_PD_AWARE 41 | ||
| 180 | #define USB_DEVICE_POLICY_MODE 42 | ||
| 181 | #define USB_PORT_PR_SWAP 43 | ||
| 182 | #define USB_PORT_GOTO_MIN 44 | ||
| 183 | #define USB_PORT_RETURN_POWER 45 | ||
| 184 | #define USB_PORT_ACCEPT_PD_REQUEST 46 | ||
| 185 | #define USB_PORT_REJECT_PD_REQUEST 47 | ||
| 186 | #define USB_PORT_PORT_PD_RESET 48 | ||
| 187 | #define USB_PORT_C_PORT_PD_CHANGE 49 | ||
| 188 | #define USB_PORT_CABLE_PD_RESET 50 | ||
| 189 | #define USB_DEVICE_CHARGING_POLICY 54 | ||
| 190 | |||
| 175 | /** | 191 | /** |
| 176 | * struct usb_ctrlrequest - SETUP data for a USB device control request | 192 | * struct usb_ctrlrequest - SETUP data for a USB device control request |
| 177 | * @bRequestType: matches the USB bmRequestType field | 193 | * @bRequestType: matches the USB bmRequestType field |
