RE: [PATCH v4 8/8] Documentation: usb: chipidea: Update test procedure for HNP polling

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

 



 
 
> > > >
> > > >  4) A-device switch back to host.
> > > > -   On B-device:
> > > > +   on B-device:
> > > >     echo 0 > /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req
> > > >
> > > > +   or, by introducing HNP polling, B-Host can know when A-peripheral
> wish to be
> > > > +   host role, so this role switch also can be trigged in A-peripheral side by
> > > > +   answering the polling from B-Host, this can be done on A-device:
> > > > +   echo 1 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
> > >
> > > why is this still chipidea specific ? Why isn't this part on
> > > udc-core so that all OTG UDCs can support this too ?
> > >
> >
> > Currently, hnp polling is enabled during the otg fsm handling, but
> > there is no otg framework (like udc core, Roger Quadros is doing
> > that), so no common sys entry for otg fsm variables to control otg fsm.
> 
> then we wait for whatever Roger's doing, otherwise this will be another ABI to
> support forever.

This ABI has already existed, see
Documentation/ABI/testing/sysfs-platform-chipidea-usb-otg

We will move more OTG FSM features into otg framework in future,  but it does
not conflict we enhance OTG FSM now.

Peter 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux