ppc: qemu: Enable support for power off via GPIO
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:53 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:43 +0000 (10:25 +0530)
commit037b17d29c2fa4d143ff129a43ffb131cce19674
tree16e3c59323c9057ff5f9ef9ec9bcce0979de897c
parent5f1a08b6ab1c3923735edb676a4de87df4bb96f7
ppc: qemu: Enable support for power off via GPIO

The QEMU ppce500 target provides the power off functionality via
the GPIO pin#0, and we can support this using the sysreset gpio
poweroff driver. Let's enable it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
configs/qemu-ppce500_defconfig