All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-arm] [PATCH 0/2] Add gpio_key and use it for ARM virt power button
@ 2016-03-17 13:25 ` Shannon Zhao
  0 siblings, 0 replies; 16+ messages in thread
From: Shannon Zhao @ 2016-03-17 13:25 UTC (permalink / raw)
  To: qemu-arm, peter.maydell, wei
  Cc: peter.huangpeng, zhaoshenglong, qemu-devel, shannon.zhao

From: Shannon Zhao <shannon.zhao@linaro.org>

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



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-04-06 19:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-17 13:25 [Qemu-arm] [PATCH 0/2] Add gpio_key and use it for ARM virt power button Shannon Zhao
2016-03-17 13:25 ` [Qemu-devel] " Shannon Zhao
2016-03-17 13:25 ` [Qemu-devel] [PATCH 1/2] hw/gpio: Add the emulation of gpio_key Shannon Zhao
2016-03-17 13:25   ` Shannon Zhao
2016-03-17 13:25 ` [Qemu-devel] [PATCH 2/2] ARM: Virt: Use gpio_key for power button Shannon Zhao
2016-03-17 13:25   ` Shannon Zhao
2016-03-23 16:12 ` [Qemu-arm] [PATCH 0/2] Add gpio_key and use it for ARM virt " Peter Maydell
2016-03-23 16:12   ` [Qemu-devel] " Peter Maydell
2016-03-23 17:14   ` [Qemu-arm] " Wei Huang
2016-03-23 17:14     ` [Qemu-devel] " Wei Huang
2016-03-24  0:58     ` [Qemu-arm] " Shannon Zhao
2016-03-24  0:58       ` [Qemu-devel] " Shannon Zhao
2016-04-06 17:50   ` Emilio G. Cota
2016-04-06 17:50     ` Emilio G. Cota
2016-04-06 19:27     ` [Qemu-arm] " Peter Maydell
2016-04-06 19:27       ` [Qemu-devel] " Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.