aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2014-08-13 07:33:42 -0400
committerMark Brown <broonie@linaro.org>2014-08-16 17:58:15 -0400
commit87ca186f7eb663fc5e52b65452a91fe0fec170a0 (patch)
treecaeb09468cf072bd94f6a78e58c18f50e065e348 /drivers/regulator/Kconfig
parent871f565055ed232e5751da18a331b73e8254adaf (diff)
regulator: add driver for hi6421 voltage regulator
Add driver support for HiSilicon Hi6421 voltage regulators. Two rules for regulator enabling are defined in hi6421 spec: 1) Between disable and enable of each regulator (LDOs or BUCKs), there must be a protection gap. Use @off_on_delay of regulator core to implement this. 2) No two regulators can be enabled at the same time. Use mutex in hi6421_regulator_pdata to ensure this. A protection gap of 100us is added into each LDO/BUCK's .enable_time. Signed-off-by: Guodong Xu <guodong.xu@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 2dc8289e5dba..e6b98ed4c12f 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -240,6 +240,16 @@ config REGULATOR_GPIO
240 and the platform has to provide a mapping of GPIO-states 240 and the platform has to provide a mapping of GPIO-states
241 to target volts/amps. 241 to target volts/amps.
242 242
243config REGULATOR_HI6421
244 tristate "HiSilicon Hi6421 PMIC voltage regulator support"
245 depends on MFD_HI6421_PMIC && OF
246 help
247 This driver provides support for the voltage regulators on the
248 HiSilicon Hi6421 PMU / Codec IC.
249 Hi6421 is a multi-function device which, on regulator part, provides
250 21 general purpose LDOs, 3 dedicated LDOs, and 5 BUCKs. All
251 of them come with support to either ECO (idle) or sleep mode.
252
243config REGULATOR_ISL6271A 253config REGULATOR_ISL6271A
244 tristate "Intersil ISL6271A Power regulator" 254 tristate "Intersil ISL6271A Power regulator"
245 depends on I2C 255 depends on I2C