From nobody Thu Dec 18 22:20:15 2025 Delivered-To: importer@patchew.org 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; 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=1582908100; cv=none; d=zohomail.com; s=zohoarc; b=l63Wut7rEMKVB0ewkJAkTkVAjObhbeT3TG1dOmCYONveo5hH4UhxagErGJNg5iVz2E1wyfbcjMaEjjQw6ub/IsnTry7Mej+AqEcRlS0ALOOhBYIKyELGrhZgGQBQb9EUzhW02pAnp+xRNsHh2CfFXX4UGFk9H6AEkzlQvolneGo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582908100; 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=p1vL82UhROt8QXhCUT1feYYkEotDCosoZbN7/fg2s9o=; b=K0A6xrrbYlxivDBDAQBbdVLDjvA4+NpZxDHxJhYKJcTuWG3YjbdkTtSUKkwhROSUImmOGFoTF0xD4VN7SRv8Q6cQqR3JOWQ7F0MoIjBVTwAJz/Fgu6bj9IPsKR+V3MdXOaytNtUeF2Ma8HyjcVZi01bOWnno8Lmf3ltpRNvh93E= 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 1582908100531259.1242000210211; Fri, 28 Feb 2020 08:41:40 -0800 (PST) Received: from localhost ([::1]:50198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7ihn-000426-9S for importer@patchew.org; Fri, 28 Feb 2020 11:41:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56384) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7if2-0007Ea-R7 for qemu-devel@nongnu.org; Fri, 28 Feb 2020 11:38:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7if1-0001mi-Nc for qemu-devel@nongnu.org; Fri, 28 Feb 2020 11:38:48 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:36847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7if1-0001mC-HL for qemu-devel@nongnu.org; Fri, 28 Feb 2020 11:38:47 -0500 Received: by mail-wm1-x329.google.com with SMTP id g83so1708038wme.1 for ; Fri, 28 Feb 2020 08:38:47 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id c9sm13335214wrq.44.2020.02.28.08.38.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 08:38:45 -0800 (PST) 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=p1vL82UhROt8QXhCUT1feYYkEotDCosoZbN7/fg2s9o=; b=bLtRVeHlZKlL18VRGYJDD8RjmhQMmybKM5kBfU8MORmkXVP0RJHB3iXYUByqB3bTbD Lmcq0P9KVVF95qjovTBAiEaGnc8LO1t/lXj4KAljghn+Pi+bIl3l9edFzMVpj8qGTx5B dDQQ06PMRxGrdp9bcZ1XKcRDy/vtTdhsgZx2YIu8sCamVlSDjdZAnFqVgVyPzUJfkWy0 aUfylGXjhlzsS3z5YnzjK4aGqizQZW0yihBWdsEhyCKn2oL/rXJM6HVILiNuL0p+xtne n5SoUssf+D1ze0SEuw4NAvu313vUlRht6rfw3TMP08XuNfBOOH2ZCCMpuvrLpaSplmm/ U6gA== 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=p1vL82UhROt8QXhCUT1feYYkEotDCosoZbN7/fg2s9o=; b=ROWWdY/Pph5KxbJ68pFGr14KSOEpZDdLBjzxxsr4mcdaKb3uPT+VhJ+JZP8J8JWNNS P6XfLjI752XrWpJ+7EfwdeggjxCqXPWslxxOMg0dWAVsGjokXfebPn1gprvq8JjgaWNO 5DKCxe0IlOgRL+/4hJNPi8wxty7UaSVgJ+goWFsnx1jXJFCV+i4JvS3GwGzGoSwMG02q 60o3H/3fopZCCa4VgvjeTSp2rPQ/FEgq1mJT0J9MRz6mVeroy11rVZPVxGhLQY2t6BXh kmn9A71f/xk9LXqwoaa3j7b2nFhtLlh8a3P/ObPvZPELjNWjVW1dpSLzW4XyVUwhpneQ T4Yg== X-Gm-Message-State: APjAAAW0lSjJ39fOBzvtyAS4RFzadvT+rdsPv4Y+B4VUKByhZj0E7sFC 2qBZIf20Ce8Lf57BJvt+P3kbMOHCFhXFZQ== X-Google-Smtp-Source: APXvYqxqaJ/auXTizGmmWTmVRcRwplohICnqvz0h1fnm5v5AaRUdJvgx18RYH69YA6KXWl0AbzbhTw== X-Received: by 2002:a1c:1b41:: with SMTP id b62mr5353257wmb.97.1582907926188; Fri, 28 Feb 2020 08:38:46 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 03/33] hw/arm/integratorcp: Map the audio codec controller Date: Fri, 28 Feb 2020 16:38:10 +0000 Message-Id: <20200228163840.23585-4-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200228163840.23585-1-peter.maydell@linaro.org> References: <20200228163840.23585-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::329 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 Linux kernel displays errors why trying to detect the PL041 audio interface: Linux version 4.16.0 (linus@genomnajs) (gcc version 7.2.1 20171011 (Linar= o GCC 7.2-2017.11)) #142 PREEMPT Wed May 9 13:24:55 CEST 2018 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=3D00093177 CPU: VIVT data cache, VIVT instruction cache OF: fdt: Machine model: ARM Integrator/CP ... OF: amba_device_add() failed (-19) for /fpga/aaci@1d000000 Since we have it already modelled, simply plug it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20200223233033.15371-2-f4bug@amsat.org Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- hw/arm/integratorcp.c | 1 + hw/arm/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c index cc845b85340..6d69010d06b 100644 --- a/hw/arm/integratorcp.c +++ b/hw/arm/integratorcp.c @@ -642,6 +642,7 @@ static void integratorcp_init(MachineState *machine) qdev_get_gpio_in_named(icp, ICP_GPIO_MMC_WPROT, = 0)); qdev_connect_gpio_out(dev, 1, qdev_get_gpio_in_named(icp, ICP_GPIO_MMC_CARDIN,= 0)); + sysbus_create_varargs("pl041", 0x1d000000, pic[25], NULL); =20 if (nd_table[0].used) smc91c111_init(&nd_table[0], 0xc8000000, pic[27]); diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 3d86691ae0c..61635f52c42 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -69,6 +69,7 @@ config INTEGRATOR select INTEGRATOR_DEBUG select PL011 # UART select PL031 # RTC + select PL041 # audio select PL050 # keyboard/mouse select PL110 # pl111 LCD controller select PL181 # display --=20 2.20.1