summaryrefslogtreecommitdiff
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-01-24 17:25:10 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:43:10 -0800
commitdbbb7bee31f50dc8bb9e6510f71b9b20d893ea8b (patch)
treecf8c596f215cf2d7ecc4f4c0f876b2b6a661372f /drivers/regulator/Kconfig
parenta820c3aecc015d4ab27bd1a9792c2819c174a356 (diff)
regulator: Adding gpio switch based regulator
Supporting gpio switch based regulator so that client can use the power rail through the regulator framework even if the power rail partially controlled by gpio. Original-Change-Id: I8cd0141a337d4a38a1b10efb0b5dbb8e3ff98a12 Reviewed-on: http://git-master/r/16727 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Original-Change-Id: I15dedf9ab874037922186b97c5f9daa33dde0b5f Rebase-Id: Rca56ff58d510a37b71fb1497893cfe90d09931b2
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 94e7c7a1e3dc..ee55fa2ff8bf 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -332,5 +332,13 @@ config REGULATOR_TPS6591X
help
This driver supports TPS6591X voltage regulator chips.
+config REGULATOR_GPIO_SWITCH
+ bool "GPIO based enable/disable of power rails."
+ default n
+ help
+ This driver supports gpio based switch control of the power rails.
+ Say Yes if the given platform have the rail enable through the
+ gpios.
+
endif