aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/axp20x-regulator.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-06-01regulator: axp20x: Use regulator_map_voltage_ascend for LDO4Axel Lin1-0/+1
The voltages in axp20x_ldo4_data table are in ascendant order, so use regulator_map_voltage_ascend. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2014-05-19regulator: AXP20x: fix wrong call to of_find_node_by_nameBoris BREZILLON1-1/+1
The of_find_node_by_name function will search for a DT node named "regulators" after the provided np node, but will not ensure that this node is a child of np. This might result in retrieving a "regulators" node that is not related to the axp20x PMIC. Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com> Acked-by: Carlo Caione <carlo@caione.org> Signed-off-by: Mark Brown <broonie@linaro.org>
2014-04-14regulator: AXP20x: Add support for regulators subsystemCarlo Caione1-0/+285
AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Signed-off-by: Carlo Caione <carlo@caione.org> Signed-off-by: Mark Brown <broonie@linaro.org>