extcon: Add new EXTCON_CHG_USB_PD type for USB Power Delivery
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 2 Jan 2017 04:03:03 +0000 (13:03 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Jan 2017 01:04:58 +0000 (10:04 +0900)
commit3c5f0e076833c407cca372c663d47499ae4dab45
tree955b37646247cc27e1a04c8508e59a54a177b351
parent62a37443e93bbae74410cb72aa9d7e15a1da0b98
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>
drivers/extcon/extcon.c
include/linux/extcon.h