Re: [RFC/PATCH 2/3] usb: gadget: introduce UDC Class

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

 



On Fri, May 13, 2011 at 01:56:44PM -0400, Alan Stern wrote:
> On Fri, 13 May 2011, Felipe Balbi wrote:
> 
> > this class will be used to abstract away
> > several of the duplicated operations scatered
> > among the USB gadget controller drivers.
> > 
> > Later, we can add an atomic notifer to tell
> > interested drivers about what's happening
> > with the controller. Notifications such as
> > suspend, resume, enumerated, etc will be
> > useful, at a minimum, for implementing
> > usb charger detection.
> 
> One thing I would really like to see is a pollable attribute file 
> containing the controller's current state.  Lots of users have asked 
> for something like this over the years.

you mean the several OTG_STATE_* ? That should be coming from
transceiver and we need also a PHY layer since USB3 peripherals will
have at least two transceivers (one for USB2.0 and one for USB3.0)

-- 
balbi

Attachment: signature.asc
Description: Digital 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