From: "Alexander Shiyan" <shc_work@mail.ru>
To: "Mark Brown" <broonie@kernel.org>
Cc: "Wei Ni" <wni@nvidia.com>,
swarren@wwwdotorg.org, linux-kernel@vger.kernel.org,
lm-sensors@lm-sensors.org, linux-tegra@vger.kernel.org,
MLongnecker@nvidia.com, linux-arm-kernel@lists.infradead.org,
khali@linux-fr.org, "Guenter Roeck" <linux@roeck-us.net>
Subject: Re: Proposal: I2C device power (Was: hwmon: (lm90) Add power control)
Date: Fri, 09 Aug 2013 14:50:11 +0400 [thread overview]
Message-ID: <1376045411.585130456@f141.i.mail.ru> (raw)
In-Reply-To: <20130809102757.GT6427@sirena.org.uk>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 903 bytes --]
> On Fri, Aug 09, 2013 at 09:57:00AM +0400, Alexander Shiyan wrote:
>
> > Instead of adding the support of regulators in each device, let's think about
> > whether it is possible to create a global regulator for any device on the I2C bus.
>
> > I see it like this:
> > We add an extra field in the i2c_board_info structure "power_name" and handle
> > it in the i2c_device_{probe/remove} functions.
>
> 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?
---
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2013-08-09 10:51 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-08 6:56 [PATCH v2 0/3] Add power control for lm90 Wei Ni
2013-08-08 6:56 ` [PATCH v2 1/3] hwmon: (lm90) Add power control Wei Ni
2013-08-08 7:13 ` Alexander Shiyan
2013-08-08 9:26 ` Wei Ni
2013-08-08 8:42 ` Guenter Roeck
2013-08-08 9:47 ` Wei Ni
2013-08-08 9:57 ` Alexander Shiyan
2013-08-08 9:59 ` Wei Ni
2013-08-08 10:07 ` Wei Ni
2013-08-08 11:23 ` Guenter Roeck
2013-08-08 17:33 ` Stephen Warren
2013-08-08 17:59 ` Guenter Roeck
2013-08-08 18:45 ` Stephen Warren
2013-08-08 17:30 ` Stephen Warren
2013-08-08 17:59 ` Guenter Roeck
2013-08-08 19:27 ` Mark Brown
2013-08-08 11:01 ` Mark Brown
2013-08-08 11:25 ` Guenter Roeck
2013-08-08 13:08 ` Mark Brown
2013-08-08 15:21 ` Guenter Roeck
2013-08-08 17:15 ` Mark Brown
2013-08-08 20:00 ` Guenter Roeck
2013-08-08 21:18 ` Mark Brown
2013-08-08 21:30 ` Guenter Roeck
2013-08-09 5:57 ` Proposal: I2C device power (Was: hwmon: (lm90) Add power control) Alexander Shiyan
2013-08-09 10:27 ` Mark Brown
2013-08-09 10:50 ` Alexander Shiyan [this message]
2013-08-09 11:09 ` Mark Brown
2013-08-09 7:23 ` [PATCH v2 1/3] hwmon: (lm90) Add power control Wei Ni
2013-08-09 10:56 ` Mark Brown
2013-08-08 6:56 ` [PATCH v2 2/3] ARM: dt: t114 dalmore: add dt entry for nct1008 Wei Ni
2013-08-08 17:35 ` Stephen Warren
2013-08-09 6:06 ` Wei Ni
2013-08-08 20:36 ` Sergei Shtylyov
2013-08-08 20:40 ` Stephen Warren
2013-08-08 21:33 ` Guenter Roeck
2013-08-09 6:16 ` Wei Ni
2013-08-08 6:56 ` [PATCH v2 3/3] Documentation: dt: hwmon: add OF document for lm90 Wei Ni
2013-08-08 17:37 ` Stephen Warren
2013-08-09 6:10 ` Wei Ni
2013-08-09 16:35 ` Stephen Warren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1376045411.585130456@f141.i.mail.ru \
--to=shc_work@mail.ru \
--cc=MLongnecker@nvidia.com \
--cc=broonie@kernel.org \
--cc=khali@linux-fr.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lm-sensors@lm-sensors.org \
--cc=swarren@wwwdotorg.org \
--cc=wni@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®