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

2021-10-24 Thread Andre Przywara
On Sun, 22 Aug 2021 18:18:06 -0500 Samuel Holland wrote: Hi Samuel, > 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

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

2021-08-22 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