Skip to content

hw/gpio Add ASPEED GPIO model for AST1030

Jamin Lin qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v11 patch 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/gpio Add GPIO read/write trace event.hw/gpio/aspeed_gpio.c hw/gpio/trace-events+44 -150 replies
2/4hw/gpio: Add ASPEED GPIO model for AST1030hw/arm/aspeed_ast10x0.c hw/gpio/aspeed_gpio.c+38 -01 reply
3/4hw/gpio support GPIO index mode for write operation.hw/gpio/aspeed_gpio.c include/hw/gpio/aspeed_gpio.h+182 -01 reply
4/4hw/gpio: replace HWADDR_PRIx with PRIx64hw/gpio/aspeed_gpio.c include/hw/gpio/aspeed_gpio.h+5 -51 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchCédric Le Goater
1/4
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] hw/gpio Add ASPEED GPIO model for AST1030

-v2 changes

Create separate patches to support the following features

1. Add GPIO read/write trace event.
2. Support GPIO index mode for write operation.
It did not support GPIO index mode for read operation.
3. AST1030 integrates one set of Parallel GPIO Controller with maximum 151 control pins, which are 21 groups (A~U, exclude pin: M6 M7 Q5 Q6 Q7 R0 R1 R4 R5 R6 R7 S0 S3 S4 S5 S6 S7 ) and the group T and U are input only.
4. replace HWADDR_PRIx with PRIx64

Jamin Lin (4):
hw/gpio Add GPIO read/write trace event. hw/gpio: Add ASPEED GPIO model for AST1030 hw/gpio support GPIO index mode for write operation. hw/gpio: replace HWADDR_PRIx with PRIx64

 hw/arm/aspeed_ast10x0.c       |  11 ++
 hw/gpio/aspeed_gpio.c         | 257 +++++++++++++++++++++++++++++++---
 hw/gpio/trace-events          |   5 +
 include/hw/gpio/aspeed_gpio.h |  16 ++-
 4 files changed, 269 insertions(+), 20 deletions(-)
Signature · 1 line
2.17.1