diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index e7a9561a826d..7b9ff1392deb 100644 --- a/drivers/extcon/extcon.c +++ b/drivers/extcon/extcon.c @@ -51,6 +51,11 @@ static const 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] = { diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 0c19010da77f..9c4ff7f7df29 100644 --- a/include/linux/extcon.h +++ b/include/linux/extcon.h @@ -37,6 +37,7 @@ /* USB external connector */ #define EXTCON_USB 1 #define EXTCON_USB_HOST 2 +#define EXTCON_USB_VBUS_EN 3 /* * Charging external connector