ARM: Virt: Add gpio-keys node for Poweroff using DT
commit3e6ebb64a392ebc712347413f1065300ed008a8f
authorShannon Zhao <shannon.zhao@linaro.org>
Thu, 17 Dec 2015 13:37:14 +0000 (17 13:37 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Dec 2015 13:37:14 +0000 (17 13:37 +0000)
tree333e1ca84938ee49b7546f0d1aafac38326dc790
parent4bedd8495b47edbeed8389b631b0ee42bb17e0ef
ARM: Virt: Add gpio-keys node for Poweroff using DT

Add a gpio-keys node. This is used for Poweroff for the systems which
use DT not ACPI.

Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Tested-by: Wei Huang <wei@redhat.com>
Message-id: 1449804086-3464-11-git-send-email-zhaoshenglong@huawei.com
[PMM: use "standard-headers/linux/input.h" rather than <linux/input.h>]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c