qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/3] Add Aspeed GPIO controller model
@ 2019-08-14  7:14 Rashmica Gupta
  2019-08-14  7:14 ` [Qemu-devel] [PATCH v4 1/3] hw/gpio: Add basic Aspeed GPIO model for AST2400 and AST2500 Rashmica Gupta
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Rashmica Gupta @ 2019-08-14  7:14 UTC (permalink / raw)
  To: peter.maydell, qemu-arm
  Cc: andrew, qemu-devel, aik, joel, Rashmica Gupta, clg

v4:
- proper interupt handling thanks to Andrew
- switch statements for reading and writing suggested by Peter
- some small cleanups suggested by Alexey

v3:
- didn't have each gpio set up as an irq 
- now can't access set AC on ast2400 (only exists on ast2500)
- added ast2600 implementation (patch 3)
- renamed a couple of variables for clarity

v2: Addressed Andrew's feedback, added debounce regs, renamed get/set to
read/write to minimise confusion with a 'set' of registers.

Rashmica Gupta (3):
  hw/gpio: Add basic Aspeed GPIO model for AST2400 and AST2500
  aspeed: add a GPIO controller to the SoC
  hw/gpio: Add in AST2600 specific implementation

 hw/arm/aspeed_soc.c           |   17 +
 hw/gpio/Makefile.objs         |    1 +
 hw/gpio/aspeed_gpio.c         | 1054 +++++++++++++++++++++++++++++++++
 include/hw/arm/aspeed_soc.h   |    3 +
 include/hw/gpio/aspeed_gpio.h |  107 ++++
 slirp                         |    2 +-
 6 files changed, 1183 insertions(+), 1 deletion(-)
 create mode 100644 hw/gpio/aspeed_gpio.c
 create mode 100644 include/hw/gpio/aspeed_gpio.h

-- 
2.20.1



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

end of thread, other threads:[~2019-08-16  1:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14  7:14 [Qemu-devel] [PATCH v4 0/3] Add Aspeed GPIO controller model Rashmica Gupta
2019-08-14  7:14 ` [Qemu-devel] [PATCH v4 1/3] hw/gpio: Add basic Aspeed GPIO model for AST2400 and AST2500 Rashmica Gupta
2019-08-14 12:27   ` Cédric Le Goater
2019-08-14  7:14 ` [Qemu-devel] [PATCH v4 2/3] aspeed: add a GPIO controller to the SoC Rashmica Gupta
2019-08-14 12:30   ` Cédric Le Goater
2019-08-14  7:14 ` [Qemu-devel] [PATCH v4 3/3] hw/gpio: Add in AST2600 specific implementation Rashmica Gupta
2019-08-14 12:37   ` Cédric Le Goater
2019-08-16  1:16     ` Rashmica Gupta
2019-08-14 13:47 ` [Qemu-devel] [PATCH v4 0/3] Add Aspeed GPIO controller model no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).