diff options
author | Bin Yang <yangbin@rock-chips.com> | 2016-09-23 10:51:58 +0800 |
---|---|---|
committer | Huang, Tao <huangtao@rock-chips.com> | 2016-10-07 15:42:26 +0800 |
commit | 0d543f7452da2803f6c4fbfe5f701b028251e2b3 (patch) | |
tree | 2834c740f1e45d2571824ce93331fe88ba339573 /drivers/extcon | |
parent | d3b46bb9776272391ba1ce049d0aadbb4d4934be (diff) |
extcon: Add EXTCON_USB_VBUS_EN for USB Type-C
Add the new extcon EXTCON_USB_VBUS_EN to enable
vbus output.
Change-Id: I83fb75b2a82ad617dc292967bb4917bbfbcb84cb
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index 519ac5c8bed1..f21ab75fdbab 100644 --- a/drivers/extcon/extcon.c +++ b/drivers/extcon/extcon.c @@ -61,6 +61,11 @@ struct __extcon_info { .id = EXTCON_USB_HOST, .name = "USB_HOST", }, + [EXTCON_USB_VBUS_EN] = { + .type = EXTCON_TYPE_USB, + .id = EXTCON_USB_VBUS_EN, + .name = "USB_VBUS_EN", + }, /* Charging external connector */ [EXTCON_CHG_USB_SDP] = { |