]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk356x: Enable poweroff command
authorJonas Karlman <jonas@kwiboo.se>
Thu, 17 Aug 2023 05:45:04 +0000 (05:45 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 7 Oct 2023 08:50:15 +0000 (16:50 +0800)
commit7ecc90f1fd6557d6fc2a5d00e6c314de232eaaf1
tree99136ff26064e6ebf8f3cb1e075363d303043804
parentc12e3a83f16f4965c4fbbbb120d53be5e487e2ef
rockchip: rk356x: Enable poweroff command

With PMIC_RK8XX, SYSRESET and CMD_POWEROFF options enabled it is
possible to power down a board using the poweroff command and turn the
board back on using a power button.

Enable the poweroff command on RK356x boards that have a button wired
to PMIC pwron.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/quartz64-a-rk3566_defconfig
configs/quartz64-b-rk3566_defconfig
configs/rock-3a-rk3568_defconfig
configs/soquartz-model-a-rk3566_defconfig