From: Rashmica Gupta <rashmica.g@gmail.com>
To: peter.maydell@linaro.org, qemu-arm@nongnu.org
Cc: andrew@aj.id.au, qemu-devel@nongnu.org, aik@ozlabs.ru,
joel@jms.id.au, Rashmica Gupta <rashmica.g@gmail.com>,
clg@kaod.org
Subject: [Qemu-devel] [PATCH v6 0/3] Add Aspeed GPIO controller model
Date: Tue, 27 Aug 2019 14:01:11 +1000 [thread overview]
Message-ID: <20190827040114.23390-1-rashmica.g@gmail.com> (raw)
v6:
- fixed bug in get/set pin
- added error checking that Cédric suggested
v5:
- integrated AspeedGPIOController fields into AspeedGPIOClass
- separated ast2600_3_6v and ast2600_1_8v into two classes
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
include/hw/arm/aspeed_soc.h | 3 +
include/hw/gpio/aspeed_gpio.h | 100 ++++
hw/arm/aspeed_soc.c | 17 +
hw/gpio/aspeed_gpio.c | 1014 +++++++++++++++++++++++++++++++++
hw/gpio/Makefile.objs | 1 +
5 files changed, 1135 insertions(+)
create mode 100644 include/hw/gpio/aspeed_gpio.h
create mode 100644 hw/gpio/aspeed_gpio.c
--
2.20.1
next reply other threads:[~2019-08-27 4:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-27 4:01 Rashmica Gupta [this message]
2019-08-27 4:01 ` [Qemu-devel] [PATCH v6 1/3] hw/gpio: Add basic Aspeed GPIO model for AST2400 and AST2500 Rashmica Gupta
2019-08-27 4:01 ` [Qemu-devel] [PATCH v6 2/3] aspeed: add a GPIO controller to the SoC Rashmica Gupta
2019-08-27 4:01 ` [Qemu-devel] [PATCH v6 3/3] hw/gpio: Add in AST2600 specific implementation Rashmica Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190827040114.23390-1-rashmica.g@gmail.com \
--to=rashmica.g@gmail.com \
--cc=aik@ozlabs.ru \
--cc=andrew@aj.id.au \
--cc=clg@kaod.org \
--cc=joel@jms.id.au \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).