lkml.org 
[lkml]   [2012]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] regulator: core: Keep boot_on regulators powered during init
    On Wed, Apr 25, 2012 at 11:37:36AM +0200, Ulf Hansson wrote:

    > Maybe you have convinced me now :-) I will therefore start thinking
    > of a patch on the mmc framework instead. I will include you if/when
    > I send out the patch to the mmc-list, just for reference if that is
    > ok with you?

    Yes, please - there've been some issues with the way regulators are used
    in MMC for a while. There's definitely some stuff that needs to be
    worked through here.

    I've also added Jassi who it just occurred to me was talking about some
    vaugley similar stuff relatively recently (though I'm not sure it was
    MMC). Jassi, the issue here is working out if an MMC device is powered
    at boot so we can skip probing then shutting it down cleanly.

    > Some final thoughts (please comment if you like):
    > We already have the boot_on constraint, which to me is similar to
    > what a new kind of "boot keep state" constraint would be. I think it
    > would be no more odd than what boot_on already is. Maybe not a good
    > argument, but still..

    Yeah, the main use case for boot_on is to support things like automatic
    enumeration of devices - for buses where we can enumerate devices when
    they're plugged in we normally don't explicitly register them so if we
    boot with the regulator disabled we need some way of allowing the device
    to appear on the bus. Don't know that that actually gets much use
    though. It is also used by regulators which for some reason can't
    figure out their initial state, there's a few examples of that in
    mainline.
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2012-04-25 12:05    [W:3.752 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site