public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] twl-regulator: Allow CONFIG_TWL4030_ALLOW_UNSUPPORTED to be requested.
@ 2012-04-25  2:29 NeilBrown
  2012-04-25  8:24 ` Mark Brown
  0 siblings, 1 reply; 6+ messages in thread
From: NeilBrown @ 2012-04-25  2:29 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown; +Cc: linux-kernel

[-- 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 --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-26  9:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-25  2:29 [PATCH] twl-regulator: Allow CONFIG_TWL4030_ALLOW_UNSUPPORTED to be requested NeilBrown
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox