diff options
author | Samuel Holland <samuel@sholland.org> | 2021-10-08 00:17:23 -0500 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-10-12 10:48:37 +0100 |
commit | 8b0eacdf2b0d472d991c3af4a236ad02759fc59e (patch) | |
tree | 39dcfcfc198e03ebffa2fb62e586c149ec2c8621 /drivers/video | |
parent | d3b02987cb6126650ff5077ccaba1e4e1ba76d6c (diff) | |
download | u-boot-8b0eacdf2b0d472d991c3af4a236ad02759fc59e.tar.gz |
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 'drivers/video')
0 files changed, 0 insertions, 0 deletions