regulator: max14577: Add support for MAX77836 regulators
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 14 Apr 2014 09:17:20 +0000 (11:17 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Apr 2014 13:09:45 +0000 (14:09 +0100)
commit8a82b408acad29161c43072727151d373e68116a
tree8a60ebe3f77eb9b59ccd31f0a87f17b2f5a190b4
parent4706a5253bcc502a5889feb98392ea7b15dd936e
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-private.h
include/linux/mfd/max14577.h