diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2017-01-02 13:03:03 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2017-01-09 10:04:58 +0900 |
commit | 3c5f0e076833c407cca372c663d47499ae4dab45 (patch) | |
tree | 955b37646247cc27e1a04c8508e59a54a177b351 /include/linux/extcon.h | |
parent | 62a37443e93bbae74410cb72aa9d7e15a1da0b98 (diff) | |
download | lwn-3c5f0e076833c407cca372c663d47499ae4dab45.tar.gz lwn-3c5f0e076833c407cca372c663d47499ae4dab45.zip |
extcon: Add new EXTCON_CHG_USB_PD type for USB Power Delivery
This patch adds the new EXTCON_CHG_USB_PD for USB PD (Power Delivery)[1].
The USB Power Delivery specification specifies that USB cable provides
the increased power more than 7.5W to device with larger power demand.
The EXTCON_CHG_USB_PD has the EXTCON_TYPE_CHG and EXTCON_TYPE_USB type.
[1] https://en.wikipedia.org/wiki/USB#PD
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/linux/extcon.h')
-rw-r--r-- | include/linux/extcon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 242157cad25d..7010fb01a81a 100644 --- a/include/linux/extcon.h +++ b/include/linux/extcon.h @@ -65,6 +65,7 @@ #define EXTCON_CHG_USB_FAST 9 #define EXTCON_CHG_USB_SLOW 10 #define EXTCON_CHG_WPT 11 /* Wireless Power Transfer */ +#define EXTCON_CHG_USB_PD 12 /* USB Power Delivery */ /* Jack external connector */ #define EXTCON_JACK_MICROPHONE 20 |