power: Split *POWER_LEGACY portion of <power/pmic.h> out to new header
authorTom Rini <trini@konsulko.com>
Fri, 4 Jul 2025 21:50:21 +0000 (15:50 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 31 Aug 2025 15:32:17 +0000 (09:32 -0600)
commit9d875d674ff830a6036153a4c390c75267e775b6
tree629b6b1e053355fd5618ae1b5e768505f0213ad3
parent31a309ff3eca5a9bb4fa8228d5270d792e7e0522
power: Split *POWER_LEGACY portion of <power/pmic.h> out to new header

The commends in include/power/pmic.h say that once SPL_DM_PMIC exists we
should update things. This has been true for some time, so let us update
this to have the legacy portions in their own header, which should not
be directly included. This cleans up the logic within the file too
slightly.

Signed-off-by: Tom Rini <trini@konsulko.com>
include/power/pmic.h
include/power/pmic_legacy.h [new file with mode: 0644]