[PATCH v1 00/10] hw/arm: Add AST1040 peripheral support

Jamin Lin posted 10 patches 1 day, 10 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260529064243.2064188-1-jamin._5Flin@aspeedtech.com
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Steven Lee <steven_lee@aspeedtech.com>, Troy Lee <leetroy@gmail.com>, Jamin Lin <jamin_lin@aspeedtech.com>, Kane Chen <kane_chen@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>
include/hw/i2c/aspeed_i2c.h |   8 ++-
hw/arm/aspeed_ast1040.c     | 105 +++++++++++++++++++++++++++++++-----
hw/arm/aspeed_ast1040_evb.c |  18 +++++++
hw/i2c/aspeed_i2c.c         |  89 ++++++++++++++++++++----------
4 files changed, 175 insertions(+), 45 deletions(-)
[PATCH v1 00/10] hw/arm: Add AST1040 peripheral support
Posted by Jamin Lin 1 day, 10 hours ago
This series extends the AST1040 SoC model by adding support for several
peripherals that are compatible with existing AST2700 controller models.

The AST1040 shares a number of peripheral IP blocks with the AST2700,
allowing the existing QEMU models to be reused with minimal changes.
This series adds support for ADC, PECI, GPIO, SGPIO, I2C, and watchdog
controllers, and updates the AST1040 EVB machine to instantiate onboard
I2C devices for validation.

For I2C support, a new AST1040 I2C type is introduced. The model
inherits the AST2700 I2C architecture, including DMA support and
64-bit DMA address registers, while constraining DMA accesses to the
16 MiB HyperRAM address space available on AST1040.

v1:
  1. Support ADC, GPIO, SGPIO, I2C and PECI

Jamin Lin (10):
  hw/i2c/aspeed_i2c: Introduce dma_addr_lo_mask to unify DMA address
    handling
  hw/i2c/aspeed_i2c: Increase AST2700 buffer mode size and adjust offset
  hw/arm/aspeed_ast1040: Reuse AST2700 ADC model
  hw/arm/aspeed_ast1040: Introduce PECI support
  hw/arm/aspeed_ast1040: Reuse AST2700 GPIO controller model
  hw/arm/aspeed_ast1040: Add SGPIO controller support
  hw/i2c/aspeed_i2c: Introduce AST1040 I2C model
  hw/arm/aspeed_ast1040: Introduce I2C support
  hw/arm/aspeed_ast1040_evb: Introduce onboard I2C device
  hw/arm/aspeed_ast1040: Reuse AST2700 watchdog models

 include/hw/i2c/aspeed_i2c.h |   8 ++-
 hw/arm/aspeed_ast1040.c     | 105 +++++++++++++++++++++++++++++++-----
 hw/arm/aspeed_ast1040_evb.c |  18 +++++++
 hw/i2c/aspeed_i2c.c         |  89 ++++++++++++++++++++----------
 4 files changed, 175 insertions(+), 45 deletions(-)

-- 
2.43.0