summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/act8846.c
AgeCommit message (Collapse)Author
2016-08-12power: regulator: act8846: fix reading valuesJohn Keeping
The voltage and control registers need to be looked up from the value in driver_data. Adjust the get_value and get_enable functions to match the corresponding set_* functions. Signed-off-by: John Keeping <john@metanate.com> Acked-by: Simon Glass <sjg@chromium.org>
2015-09-03power: regulator: Add a driver for ACT8846 regulatorsSimon Glass
Add a full regulator driver for the ACT8846. This provides easy access to voltage and current settings for each regulator. Signed-off-by: Simon Glass <sjg@chromium.org>