Skip to contentSkip to conversation

configs: e850-96: Enable poweroff command

PATCH New Sam Protsenko 1 participant 1 message Oct 15

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: e850-96: Enable poweroff command

Now that 'poweroff' node is available in exynos850.dtsi, 'poweroff' command can be enabled. Although it only turns the SoC off, it still can be useful for testing purposes and experiments with power consumption. The corresponding Linux kernel commit [1] mentions that overall board current consumption goes from ~60 mA down to few mA after issuing poweroff command.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=47d4dc90181c8ffa9ebcbd058e312873a46aeaca

---
 configs/e850-96_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/e850-96_defconfig +2 -0
index 8f9659ce050c..0c7e66f12bf0 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_CLK=y
 CONFIG_CMD_DFU=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_POWEROFF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_EFIDEBUG=y
@@ -62,6 +63,7 @@ CONFIG_SOC_SAMSUNG=y
 CONFIG_EXYNOS_PMU=y
 CONFIG_EXYNOS_USI=y
 CONFIG_SYSRESET=y
+CONFIG_SYSRESET_CMD_POWEROFF=y
 CONFIG_SYSRESET_SYSCON=y
 CONFIG_USB=y
 CONFIG_DM_USB_GADGET=y

base-commit: 65a7532545336e4b73e049a69436e255da7df961
prerequisite-patch-id: 5647f11cf16e2b7c4f705be54a74aaf4b8a2b74e

Signature · 1 line
2.47.3