regulator: regulator for Palmas Kconfig
Mallikarjun Kasoju [Wed, 1 Aug 2012 06:54:32 +0000 (11:54 +0530)]
Add the Kconfig/Makefile stuff for the palmas regulator driver

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 4c5dabce4ee9412b320a83ab98850aa5834451bc)

Conflicts:

drivers/regulator/Kconfig

Change-Id: Ia1ccf846205c163fb1d183eac127db662b1c8bc3
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/120063
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

drivers/regulator/Kconfig
drivers/regulator/Makefile

index 50371fc..dd0283e 100644 (file)
@@ -342,6 +342,18 @@ config REGULATOR_RC5T583
          through regulator interface. The device supports multiple DCDC/LDO
          outputs which can be controlled by i2c communication.
 
+config REGULATOR_PALMAS
+       tristate "TI Palmas PMIC Regulators"
+       depends on MFD_PALMAS
+       help
+         If you wish to control the regulators on the Palmas series of
+         chips say Y here. This will enable support for all the software
+         controllable SMPS/LDO regulators.
+
+         The regulators available on Palmas series chips vary depending
+         on the muxing. This is handled automatically in the driver by
+         reading the mux info from OTP.
+
 config REGULATOR_TPS6105X
        tristate "TI TPS6105X Power regulators"
        depends on TPS6105X
index fc055d7..79ac38c 100644 (file)
@@ -49,6 +49,7 @@ obj-$(CONFIG_REGULATOR_PCAP) += pcap-regulator.o
 obj-$(CONFIG_REGULATOR_MC13783) += mc13783-regulator.o
 obj-$(CONFIG_REGULATOR_MC13892) += mc13892-regulator.o
 obj-$(CONFIG_REGULATOR_MC13XXX_CORE) +=  mc13xxx-regulator-core.o
+obj-$(CONFIG_REGULATOR_PALMAS) += palmas-regulator.o
 obj-$(CONFIG_REGULATOR_PCAP) += pcap-regulator.o
 obj-$(CONFIG_REGULATOR_PCF50633) += pcf50633-regulator.o
 obj-$(CONFIG_REGULATOR_S5M8767) += s5m8767.o