From patchwork Mon Oct 21 15:52:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13844377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3A35D15DB4 for ; Mon, 21 Oct 2024 16:04:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Hh7X0fydqIufhtd8PZzP/EIASN+FGLQT9ALrXUwVIA0=; b=q0mvSu+ht8v7UhqBO70DJXh8tT qDD7yICWY9hshQ3U6Q9/F7im5Treqp40UNH7OsI0Wns4L/s+BPdOm0Dg5lmAuHODoxGP00InFBPo3 S7Ts7jqRNvTNFyNuSrD/0fW2A2WewQ5U7xpiqX/nV/fz942w21tNqd1xemu8pjTdNUimA8M7EJAqq c2UGbQ9PV640FHZ4FmdK0WrROT2G5m3XPU09vm/ZM1ldUYYSfSSrRr5rJWbc2nk41PGA69A4GWRva b6eN6iWSE8t1ppHD3FMpcA2MHa8rN66ytGFCMF+mWsToYHcHe9ZwFTsnpFTAdZHyodNfu5CK7sbh/ xSxbgIQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2utT-00000007u1w-3Z3O; Mon, 21 Oct 2024 16:04:31 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2uiS-00000007s0y-1rjL for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 15:53:09 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-539fb49c64aso6470024e87.0 for ; Mon, 21 Oct 2024 08:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729525985; x=1730130785; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Hh7X0fydqIufhtd8PZzP/EIASN+FGLQT9ALrXUwVIA0=; b=aXVymC/rFwLnzbniQyf+7b1bCAFLcUMA3DlBqsECK1ZTOB5y+mkN8U98zTi8UlMN3r pezW96V/qhguYd1owqqMMTv2oxBbh0x373hJDepwlzlT59aApMc1EAcMY8zIOk00PQPm GtlJ1aCH8mYJBvo1yRv2MMwthzzTe4EMKcB80QRvgQ9xEVEpszepbLPa2txb6O3aNPVV FZ2XWVrNjkcYeCZakbUscozMPfCvXDXmAXG1tsNI0TtVgojSov48+Q3E+bQF0Q/39W+B oE6J/liDJgFeW1PVxHRv6t8mN9JbKBQyk1pIm20ncxPsv4EspyboQnR0u+6jLtPZ4LTW yhbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729525985; x=1730130785; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hh7X0fydqIufhtd8PZzP/EIASN+FGLQT9ALrXUwVIA0=; b=bEdwItxe9De9YkW0PhMcFOx2gZleZ7s7CWkaECPDIC0VrHEvM8MFX5M3/lw2Dwv2bA 0pvIW3uXX43rQGVgPRjR9Q/DLweWGXOUOyxkkAJAQsrtMEmsVcYUO78l3GHEBKPvI0wJ v5qtvwYorPTKccIEJAjeKCsYC3B1aWbYWmiNZex1Suhc/H9oJCst2XuneLNfF/Or63LW 3xt1PJZicb705MY7/xLgzFFWNdNMKnc/0Zps9bDIGCSm97xQEgWhpaLZa9JYeKE1RJec l6qMDjcV3cKdD7UIUYHkvF7YbaaB2mw5whGGSAGo0KiPd0TLfjtyNCVHIbdlFuFHU+pP cVnQ== X-Forwarded-Encrypted: i=1; AJvYcCUo7rgfmURy7QXjNHwP0NFKHNEtMJlDP1fNTq/WXfvAfi7qdTHJLdLDBCEjAjzGZbrcnJ1mqmm0b59B+tpJ0Nor@lists.infradead.org X-Gm-Message-State: AOJu0Yyj2p5zk2iee3nwbav/MoFk0TD/0RANlfVrXM5j6fVq0DW6NoU7 k35R+bNqOtZZc9HMokhVoFA7x3RX0HxwY1txOKGNmMilE8NezksY X-Google-Smtp-Source: AGHT+IGYrgG25Z/I0gGtpppxwAYbzIVLhyYw2kd6/eNRNxaHCAl3YECg5/S05qSKVfqTqP9ANYFRZg== X-Received: by 2002:a05:6512:3b20:b0:539:901c:e2e with SMTP id 2adb3069b0e04-53a154eb6famr10055650e87.58.1729525985072; Mon, 21 Oct 2024 08:53:05 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a912edfd0sm218614366b.67.2024.10.21.08.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 08:53:04 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Daniel Baluta , Shengjiu Wang , Iuliana Prodan , Tushar Khandelwal , Viresh Kumar , Frank Li Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 3/6] arm64: dts: imx8qxp-mek: add dsp rproc-related mem regions Date: Mon, 21 Oct 2024 11:52:18 -0400 Message-Id: <20241021155221.112073-4-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021155221.112073-1-laurentiumihalcea111@gmail.com> References: <20241021155221.112073-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_085308_510781_3527BC20 X-CRM114-Status: GOOD ( 11.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Laurentiu Mihalcea Add missing dsp rproc-related reserved memory regions and assign them to the 'dsp' node. Signed-off-by: Laurentiu Mihalcea Reviewed-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 936ba5ecdcac..4c4e71d39bac 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -21,6 +21,24 @@ memory@80000000 { reg = <0x00000000 0x80000000 0 0x40000000>; }; + reserved-memory { + dsp_vdev0vring0: memory@942f0000 { + reg = <0 0x942f0000 0 0x8000>; + no-map; + }; + + dsp_vdev0vring1: memory@942f8000 { + reg = <0 0x942f8000 0 0x8000>; + no-map; + }; + + dsp_vdev0buffer: memory@94300000 { + compatible = "shared-dma-pool"; + reg = <0 0x94300000 0 0x100000>; + no-map; + }; + }; + reg_usdhc2_vmmc: usdhc2-vmmc { compatible = "regulator-fixed"; regulator-name = "SD1_SPWR"; @@ -63,7 +81,8 @@ sound-wm8960 { }; &dsp { - memory-region = <&dsp_reserved>; + memory-region = <&dsp_vdev0buffer>, <&dsp_vdev0vring0>, + <&dsp_vdev0vring1>, <&dsp_reserved>; status = "okay"; };