Re: [PATCH v2 1/2] usb: phy: Introduce one extcon device into usb phy

From: Felipe Balbi
Date: Tue Mar 28 2017 - 09:41:26 EST



Hi,

Baolin Wang <baolin.wang@xxxxxxxxxx> writes:
> Usually usb phy need register one extcon device to get the connection
> notifications. It will remove some duplicate code if the extcon device
> is registered using common code instead of each phy driver having its
> own related extcon APIs. So we add one pointer of extcon device into
> usb phy structure, and some other helper functions to register extcon.
>
> Suggested-by: NeilBrown <neilb@xxxxxxxx>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>

will this work with devices which have ID and VBUS from separate EXTCON
devices?

--
balbi