power: pmic: axp: Implement poweroff via sysreset
[platform/kernel/u-boot.git] / drivers / power / pmic / Kconfig
index 92e2ace..b9fda42 100644 (file)
@@ -66,6 +66,8 @@ config PMIC_ACT8846
 config PMIC_AXP
        bool "Enable Driver Model for X-Powers AXP PMICs"
        depends on DM_I2C
+       select SYSRESET_CMD_POWEROFF if SYSRESET && CMD_POWEROFF
+       imply CMD_POWEROFF if SYSRESET
        help
          This config enables driver-model PMIC uclass features for
          X-Powers AXP152, AXP2xx, and AXP8xx PMICs.