[PATCH v2 00/23] aspeed: Add support for the AST2600 SoC

Cédric Le Goater posted 23 patches 4 years, 6 months ago
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test docker-clang@ubuntu passed
Test FreeBSD passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190925143248.10000-1-clg@kaod.org
Maintainers: Andrew Jeffery <andrew@aj.id.au>, Kevin Wolf <kwolf@redhat.com>, "Cédric Le Goater" <clg@kaod.org>, Joel Stanley <joel@jms.id.au>, Jason Wang <jasowang@redhat.com>, Max Reitz <mreitz@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Alistair Francis <alistair@alistair23.me>
include/hw/arm/aspeed.h          |   1 +
include/hw/arm/aspeed_soc.h      |  29 +-
include/hw/i2c/aspeed_i2c.h      |  20 +-
include/hw/misc/aspeed_scu.h     |   7 +-
include/hw/misc/aspeed_sdmc.h    |  20 +-
include/hw/net/ftgmac100.h       |  17 +
include/hw/sd/aspeed_sdhci.h     |  34 ++
include/hw/ssi/aspeed_smc.h      |   4 +
include/hw/timer/aspeed_timer.h  |  18 ++
include/hw/watchdog/wdt_aspeed.h |  19 +-
hw/arm/aspeed.c                  |  42 ++-
hw/arm/aspeed_ast2600.c          | 523 +++++++++++++++++++++++++++++++
hw/arm/aspeed_soc.c              | 199 +++++++-----
hw/block/m25p80.c                |   1 +
hw/gpio/aspeed_gpio.c            | 142 ++++++++-
hw/i2c/aspeed_i2c.c              | 106 ++++++-
hw/misc/aspeed_scu.c             | 194 +++++++++++-
hw/misc/aspeed_sdmc.c            | 250 +++++++++++----
hw/net/ftgmac100.c               | 162 ++++++++++
hw/sd/aspeed_sdhci.c             | 198 ++++++++++++
hw/ssi/aspeed_smc.c              | 177 +++++++++--
hw/timer/aspeed_timer.c          | 213 +++++++++++--
hw/watchdog/wdt_aspeed.c         | 153 +++++----
hw/arm/Makefile.objs             |   2 +-
hw/sd/Makefile.objs              |   1 +
25 files changed, 2253 insertions(+), 279 deletions(-)
create mode 100644 include/hw/sd/aspeed_sdhci.h
create mode 100644 hw/arm/aspeed_ast2600.c
create mode 100644 hw/sd/aspeed_sdhci.c
[PATCH v2 00/23] aspeed: Add support for the AST2600 SoC
Posted by Cédric Le Goater 4 years, 6 months ago
Hello,

The series starts with a watchdog fix and a new model for the SDHCI
controller. Follows the code for the AST2600 SoC.

Most of the Aspeed models are reworked with an object class to
introduce the AST2600 variant. A model for the AST2600 SoC and a
simple AST2600 EVB machine is proposed at the end of the series. It
can boot the OpenBMC firmware image which is currently used for HW
bringup.

Thanks,

C.

Changes since v1:

 - better SMC model, proof tested against Linux and Aspeed drivers
   used on HW bringup
 - new w25q512jv flash model for the AST2600 EVB
 - removed the use of "cntfrq" property not yet merged
 - tuned the HW strapping values of the AST2600 EVB

Amithash Prasad (1):
  aspeed/wdt: Check correct register for clock source

Cédric Le Goater (15):
  aspeed/timer: Introduce an object class per SoC
  aspeed/timer: Add support for control register 3
  aspeed/timer: Add AST2600 support
  aspeed/timer: Add support for IRQ status register on the AST2600
  aspeed/sdmc: Introduce an object class per SoC
  watchdog/aspeed: Introduce an object class per SoC
  aspeed/smc: Introduce segment operations
  aspeed/smc: Add AST2600 support
  aspeed/i2c: Introduce an object class per SoC
  aspeed/i2c: Add AST2600 support
  aspeed: Introduce an object class per SoC
  aspeed/soc: Add AST2600 support
  m25p80: Add support for w25q512jv
  aspeed: Add an AST2600 eval board
  aspeed: add support for the Aspeed MII controller of the AST2600

Eddie James (1):
  hw/sd/aspeed_sdhci: New device

Joel Stanley (5):
  hw: aspeed_scu: Add AST2600 support
  aspeed/sdmc: Add AST2600 support
  hw: wdt_aspeed: Add AST2600 support
  aspeed: Parameterise number of MACs
  aspeed/soc: Add ASPEED Video stub

Rashmica Gupta (1):
  hw/gpio: Add in AST2600 specific implementation

 include/hw/arm/aspeed.h          |   1 +
 include/hw/arm/aspeed_soc.h      |  29 +-
 include/hw/i2c/aspeed_i2c.h      |  20 +-
 include/hw/misc/aspeed_scu.h     |   7 +-
 include/hw/misc/aspeed_sdmc.h    |  20 +-
 include/hw/net/ftgmac100.h       |  17 +
 include/hw/sd/aspeed_sdhci.h     |  34 ++
 include/hw/ssi/aspeed_smc.h      |   4 +
 include/hw/timer/aspeed_timer.h  |  18 ++
 include/hw/watchdog/wdt_aspeed.h |  19 +-
 hw/arm/aspeed.c                  |  42 ++-
 hw/arm/aspeed_ast2600.c          | 523 +++++++++++++++++++++++++++++++
 hw/arm/aspeed_soc.c              | 199 +++++++-----
 hw/block/m25p80.c                |   1 +
 hw/gpio/aspeed_gpio.c            | 142 ++++++++-
 hw/i2c/aspeed_i2c.c              | 106 ++++++-
 hw/misc/aspeed_scu.c             | 194 +++++++++++-
 hw/misc/aspeed_sdmc.c            | 250 +++++++++++----
 hw/net/ftgmac100.c               | 162 ++++++++++
 hw/sd/aspeed_sdhci.c             | 198 ++++++++++++
 hw/ssi/aspeed_smc.c              | 177 +++++++++--
 hw/timer/aspeed_timer.c          | 213 +++++++++++--
 hw/watchdog/wdt_aspeed.c         | 153 +++++----
 hw/arm/Makefile.objs             |   2 +-
 hw/sd/Makefile.objs              |   1 +
 25 files changed, 2253 insertions(+), 279 deletions(-)
 create mode 100644 include/hw/sd/aspeed_sdhci.h
 create mode 100644 hw/arm/aspeed_ast2600.c
 create mode 100644 hw/sd/aspeed_sdhci.c

-- 
2.21.0


Re: [PATCH v2 00/23] aspeed: Add support for the AST2600 SoC
Posted by Peter Maydell 4 years, 5 months ago
On Wed, 25 Sep 2019 at 15:33, Cédric Le Goater <clg@kaod.org> wrote:
>
> Hello,
>
> The series starts with a watchdog fix and a new model for the SDHCI
> controller. Follows the code for the AST2600 SoC.
>
> Most of the Aspeed models are reworked with an object class to
> introduce the AST2600 variant. A model for the AST2600 SoC and a
> simple AST2600 EVB machine is proposed at the end of the series. It
> can boot the OpenBMC firmware image which is currently used for HW
> bringup.



Applied to target-arm.next, thanks.

-- PMM