summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ltc3589.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: ltc3589: fix broken voltage transitionsSteffen Trumtrar2014-09-261-0/+1
| | | | | | | | | | | | | | | VCCR is used as a trigger to start voltage transitions, so we need to mark it volatile in order to make sure it gets written to hardware every time we set a new voltage. Fixes regulator voltage being stuck at the first voltage set after driver load. [lst: reworded commit message] Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
*-. Merge remote-tracking branches 'regulator/topic/lp8755', ↵Mark Brown2014-08-051-1/+1
|\ \ | | | | | | | | | 'regulator/topic/ltc3589', 'regulator/topic/max8952', 'regulator/topic/mc13xxx' and 'regulator/topic/palmas' into regulator-next
| | * regulator: ltc3589: Staticize ltc3589_reg_defaultsSachin Kamat2014-06-211-1/+1
| |/ | | | | | | | | | | | | 'ltc3589_reg_defaults' is local to this file. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* | regulator: ltc3589: Use of_get_child_by_nameAxel Lin2014-06-161-1/+1
|/ | | | | | | | of_find_node_by_name() walks the allnodes list, and can thus walk outside of the parent node. Use of_get_child_by_name() instead. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* regulator: ltc3589: Remove ltc3589_list_voltage_fixed functionAxel Lin2014-05-271-13/+2
| | | | | | | | | | | | When fixed_uV is set and n_voltage is 1, regulator core will return rdev->desc->fixed_uV in regulator_get_voltage() and regulator_list_voltage(). Rename ltc3589_standby_regulator_ops to ltc3589_fixed_standby_regulator_ops, this makes the code clear that the ops is for fixed voltage regulator. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org>
* regulator: Add LTC3589 supportPhilipp Zabel2014-05-261-0/+565
This patch adds support for the Linear Technology LTC3589, LTC3589-1, and LTC3589-2 8-output I2C voltage regulator ICs. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org>
OpenPOWER on IntegriCloud