mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
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>
This commit is contained in:
parent
d3b46bb977
commit
0d543f7452
|
|
@ -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] = {
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
/* USB external connector */
|
||||
#define EXTCON_USB 1
|
||||
#define EXTCON_USB_HOST 2
|
||||
#define EXTCON_USB_VBUS_EN 3
|
||||
|
||||
/* Charging external connector */
|
||||
#define EXTCON_CHG_USB_SDP 5 /* Standard Downstream Port */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user