summaryrefslogtreecommitdiff
path: root/drivers/power/pmic/rk808.c
Commit message (Collapse)AuthorAgeFilesLines
* dm: power: Tidy up debugging output and return valuesSimon Glass2016-01-211-4/+10
| | | | | | | | The currect PMIC debugging is a little confusing. Adjust it so that it is clear whether the operation succeeded or failed. Also, avoid creating a new error return value when a perfectly good one is already available. Signed-off-by: Simon Glass <sjg@chromium.org>
* power: Add base support for the RK808 PMICSimon Glass2016-01-211-0/+96
This Rockchip PMIC provides features suitable for battery-powered applications. It is commonly used with Rockchip SoCs. Add a driver which provides register access. The regulator driver will use this. Signed-off-by: Simon Glass <sjg@chromium.org>