path: root/plat/sun50iw1p1/
diff options
authorChristoph Muellner <>2017-02-24 11:48:23 +0100
committerChristoph Muellner <>2017-03-08 16:05:45 +0100
commit250c3cec2b7bd82ca4fff259204ed4d68847d730 (patch)
treecd049df75822196a56cba36129abc188fde92a96 /plat/sun50iw1p1/
parent4fbafc8575f5fef993538f66e12e02b431ae8c41 (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 <>
Diffstat (limited to 'plat/sun50iw1p1/')
0 files changed, 0 insertions, 0 deletions