summaryrefslogtreecommitdiff
path: root/drivers/ddr
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-10-24 21:00:10 -0500
committerAndre Przywara <andre.przywara@arm.com>2021-10-25 14:51:03 +0100
commit95d9ffd7b678414cc79365c8d2be0d12c326a7ad (patch)
tree221402462b6719441d6aa190d0fab404999b5481 /drivers/ddr
parent830e161eb4e9dbd3e9eb20ad6a3255eb8b4ed3c4 (diff)
power: pmic: axp: Implement poweroff via sysreset
The AXP PMICs have the ability to power off the system. The existing code for this is duplicated for each PMIC variant, and uses the legacy non-DM "pmic_bus" interface. When SYSRESET is enabled, this can all be replaced with a sysreset device using the DM_PMIC interface. Since the trigger bit is the same on all PMIC variants, use the register definitions from the oldest supported PMIC. 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/ddr')
0 files changed, 0 insertions, 0 deletions