Re: [PATCH v2 4/4] power: pmic: axp: Implement poweroff via sysreset

2021-10-25 Thread Andre Przywara
On Sun, 24 Oct 2021 21:00:10 -0500 Samuel Holland wrote: > 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 sysre

[PATCH v2 4/4] power: pmic: axp: Implement poweroff via sysreset

2021-10-24 Thread Samuel Holland
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 t