lkml.org 
[lkml]   [2014]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode
    On Tue, Nov 25, 2014 at 07:06:18AM +0000, Peter Chen wrote:
    >
    > >
    > > usb: phy: hold wakeupsource when USB is enumerated in peripheral mode
    > >
    > > Some systems require a mechanism to prevent system to enter into suspend
    > > state when USB is connected and enumerated in peripheral mode.
    > >
    > > This patch provides an interface to hold a wakeupsource to prevent suspend.
    > > PHY drivers can use this interface when USB is connected and enumerated in
    > > peripheral mode.
    > >
    > > A timed wakeupsource is temporarily held on USB disconnect events, to allow
    > > the rest of the system to react to the USB disconnection (dropping host
    > > sessions, updating charger status, etc.) prior to re-allowing suspend.
    > >
    >
    > Hi Kiran & Felipe,
    >
    > Just two questions for this series
    >
    > - Will it be the default behavior for all peripheral drivers?
    > - If the peripheral driver's PHY driver does not vbus event, how to
    > support it?
    > For example, chipidea udc driver has its vbus interface at its
    > controller register.

    hmm, good point. Since it's so late, I'll just go ahead and drop
    $subject from v3.20. Let's delay only $subject to v3.20 merge window so
    we have some more time to discuss these details.

    cheers

    --
    balbi
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2014-11-25 16:21    [W:2.634 / U:1.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site