From nobody Fri Dec 19 14:41:51 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1601567673; cv=none; d=zohomail.com; s=zohoarc; b=nKbx6xtWq1/lI3+IMrwkeirHWuReIaDkjJebOFLlJ8MsX8uN206dmUWW9iODHmpKpmHAZ8IjK9Xl0WXk9W4jHq3p/DosFaoLPE4ikNN4qXAFiNZvrce5slYQVCuAio/c+OfCKb2Xqh5Mngv5KLcSIpSV0+aSM0qmRAsbXCCi8Vw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601567673; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=LdsF1p8GE52TqGxdvPUfjvasVxUb/DF5uSL01W4m9MM=; b=cz79rl/k1Ls8SnmdN/mIGLcrRo6B+JO4//x4iDOJA15oxqLPaqxAitYLQHvY/gwK0aCEzST8/NR6DdBJIOWZ3EG43j0hF0UodEhiszt79hb/wEPNj1dHsW7tH717+LxRJ9oe503/t65rFVs2hwd3eOrJO4rQgLkg5EXiQ/K1SZU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1601567672999262.4458372510983; Thu, 1 Oct 2020 08:54:32 -0700 (PDT) Received: from localhost ([::1]:38864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO03i-0004Gp-Ox for importer@patchew.org; Thu, 01 Oct 2020 10:59:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNzsZ-00052Z-L7 for qemu-devel@nongnu.org; Thu, 01 Oct 2020 10:48:19 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:41194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNzsX-0002yQ-Mz for qemu-devel@nongnu.org; Thu, 01 Oct 2020 10:48:19 -0400 Received: by mail-wr1-x444.google.com with SMTP id w5so6109220wrp.8 for ; Thu, 01 Oct 2020 07:48:17 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id 70sm342052wme.15.2020.10.01.07.48.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 07:48:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=LdsF1p8GE52TqGxdvPUfjvasVxUb/DF5uSL01W4m9MM=; b=FOBdWnudi47dMkUnjuejoP0+G6qqcjBeRrTioihauwB+Q0PQSBeiZW24X19kxEx9tr 8tOnfliLpwkkAV5e3C3UNgvHS3gIwIDegNC1yLOMpQ6pK1w7ky1yzttmHB9mhHda+F/q aVCWU8i36Z0CjbSM7pTCxtkpP1zYxH4OiIHMTo3S3o1j/JbOycc2IsbP+ICzXPsTKSsd bw8Qymti4439LMB43l7EuvTbDLCtmbFfZXPfVUMbMSMAOsvtnb+Sn9LL9Hjj4F2MZnYf eB1jRRdBmQgMWtsqvkLVEU2TSgTj1THOWIzJNaT8CP7E7l03RfP23+xWd7OGzqF9q/wK A3ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LdsF1p8GE52TqGxdvPUfjvasVxUb/DF5uSL01W4m9MM=; b=IHUgn28hcJuU6mzfo570nRWuAM7GE8ty3SsGwnRv3yIgILx5PyJ2lykTdhjY6kJDiF Zn7eGElvAE93/5THbOoxhnkkCye9HSiU3wCiyWO6AB2rreHjcYtoi/HeeDY7l6fbNAFc Flpfwkt3WOA4LGasNFQe4jhrGWhl/o+By8LxjFxKlyP8UiZTfwNJAcEbjygtymBhnC5u w7cvIMQGX/MxmX7pz/WGKa+JXOGgnrS4QjMFmsnhrushdIHL84U9jQ31gGMuqV7jH1GP sUBK/1GmTlFTnorym7t1ygkiSyv9d/mhuWp91+WbIfRn6hzEbBne6YOAbbugorq/WXni WoYQ== X-Gm-Message-State: AOAM5332E/ts6KXjuTAzZIFzNsNi0WgC9gAN9EwcvYNhBEkFFWLAkff7 iorr0+0fzG31a60zB1pndVAQDNIw17bEEaE2 X-Google-Smtp-Source: ABdhPJx0/az8hgbL8CnoO3ZZ36ui7Q/UWseEl3vSiegkhnPXrlAmVhgd5qBRqOtzynVXenD9m0LG/g== X-Received: by 2002:adf:e3cf:: with SMTP id k15mr8833337wrm.291.1601563696072; Thu, 01 Oct 2020 07:48:16 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 09/18] hw/arm/bcm2835: Add more unimplemented peripherals Date: Thu, 1 Oct 2020 15:47:50 +0100 Message-Id: <20201001144759.5964-10-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201001144759.5964-1-peter.maydell@linaro.org> References: <20201001144759.5964-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x444.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) From: Philippe Mathieu-Daud=C3=A9 The bcm2835-v3d is used since Linux 4.7, see commit 49ac67e0c39c ("ARM: bcm2835: Add VC4 to the device tree"), and the bcm2835-txp since Linux 4.19, see commit b7dd29b401f5 ("ARM: dts: bcm283x: Add Transposer block"). Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Luc Michel Message-id: 20200921034729.432931-3-f4bug@amsat.org Signed-off-by: Peter Maydell --- include/hw/arm/bcm2835_peripherals.h | 2 ++ hw/arm/bcm2835_peripherals.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/hw/arm/bcm2835_peripherals.h b/include/hw/arm/bcm2835_= peripherals.h index 13d7c4c5531..c9ac941a82c 100644 --- a/include/hw/arm/bcm2835_peripherals.h +++ b/include/hw/arm/bcm2835_peripherals.h @@ -45,6 +45,7 @@ struct BCM2835PeripheralState { =20 BCM2835SystemTimerState systmr; BCM2835MphiState mphi; + UnimplementedDeviceState txp; UnimplementedDeviceState armtmr; UnimplementedDeviceState cprman; UnimplementedDeviceState a2w; @@ -66,6 +67,7 @@ struct BCM2835PeripheralState { UnimplementedDeviceState otp; UnimplementedDeviceState dbus; UnimplementedDeviceState ave0; + UnimplementedDeviceState v3d; UnimplementedDeviceState bscsl; UnimplementedDeviceState smi; DWC2State dwc2; diff --git a/hw/arm/bcm2835_peripherals.c b/hw/arm/bcm2835_peripherals.c index a9d7f53f6e9..15c5c72e465 100644 --- a/hw/arm/bcm2835_peripherals.c +++ b/hw/arm/bcm2835_peripherals.c @@ -343,6 +343,7 @@ static void bcm2835_peripherals_realize(DeviceState *de= v, Error **errp) qdev_get_gpio_in_named(DEVICE(&s->ic), BCM2835_IC_GPU_IRQ, INTERRUPT_USB)); =20 + create_unimp(s, &s->txp, "bcm2835-txp", TXP_OFFSET, 0x1000); create_unimp(s, &s->armtmr, "bcm2835-sp804", ARMCTRL_TIMER0_1_OFFSET, = 0x40); create_unimp(s, &s->cprman, "bcm2835-cprman", CPRMAN_OFFSET, 0x1000); create_unimp(s, &s->a2w, "bcm2835-a2w", A2W_OFFSET, 0x1000); @@ -356,6 +357,7 @@ static void bcm2835_peripherals_realize(DeviceState *de= v, Error **errp) create_unimp(s, &s->otp, "bcm2835-otp", OTP_OFFSET, 0x80); create_unimp(s, &s->dbus, "bcm2835-dbus", DBUS_OFFSET, 0x8000); create_unimp(s, &s->ave0, "bcm2835-ave0", AVE0_OFFSET, 0x8000); + create_unimp(s, &s->v3d, "bcm2835-v3d", V3D_OFFSET, 0x1000); create_unimp(s, &s->sdramc, "bcm2835-sdramc", SDRAMC_OFFSET, 0x100); } =20 --=20 2.20.1