mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Liam Girdwood <lrg@ti.com>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] twl-regulator: Allow CONFIG_TWL4030_ALLOW_UNSUPPORTED to be requested.
Date: Wed, 25 Apr 2012 12:29:24 +1000	[thread overview]
Message-ID: <20120425122924.0f08f5dc@notabene.brown> (raw)

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


twl-regulator.c changes behaviour slightly depending on
  CONFIG_TWL4030_ALLOW_UNSUPPORTED
However that config option is not currently listed in any Kconfig
file.
So add the option to allow it to be chosen.

Signed-off-by: NeilBrown <neilb@suse.de>

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 36db5a4..1d24cac 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -338,6 +338,15 @@ config REGULATOR_TWL4030
 	  This driver supports the voltage regulators provided by
 	  this family of companion chips.
 
+config TWL4030_ALLOW_UNSUPPORTED
+	bool "Allow unsupported voltages on TI TWL4030/TWL5030/TWL6030/TPS659x0 PMIC"
+	depends on REGULATOR_TWL4030
+	help
+	  TWL4030 regulator can (possibly) supply voltages that are not
+	  explicitly supported by TI.  Set this option to allow those
+	  voltages to be requested.
+	  If unsure, say 'N'
+
 config REGULATOR_WM831X
 	tristate "Wolfson Microelectronics WM831x PMIC regulators"
 	depends on MFD_WM831X

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

             reply	other threads:[~2012-04-25  2:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25  2:29 NeilBrown [this message]
2012-04-25  8:24 ` Mark Brown
2012-04-25  9:59   ` NeilBrown
2012-04-25 10:12     ` Mark Brown
2012-04-25 10:50       ` NeilBrown
2012-04-26  9:28         ` Mark Brown

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=20120425122924.0f08f5dc@notabene.brown \
    --to=neilb@suse.de \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@ti.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

Powered by JetHome