summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-04-14 11:17:20 +0200
committerChanho Park <chanho61.park@samsung.com>2014-08-08 15:25:44 +0900
commitca2659e6058a28d5296be8251ab45b0a5a449973 (patch)
tree3327c23628b9e45c3c15ea2be03a711a569149cd /include/linux
parent121ebb1e60fa2dfe1d0086a19b216378d58035bb (diff)
downloadlinux-3.10-ca2659e6058a28d5296be8251ab45b0a5a449973.tar.gz
linux-3.10-ca2659e6058a28d5296be8251ab45b0a5a449973.tar.bz2
linux-3.10-ca2659e6058a28d5296be8251ab45b0a5a449973.zip
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/max14577.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mfd/max14577.h b/include/linux/mfd/max14577.h
index 178384dcfed..ac20eb9d21d 100644
--- a/include/linux/mfd/max14577.h
+++ b/include/linux/mfd/max14577.h
@@ -35,7 +35,7 @@ enum max14577_regulators {
MAX14577_SAFEOUT = 0,
MAX14577_CHARGER,
- MAX14577_REG_NUM,
+ MAX14577_REGULATOR_NUM,
};
/* MAX77836 regulator IDs */
@@ -45,7 +45,7 @@ enum max77836_regulators {
MAX77836_LDO1,
MAX77836_LDO2,
- MAX77836_REG_NUM,
+ MAX77836_REGULATOR_NUM,
};
struct max14577_regulator_platform_data {