[PATCH v2 00/11] Add SSP/TSP power control and DRAM remap support for AST2700

Jamin Lin via qemu development posted 11 patches 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260127092943.3731635-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>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>
docs/system/arm/aspeed.rst                    |  37 ++-
include/hw/misc/aspeed_scu.h                  |   6 +
hw/arm/aspeed_ast27x0-fc.c                    |   4 +
hw/arm/aspeed_ast27x0-ssp.c                   |  13 +
hw/arm/aspeed_ast27x0-tsp.c                   |  10 +
hw/arm/aspeed_ast27x0.c                       |  46 +--
hw/misc/aspeed_scu.c                          | 268 +++++++++++++++++-
.../aarch64/test_aspeed_ast2700fc.py          |  35 ++-
8 files changed, 378 insertions(+), 41 deletions(-)
[PATCH v2 00/11] Add SSP/TSP power control and DRAM remap support for AST2700
Posted by Jamin Lin via qemu development 1 week, 3 days ago
This series improves AST2700 platform support by aligning SSP/TSP
power and reset behavior with hardware, and enabling DRAM remapping
required for proper firmware boot flow.

v1:
  1. The changes move DRAM/SDMC initialization earlier to support memory
aliasing, add DRAM aliases for SSP/TSP SDRAM remap, and implement
SSP/TSP reset, power-on, and remap controls via SCU registers.
  2. With these updates, SSP and TSP can be booted via PSP and load their
binaries from DRAM. Functional tests and documentation are updated
accordingly.

v2:
  Fix "make check" failure caused by both AST2700 and AST1700 realizing the same
  TYPE_AST2700_SCU model.

Jamin Lin (11):
  hw/arm/ast27x0: Move DRAM and SDMC initialization earlier to support
    memory aliasing
  hw/arm/ast27x0: Start SSP in powered-off state to match hardware
    behavior
  hw/arm/ast27x0: Start TSP in powered-off state to match hardware
    behavior
  hw/arm/ast27x0: Add DRAM alias for SSP SDRAM remap
  hw/arm/ast27x0: Add DRAM alias for TSP SDRAM remap
  hw/misc/aspeed_scu: Implement SSP reset and power-on control via SCU
    registers
  hw/misc/aspeed_scu: Implement TSP reset and power-on control via SCU
    registers
  hw/misc/aspeed_scu: Add SCU support for SSP SDRAM remap
  hw/misc/aspeed_scu: Add SCU support for TSP SDRAM remap
  tests/functional/aarch64/test_aspeed_ast2700fc: Boot SSP/TSP via PSP
    and load binaries from DRAM
  docs: Add support vbootrom and update Manual boot for ast2700fc

 docs/system/arm/aspeed.rst                    |  37 ++-
 include/hw/misc/aspeed_scu.h                  |   6 +
 hw/arm/aspeed_ast27x0-fc.c                    |   4 +
 hw/arm/aspeed_ast27x0-ssp.c                   |  13 +
 hw/arm/aspeed_ast27x0-tsp.c                   |  10 +
 hw/arm/aspeed_ast27x0.c                       |  46 +--
 hw/misc/aspeed_scu.c                          | 268 +++++++++++++++++-
 .../aarch64/test_aspeed_ast2700fc.py          |  35 ++-
 8 files changed, 378 insertions(+), 41 deletions(-)

-- 
2.43.0