lkml.org 
[lkml]   [2017]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC 1/2] PM / suspend: Add platform_suspend_target_state()
    Hi!

    > > There still will be a concern regarding drivers that care about differences between
    > > PM_SUSPEND_MEM and PM_SUSPEND_STANDBY, because those differences are
    > > platform-dependent, but let's defer addressing this until we have a driver
    > > that needs to run on different platforms with different definitions for those
    > > things.
    > >
    >
    > We already have the case for drivers/net/ethernet/cadence/ and
    > drivers/net/can/m_can/ and many of the at91 drivers. Depending on the
    > specific SoC they run on, PM_SUSPEND_MEM may or may not cut VDDcore or
    > may or may not change the peripheral clock.

    Please please introduce will_vddcore_be_cut_down() or similar helper,
    so that we have one place to fix..

    Thanks,
    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2017-07-16 20:25    [W:3.835 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site