From: Sam Day <[email protected]>

With the newly introduced PM8916 PON driver and support in PSHOLD
driver, the poweroff command now works on MSM8916 devices.

This should also work on any more recent qcom SoC with a functional PSCI
implementation in TZ. I confirmed that is the case on my google-sargo
and oneplus-fajita, at least.

Signed-off-by: Sam Day <[email protected]>
---
 configs/qcom_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index c5649b9b746..c7bc6829014 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -38,6 +38,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_POWEROFF=y
 CONFIG_CMD_UFS=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
@@ -135,6 +136,7 @@ CONFIG_SPMI_MSM=y
 CONFIG_SYSINFO=y
 CONFIG_SYSINFO_SMBIOS=y
 CONFIG_SYSRESET_CMD_RESET_ARGS=y
+CONFIG_SYSRESET_CMD_POWEROFF=y
 CONFIG_SYSRESET_QCOM_PSCI=y
 CONFIG_SYSRESET_QCOM_PSHOLD=y
 CONFIG_USB=y

-- 
2.54.0


Reply via email to