regulator: max14577: Add support for MAX77836 regulators
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 14 Apr 2014 09:17:20 +0000 (11:17 +0200)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 06:17:54 +0000 (15:17 +0900)
commit3b6bfed9426f167e1a83880395930a5f96827592
tree18c894a45064beccef1db510d83c56ae2b3da169
parentd52ccb373aafc339ad420a8bd773226df532b1fd
regulator: max14577: Add support for MAX77836 regulators

Add support for MAX77836 chipset and its additional two LDO regulators.
These LDO regulators are controlled by the PMIC block with additional
regmap (different I2C slave address).

The MAX77836 charger and safeout regulators are almost identical to
MAX14577. The registers layout is the same, except values for charger's
current. The patch adds simple mapping between device type and supported
current by the charger regulator.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/regulator/Kconfig
drivers/regulator/max14577.c
include/linux/mfd/max14577.h