diff options
author | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2017-02-24 11:48:23 +0100 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2017-03-08 16:05:45 +0100 |
commit | 250c3cec2b7bd82ca4fff259204ed4d68847d730 (patch) | |
tree | cd049df75822196a56cba36129abc188fde92a96 /include | |
parent | 4fbafc8575f5fef993538f66e12e02b431ae8c41 (diff) |
sun50iw1p1: Rewrite PMIC driver.
The existing API to interact with the PMIC (AXP803) offers
low-level calls to read and write PMIC registers.
This patch adds two high-level APIs:
* regulator-level API
* task-level API
The regulator-level API allows to enable, disable, and set
the voltage level of regulators. The regulators are named by IDs
in the form of AXP803_<regulator> (e.g. AXP803_DCDC2).
The task-level API allows to perform a batch of regulator-level
calls. Using this API allows to keep many invokations of the
regulator-level API compact.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions