regulator: max14577: Add regulator driver for Maxim 14577
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 6 Dec 2013 11:32:13 +0000 (12:32 +0100)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 06:17:53 +0000 (15:17 +0900)
commit93e6c269648d267de13656165f887b9773150162
tree21307e2d069d085dc9269040dfde8f9ca2b0a418
parentf88da84d301ec8150ddaf5a17736fd8e1cc23e7c
regulator: max14577: Add regulator driver for Maxim 14577

MAX14577 chip is a multi-function device which includes MUIC,
charger and voltage regulator. The driver is located in drivers/mfd.

This patch adds regulator driver for MAX14577 chip. There are two
regulators in this chip:
1. Safeout LDO with constant voltage output of 4.9V. It can be only
   enabled or disabled.
2. Current regulator for the charger. It provides current from 90mA up
   to 950mA.
Driver supports Device Tree.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/max14577.c [new file with mode: 0644]