mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Doug Anderson <dianders@chromium.org>
Cc: Heiko Stuebner <heiko@sntech.de>,
	olof@lixom.net, Arnd Bergmann <arnd@arndb.de>,
	Addy Ke <addy.ke@rock-chips.com>,
	Sonny Rao <sonnyrao@chromium.org>,
	linux-arm-kernel@lists.infradead.org, lgirdwood@gmail.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] regulator: core: Add REGULATOR_EVENT_PRE_VOLTAGE_CHANGE (and ABORT)
Date: Fri, 29 Aug 2014 12:05:54 +0100	[thread overview]
Message-ID: <20140829110554.GN29327@sirena.org.uk> (raw)
In-Reply-To: <1409254565-10677-2-git-send-email-dianders@chromium.org>

[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]

On Thu, Aug 28, 2014 at 12:36:04PM -0700, Doug Anderson wrote:
> From: Heiko Stübner <heiko@sntech.de>
> 
> In some cases we need to know when a regulator is about to be changed.
> Add a way for clients to be notified.  Note that for set_voltage() we
> don't necessarily know what voltage we'll end up with, so we tell the
> client what the range will be so they can prepare.

Applied, thanks.  I've created a tag for this, feel free to pull it into
any other tree that wants to use the feature:

The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

  Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/voltage-ev

for you to fetch changes up to 7179569aeb52197fd2a9909ba226c4c9cc0e2e2a:

  regulator: core: Add REGULATOR_EVENT_PRE_VOLTAGE_CHANGE (and ABORT) (2014-08-29 11:58:31 +0100)

----------------------------------------------------------------
regulator: Add voltage event notifications

Allow users to synchronize before as well as after a volatge change.

----------------------------------------------------------------
Heiko Stübner (1):
      regulator: core: Add REGULATOR_EVENT_PRE_VOLTAGE_CHANGE (and ABORT)

 drivers/regulator/core.c           | 63 +++++++++++++++++++++++++++++++++-----
 include/linux/regulator/consumer.h | 20 ++++++++++++
 2 files changed, 76 insertions(+), 7 deletions(-)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-08-29 11:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 19:36 [PATCH 0/2] IO voltage domain support for rk3188 and rk3288 Doug Anderson
2014-08-28 19:36 ` [PATCH 1/2] regulator: core: Add REGULATOR_EVENT_PRE_VOLTAGE_CHANGE (and ABORT) Doug Anderson
2014-08-29 11:05   ` Mark Brown [this message]
2014-08-28 19:36 ` [PATCH 2/2] soc/rockchip: io-domain: add driver handling io domains Doug Anderson
2014-08-28 21:26 ` [PATCH 0/2] IO voltage domain support for rk3188 and rk3288 Santosh Shilimkar
2014-08-30  4:51   ` Doug Anderson
2014-08-30 11:27     ` Heiko Stübner
2014-09-04 16:51       ` Linus Walleij
2014-09-10 23:12         ` Kevin Hilman
  -- strict thread matches above, loose matches on Subject: below --
2014-08-28 19:19 Doug Anderson
2014-08-28 19:19 ` [PATCH 1/2] regulator: core: Add REGULATOR_EVENT_PRE_VOLTAGE_CHANGE (and ABORT) Doug Anderson

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=20140829110554.GN29327@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=addy.ke@rock-chips.com \
    --cc=arnd@arndb.de \
    --cc=dianders@chromium.org \
    --cc=heiko@sntech.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=sonnyrao@chromium.org \
    /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®