[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130809110931.GX6427@sirena.org.uk>
Date: Fri, 9 Aug 2013 12:09:31 +0100
From: Mark Brown <broonie@...nel.org>
To: Alexander Shiyan <shc_work@...l.ru>
Cc: Wei Ni <wni@...dia.com>, swarren@...dotorg.org,
linux-kernel@...r.kernel.org, lm-sensors@...sensors.org,
linux-tegra@...r.kernel.org, MLongnecker@...dia.com,
linux-arm-kernel@...ts.infradead.org, khali@...ux-fr.org,
Guenter Roeck <linux@...ck-us.net>
Subject: Re: Proposal: I2C device power (Was: hwmon: (lm90) Add power control)
On Fri, Aug 09, 2013 at 02:50:11PM +0400, Alexander Shiyan wrote:
> > This would need to be an array of supplies, relatively few devices need
> > only a single power supply. This is also not something that should be
> > handled in I2C, power is not something that's uniquely needed by devices
> > on an I2C bus.
> Additional regulators can be handled in the driver, or "parent"-scheme can
> be used. Is not it?
Given how common it is to have multiple supplies it seems sensible to
just handle that in the core - it's common to have a digital supply and
an analogue supply for example. The regulator framework already has
APIs for working with multiple regulators in a single call so it's not
going to be much more effort on the framework side.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists