[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090615144434.GD4094@sortiz.org>
Date: Mon, 15 Jun 2009 16:44:36 +0200
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Mike Rapoport <mike@...pulab.co.il>,
eric miao <eric.y.miao@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd/da903x: initialize PMIC core early
On Mon, Jun 15, 2009 at 03:34:11PM +0100, Mark Brown wrote:
> On Mon, Jun 15, 2009 at 05:08:28PM +0300, Mike Rapoport wrote:
> > Samuel Ortiz wrote:
>
> > > Sure. Care to explain why this needs to be called earlier ?
>
> > We want to have da903x regulators available early during boot, and since they
> > are subdevices of mfd/da903x they cannot be enabled until the da903x core is
> > initialized.
> > I just saw Liam Girdwood pull request with "regulator: Move regulator drivers to
> > subsys_initcall()" commit and jumped in :)
>
> Any MFD core with regulators on it ought to be pulled forward to
> subsys_initcall(). Doing this makes it easier to get a sensible
> ordering during boot without having a song and dance in consumer
> drivers waiting for the regulators that supply them to instantiate.
Yep, I'm preparing a patch for that.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists