Re: [RFC] usb: phy: generic: get rid of VBUS handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Robert Jarzmik <robert.jarzmik@xxxxxxx> writes:
>>>  - amend the drivers (for my part I have pxa27x_udc.c and probably pxa25x_udc.c)
>>>  to subscribe to the notifier, and in the action function call either
>>>  usb_gadget_vbus_connect() or usb_gadget_vbus_disconnect().
>>>
>>> Would that kind of approach solve the layering issue, what do you think ?
>>
>> I like second option of having PHY simply sending the notification and
>> relying on UDC to actually call usb_gadget_vbus_*().
>>
>> I could write the patches, but I wouldn't have any means to test them
>> :-s
>>
>> Let me know if you prefer to write them yourself or want me to give it a
>> shot.
> Hi Felipe,
>
> I'll write the 3 patches and test them, as it's easier when you have the proper
> hardware :
>  - one for pxa27x_udc.c
>  - one for pxa25x_udc.c
>  - one for phy-generic.c
>
> I don't know if there are other users than pxa, I'll make the assumption there
> aren't.

yeah, we can keep patches in linux-next for as long as possible. If
nobody complains, we're good.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux