summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-10-08 08:17:23 +0300
committerAndre Przywara <andre.przywara@arm.com>2021-10-12 12:48:37 +0300
commit8b0eacdf2b0d472d991c3af4a236ad02759fc59e (patch)
tree39dcfcfc198e03ebffa2fb62e586c149ec2c8621 /include
parentd3b02987cb6126650ff5077ccaba1e4e1ba76d6c (diff)
downloadu-boot-8b0eacdf2b0d472d991c3af4a236ad02759fc59e.tar.xz
sunxi: pmic_bus: Use the DM PMIC interface when possible
The pmic_bus functions are used in both SPL (for regulator setup) and U-Boot proper (for regulator setup, SID access, GPIO, and poweroff). Currently, pmic_bus conflicts with DM_I2C because it uses the legacy I2C interface. This commit makes pmic_bus dual-compatible with either the legacy I2C functions or the newly-added PMIC_AXP driver (which uses DM_I2C). In turn, this allows platforms to start transitioning to DM_I2C in U-Boot proper, without breaking boards that still depend on the legacy I2C interface for other reasons. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions