Thread (3 messages) flat view 3 messages, 2 authors, 2013-08-09

Proposal: I2C device power (Was: hwmon: (lm90) Add power control)

From: broonie@kernel.org (Mark Brown)
Date: 2013-08-09 11:09:44
Also in: linux-tegra, lkml

On Fri, Aug 09, 2013 at 02:50:11PM +0400, Alexander Shiyan wrote:
quoted
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130809/cc925490/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help