From patchwork Fri Oct 11 15:04:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13832645 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 8D937D0D7B8 for ; Fri, 11 Oct 2024 15:11:31 +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=qwFmMBQpvB09DklGuZpIpvbFiWo+i75RNFs8vYOVIHk=; b=Iavddn8ORereAGVgjHsezwVA0V zWat/EuPonY5yhC/G8GCihCK0tN+iYZxRiPddRxfv2nsba8IYcR9kgMuemkAJ6kcpNMMhopbeeItR MnCM7c+om2+M7w377LG2fyRy1sWsdsdx7pNVactk1WWHp5pZQGU/5g+QWnS1uB+y9w5eLDFFFXPA8 GXYN79pzoBopxorGD+xYzRVVMyJPyO4uUfl8XTCIokBoyu4VwtjPdyU6TgCezohFAHE3DumbqM336 xr9W4vMVzJtM7RJdTeB0DFyIXVXbLJhlVvoGA9J0Jm/NNZ3aTAwBpBuymWR8cf7502RJaKmIJuo0Y MwAXRPoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szHIV-0000000Gjuv-3ZLL; Fri, 11 Oct 2024 15:11:19 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szHDI-0000000Gj2w-24s4 for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2024 15:05:58 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a99c0beaaa2so99285366b.1 for ; Fri, 11 Oct 2024 08:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728659155; x=1729263955; 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=qwFmMBQpvB09DklGuZpIpvbFiWo+i75RNFs8vYOVIHk=; b=OiaOEz48MmBOKHPg51e5KLIs/PQKH+rRdyUNIJbbV49A2fVGdlw8ZWcR11bui8ZLof H8weFe6TjzZEvqsAb/48nC0aRudvNTFcf0QCGyU/9m0eiuF6PvNDWR5Cejj5pp1bcnLa UdOrC9xDUtMg8lBtXFXspVr/aptqd5b1jo5vV3sh1XtElQ80/zQe120vA763C67JjtbP 9Dsx2BTsaeHJVTXKUkYqCfXSvsn63b4Pr+ECJb53QwX3tr2bSehAXg51dHY4yqRRHmqQ xa6mJy/+Ued8bNQGA92AR5JzQBHNWIhm24IzMdhgHmmPaQJuEa50EtznLLXjsbWuJecY iAww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728659155; x=1729263955; 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=qwFmMBQpvB09DklGuZpIpvbFiWo+i75RNFs8vYOVIHk=; b=v9Ea82wul+NHkZGgnN+rJvs4/Hfb2hnH2VyHfcdxjRptAuT6SmhhwJI/HdZxN/aPe+ cAyEawMUyk+1TewEpqzY30gYdjio6+sKG15BIBTVX6C/MUoTo9hjdXB9e55CM/rf9JdU OFWQ3qmqxPHVMY9i5WPSfuNnoiDdzNQLFoovL4AYuuwkB9bIozXSChnc3vFfrhJKUGhX YOrsWwCQSkhNgJhlGh1WI8T/qAce8mmh7BJrHgBGBoAoRLyLzaCLQhlY7Dw4STDDG+wW nsrtrztuON6D/hRe97oNcqIMkAsI2dpDJioq+rf4JLUgeZ7yHt6VOligR88fd7cbIEA1 1tjA== X-Forwarded-Encrypted: i=1; AJvYcCVU/QepaAx+rkDPA9FdI/aMKSnMM6mUaK6YSnFWkUFvgbYhXbPD0QXdEaQt+Hy0Me8Zn7IQEhgq1G03Gz4XijED@lists.infradead.org X-Gm-Message-State: AOJu0Yx4TP3QtIGroIF2Z5ldbbkxNxM6WaiPAN5/M+AsMr/EyzzvBGd3 f8IqF1Eh8lsdUvR6lsMFiNjv0XxlrLG6dY9gOFGI3hyr1+nniMSb X-Google-Smtp-Source: AGHT+IFgUEPF+5evxRwSi49X2ukDLzYTC+t6yJMgeOY7nvbeTzeO4nYl+8niLu+yuW1dInB/APU9eA== X-Received: by 2002:a17:907:e6df:b0:a8a:91d1:5262 with SMTP id a640c23a62f3a-a99b957fdd6mr274182866b.28.1728659154754; Fri, 11 Oct 2024 08:05:54 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99a7f5b0b5sm220879366b.94.2024.10.11.08.05.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 08:05:53 -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 v3 3/6] arm64: dts: imx8qxp-mek: add dsp rproc-related mem regions Date: Fri, 11 Oct 2024 11:04:36 -0400 Message-Id: <20241011150439.4027-4-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241011150439.4027-1-laurentiumihalcea111@gmail.com> References: <20241011150439.4027-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241011_080556_577711_5FA4445B X-CRM114-Status: GOOD ( 11.18 ) 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"; };