regulator: Add support for S2MPA01 regulator
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 14 Mar 2014 11:51:58 +0000 (17:21 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 18 Mar 2014 10:56:30 +0000 (10:56 +0000)
Add support for S2MPA01 voltage and current regulator.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/s2mpa01.c [new file with mode: 0644]

index 6a79328..8f8e671 100644 (file)
@@ -416,6 +416,13 @@ config REGULATOR_RC5T583
          through regulator interface. The device supports multiple DCDC/LDO
          outputs which can be controlled by i2c communication.
 
+config REGULATOR_S2MPA01
+       tristate "Samsung S2MPA01 voltage regulator"
+       depends on MFD_SEC_CORE
+       help
+        This driver controls Samsung S2MPA01 voltage output regulator
+        via I2C bus. S2MPA01 has 10 Bucks and 26 LDO outputs.
+
 config REGULATOR_S2MPS11
        tristate "Samsung S2MPS11 voltage regulator"
        depends on MFD_SEC_CORE
index 979f9dd..b3ece84 100644 (file)
@@ -57,6 +57,7 @@ obj-$(CONFIG_REGULATOR_TPS51632) += tps51632-regulator.o
 obj-$(CONFIG_REGULATOR_PCAP) += pcap-regulator.o
 obj-$(CONFIG_REGULATOR_PCF50633) += pcf50633-regulator.o
 obj-$(CONFIG_REGULATOR_RC5T583)  += rc5t583-regulator.o
+obj-$(CONFIG_REGULATOR_S2MPA01) += s2mpa01.o
 obj-$(CONFIG_REGULATOR_S2MPS11) += s2mps11.o
 obj-$(CONFIG_REGULATOR_S5M8767) += s5m8767.o
 obj-$(CONFIG_REGULATOR_STW481X_VMMC) += stw481x-vmmc.o
Simple merge