From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBE25C432C2 for ; Wed, 25 Sep 2019 14:39:27 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE1E72146E for ; Wed, 25 Sep 2019 14:39:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE1E72146E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iD8Ry-0000Po-EM for qemu-devel@archiver.kernel.org; Wed, 25 Sep 2019 10:39:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52212) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iD8Lu-0003DY-8c for qemu-devel@nongnu.org; Wed, 25 Sep 2019 10:33:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iD8Lr-0000Ar-LF for qemu-devel@nongnu.org; Wed, 25 Sep 2019 10:33:08 -0400 Received: from 2.mo179.mail-out.ovh.net ([178.33.250.45]:45222) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iD8Lr-00009j-Ab for qemu-devel@nongnu.org; Wed, 25 Sep 2019 10:33:07 -0400 Received: from player786.ha.ovh.net (unknown [10.108.57.53]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id A2C50142DB9 for ; Wed, 25 Sep 2019 16:33:04 +0200 (CEST) Received: from kaod.org (lfbn-1-2229-223.w90-76.abo.wanadoo.fr [90.76.50.223]) (Authenticated sender: clg@kaod.org) by player786.ha.ovh.net (Postfix) with ESMTPSA id B216DA4D3A70; Wed, 25 Sep 2019 14:32:56 +0000 (UTC) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: Peter Maydell Subject: [PATCH v2 00/23] aspeed: Add support for the AST2600 SoC Date: Wed, 25 Sep 2019 16:32:25 +0200 Message-Id: <20190925143248.10000-1-clg@kaod.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Ovh-Tracer-Id: 8836062469594712849 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrfedvgdejkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 178.33.250.45 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , qemu-arm@nongnu.org, qemu-devel@nongnu.org, Joel Stanley Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" 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=C3=A9dric 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 --=20 2.21.0