[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH 0/2] Add gpio_key and use it for ARM virt power button
From: |
Shannon Zhao |
Subject: |
[Qemu-arm] [PATCH 0/2] Add gpio_key and use it for ARM virt power button |
Date: |
Thu, 17 Mar 2016 21:25:38 +0800 |
From: Shannon Zhao <address@hidden>
There is a problem for power button that it will not work if an early
system_powerdown request happens before guest gpio driver loads.
Here we add the emulation of gpio_key and use it for ARM virt power
button.
Shannon Zhao (2):
hw/gpio: Add the emulation of gpio_key
ARM: Virt: Use gpio_key for power button
default-configs/arm-softmmu.mak | 1 +
hw/arm/virt.c | 7 ++-
hw/gpio/Makefile.objs | 1 +
hw/gpio/gpio_key.c | 100 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 107 insertions(+), 2 deletions(-)
create mode 100644 hw/gpio/gpio_key.c
--
2.0.4
- [Qemu-arm] [PATCH 0/2] Add gpio_key and use it for ARM virt power button,
Shannon Zhao <=