Received: by 2002:adf:e804:0:0:0:0:0 with SMTP id o4csp4055388wrm; Mon, 7 Oct 2019 10:07:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqydrQw+9Ss+7ikZgwmGIGzRpNiJNIqyDHCos2QoNNfB1aM7lJUM/wrmC4c+WeZxWntRTleJ X-Received: by 2002:aa7:d789:: with SMTP id s9mr964317edq.62.1570468035657; Mon, 07 Oct 2019 10:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570468035; cv=none; d=google.com; s=arc-20160816; b=ZtbCInlWu9fW3uysUaSL3nwGHngD2g3ELTelIvLnbY3eAFk51Q7aSMs5vrvRvq0BI0 FAlz2zOQdiVtk/i/p68T2bexxL7Iesz6RSI7TQUcwB0TfuWM15qK4mjXZABWTfXVnFH4 +h7FfWpTdlqM2cu7mpR5KOJN/0erZrl8bTHyMGPGPmLMKJowl4pCB8SKFV/KPzeXkOFg 87Nbu95lAjHFrdzwOL8YPSVDK0/DR8m6n8xn6nIvvAe5JFZG7mve99L04KfTSiTqrfzM vfUEQKBNuqrxWN4WmEDirrrCp3j7wwgVHXmCpqRkBdIKb+bMQRnICcZw7xEHFWiTiqSl F8lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=+3UBHXl0Q3tHZixwPH6fsHjN2QJ1bQEaKGonQtRbZd4=; b=q0uBQ+gvJsgqoV0DFMchqf9KJKpCrBjh/qK6Sn8x4ymnOOzFVtDq7WQ83dJE/9gobi EPuHk1UQT1x2qKY2dID2toyELwvtOWI+3L/J7afGqAVKvvJDaUls2369KPNooNGsiwv+ GGm7NXFx+aJi+whtAJnSkmbYIDjf3NueBHwjV9fIv+seW6CDBBCHIawktIn7HP+6aSR9 CiPkVol+ORreoMk0KKAFjLrFs0jzlDC36VTe32DuG9pJiziYHadGprnjsY9orguSFcIe 92TmWH6O8vJUg01uAnw0Zo3zNztMP5pN/ikgLHF7zz2CBjBzyONkqQSspkRsfDjPx+DN Ugyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uNoGvRiw; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b15si8793162eda.152.2019.10.07.10.07.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Oct 2019 10:07:15 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uNoGvRiw; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:47910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHWTa-0006pg-2j for alex.bennee@linaro.org; Mon, 07 Oct 2019 13:07:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36997) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHWTH-0006jd-Hi for qemu-arm@nongnu.org; Mon, 07 Oct 2019 13:06:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHWTG-0004v9-J0 for qemu-arm@nongnu.org; Mon, 07 Oct 2019 13:06:55 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:34057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHWTE-0004uA-D7; Mon, 07 Oct 2019 13:06:52 -0400 Received: by mail-wr1-x441.google.com with SMTP id j11so10436819wrp.1; Mon, 07 Oct 2019 10:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+3UBHXl0Q3tHZixwPH6fsHjN2QJ1bQEaKGonQtRbZd4=; b=uNoGvRiwUiJCmtif4CMZwT/OIBf3S16hlWuLfBWCCXfgBFUaX9G1tIMwRHG13jyilN vRHCU5qu8YrV9G5S8Quvx2AHrS7d6jWpYWzmzO52/ODpgv8LvE1TQ7NdNBQkmLbaCqrp 9yJIKdSv1YJ5x8yDyZuKbhi+VaqeJqdqzpefUPbl0tok/H8PT4oX59FeNIU+k7nn7WqE mPmu7Rs4UOunzrfVdZ0ZmGV/Jb+pF2oGsbDiqSaUPQ7tVtqhyuZj/s9KWby09Vv7yIhs G8XbKzQUDKy1yXnGsdzS9RVwazbMnogz34TikL07BfEJq/oNi+XlhacCNaJtBtsaPYXB o6+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=+3UBHXl0Q3tHZixwPH6fsHjN2QJ1bQEaKGonQtRbZd4=; b=J6YxVH3ZNw5M1HWP+KPylaOcF3nsdAPZtNBsezgEtqkPuCjY+gqBU1b/hzk4w11iJF SjVrOGc9nXuahpdiftSLa8yVe1qIR71vN/kkFtF1ZF7MjccyDXtp8rGpBgxaHm/QsUC7 lB9pQNvoW8UBhoz2N0NHPKXQsyjNA58JGSiXIWfVHQZUnWXl+q0urCNW3NQhGUUmDGQs EuE+28h6BOsYgEzJFmDSSEf6wM7ajc0dAfGKPEErwDkbdoCucjy4xsSqALBW2bS4fBJd u9lEbgHFidNyCS1SAARvqHAAH1CVFWO8/ESudOCzHR6ysE1kEyCexmD3QR1G5F8CmbfN GZwg== X-Gm-Message-State: APjAAAWSnWbK8Dv9/GZwaCAkORPFS2Qu0L7sJxjnJOau3fLBJRycFzgz FKfzi5TX80WyguOgxEyE0ETiy/oQPlk= X-Received: by 2002:a5d:6a4b:: with SMTP id t11mr21350322wrw.24.1570468010620; Mon, 07 Oct 2019 10:06:50 -0700 (PDT) Received: from x1w.redhat.com (46.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.46]) by smtp.gmail.com with ESMTPSA id x5sm14036603wrt.75.2019.10.07.10.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 10:06:49 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 0/3] hw/arm/raspi: Split the UART block from the AUX block Date: Mon, 7 Oct 2019 19:06:43 +0200 Message-Id: <20191007170646.14961-1-f4bug@amsat.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Alistair Francis , qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Andrew Baumann Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: S2pWxtoI2lHy The BCM2838 has many more peripherals than his little brother, the BCM2837. With the raspi4, the Linux kernel takes more steps to configure the various MUXed devices. At some point it started to bug me, so I plan to add a dummy simple BCM2835_SPI block. It is cleaner to add it as a separate device than mixed with the AUX block. As a first step, split the UART block out. Since this part is self-contained and my raspi4 branch is getting too big, I'm sending it as a single series. Regards, Phil. Philippe Mathieu-Daudé (3): hw/char: Add the BCM2835 miniuart hw/char/bcm2835_aux: Use the BCM2835 miniuart block hw: Move BCM2835 AUX device from hw/char/ to hw/misc/ hw/char/Makefile.objs | 2 +- hw/char/bcm2835_aux.c | 317 ----------------------- hw/char/bcm2835_miniuart.c | 327 ++++++++++++++++++++++++ hw/char/trace-events | 4 + hw/misc/Makefile.objs | 1 + hw/misc/bcm2835_aux.c | 189 ++++++++++++++ hw/misc/trace-events | 4 + include/hw/arm/bcm2835_peripherals.h | 2 +- include/hw/char/bcm2835_miniuart.h | 37 +++ include/hw/{char => misc}/bcm2835_aux.h | 10 +- 10 files changed, 567 insertions(+), 326 deletions(-) delete mode 100644 hw/char/bcm2835_aux.c create mode 100644 hw/char/bcm2835_miniuart.c create mode 100644 hw/misc/bcm2835_aux.c create mode 100644 include/hw/char/bcm2835_miniuart.h rename include/hw/{char => misc}/bcm2835_aux.h (73%) -- 2.21.0