Re: [PATCH v2 1/2] usb: phy: Introduce one extcon device into usb phy
From: Baolin Wang
Date: Wed Mar 29 2017 - 22:56:13 EST
Hi,
On 28 March 2017 at 21:40, Felipe Balbi <balbi@xxxxxxxxxx> wrote:
>
> 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?
Ah, It can not work for separate EXTCON devices, now I realized some
devices have separate EXTCON devices. Thanks for pointing this.
--
Baolin.wang
Best Regards