[PATCH] twl-regulator: Allow CONFIG_TWL4030_ALLOW_UNSUPPORTED to berequested.

From: NeilBrown
Date: Tue Apr 24 2012 - 22:29:48 EST



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@xxxxxxx>

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: signature.asc
Description: PGP signature