regulator: Adding gpio switch based regulator
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 24 Jan 2011 11:55:10 +0000 (16:55 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:43:10 +0000 (21:43 -0800)
commitdbbb7bee31f50dc8bb9e6510f71b9b20d893ea8b
treecf8c596f215cf2d7ecc4f4c0f876b2b6a661372f
parenta820c3aecc015d4ab27bd1a9792c2819c174a356
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
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/gpio-switch-regulator.c [new file with mode: 0755]
include/linux/gpio-switch-regulator.h [new file with mode: 0755]