From patchwork Wed Sep 18 18:21:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Mihalcea X-Patchwork-Id: 13807088 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 7E76BCDD54F for ; Wed, 18 Sep 2024 18:28:55 +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=b74DjBwDaiguwxZN4WPzTGxSSIqR5dICOz1TwKaf1Qk=; b=kO/ozylBkep0LSI8AbdYzdIaMD 4mlX0mGF7/1MY7set+fK8XtEKyWiR1D9znl4bmpoKDWcPCdbc7fHqSyz6jnzSD8HsP1q3/jcMnYiG JpkMehkZNKRerYRzsZ0WvtfJ2hVVyAWHwQP2JQ0Vgsx9JocGf3xpYMv0aBsAhAo6S1I87QQa82mmq yifRkStXsXS5+KvCJgm3cxROGycZtpT/Cz0UOOIzho9EplybAHmLf858MflUPwQx21t4CQxx+AjKB +tMsdtbWgYA9SPymM9tf71Vok5YLaUgQfr3g80ENGQiaqmaX6yYxjltjOerGKCGPUDoJpQfXglq1E uivd8rVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqzPy-00000008oRs-0ldY; Wed, 18 Sep 2024 18:28:46 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqzJt-00000008ni8-0BSy for linux-arm-kernel@lists.infradead.org; Wed, 18 Sep 2024 18:22:30 +0000 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-535be093a43so9020688e87.3 for ; Wed, 18 Sep 2024 11:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726683747; x=1727288547; 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=b74DjBwDaiguwxZN4WPzTGxSSIqR5dICOz1TwKaf1Qk=; b=bwbinZdjjfbH6r/dWpMKFHNQemIr2C7/I/4t+4H2KrumR5o2MPQTAf9/3f8SO4389c Z3BxRuPif/pnK67tgK+XRPdH3I+VYJDOkM5GKvC5m519yP3awm33qLu8PXqu6ytqvoeg +tPbwLSh3SGwrACmtTnLZTi8rr9LPI9QBmJ9OLLK0diG44Jscf2cEQOwLiEBf3VCgx+Q Ld7zERjz7tvf4Z8zLm1/FcCbMyxlhTVBX24+Hmo2G/zDB5NRhfZot4pr3/KGBSE1pFzL 7w4WrcDmy2cWr6aFXl1171p4YxwbFoT30FyDnpyPDjh6VucMjHwyVUjiuG2CXrP0Emil cR2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726683747; x=1727288547; 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=b74DjBwDaiguwxZN4WPzTGxSSIqR5dICOz1TwKaf1Qk=; b=BgTR6mzQ21yZ5Ij1EMpzJZ+kCJNTa1LvK3UEmvMKSESw43RMvIheA4eR8V4O2W5xBL Ja9ihq1v7AsxDpe4UaLdzv81KRNcspctUYdy6NWFOQp21qMWLCsmuwArNGhHmqsEQTVe yTFAF/ptlyrDWrqW6z3BN0TiifQHJxCJ/MgiCQiBpc9UNuiCvYi7RCxFn+KBV02EQcb3 VEPFPojCCIgKJnsMyh0waHx0+yRWBSR1LMlTMT91P6whVRn1PZFPqGBR5Aj2ndYaQY3C RGeq1z1ra5jabhMoHLWk9JPxMaeOjf0cf8rPXwJ4T25xvs8QK7Em+0WfzuL1YtMHd4oe YOyg== X-Forwarded-Encrypted: i=1; AJvYcCWxqrYJCFD1/E9AvR33aZQIcENlTItSb1Gau7rUnxSotrZXS3ZHNfrvkNLy7DhrANQJBYiDJuDdxIOmjkU80kr/@lists.infradead.org X-Gm-Message-State: AOJu0YyFmV9fA0dajk6MCJOoEt7jCjAp6yb1qdw8lo6/rCUMMpFzWXSd nQGYkrn9P/UISsFchXWW1s43wNu6yGMC19BHHAvehmuDR9qUatdt X-Google-Smtp-Source: AGHT+IEgDcqWPZk6PODNPj/XhOHH/yFVmMsQL7IfvquOxjcmWF5SBcsMwOEuGAebdORj5/r29Zkppg== X-Received: by 2002:a05:6512:2345:b0:533:4689:973c with SMTP id 2adb3069b0e04-53678fbaf3cmr10878410e87.23.1726683746810; Wed, 18 Sep 2024 11:22:26 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c42bb5312dsm5200146a12.23.2024.09.18.11.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2024 11:22:26 -0700 (PDT) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Daniel Baluta , Shengjiu Wang , Iuliana Prodan Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: imx8qm: enable dsp node for rproc usage Date: Wed, 18 Sep 2024 14:21:17 -0400 Message-Id: <20240918182117.86221-6-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240918182117.86221-1-laurentiumihalcea111@gmail.com> References: <20240918182117.86221-1-laurentiumihalcea111@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240918_112229_112049_834827F3 X-CRM114-Status: GOOD ( 12.04 ) 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 Set the status of the dsp node to "okay" and assign its reserved memory regions. Signed-off-by: Laurentiu Mihalcea --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 62203eed6a6c..7ee69ce7b193 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -92,6 +92,27 @@ vdevbuffer: memory@90400000 { reg = <0 0x90400000 0 0x100000>; no-map; }; + + dsp_reserved: dsp@92400000 { + reg = <0 0x92400000 0 0x1000000>; + no-map; + }; + + dsp_vdev0vring0: vdev0vring0@942f0000 { + reg = <0 0x942f0000 0 0x8000>; + no-map; + }; + + dsp_vdev0vring1: vdev0vring1@942f8000 { + reg = <0 0x942f8000 0 0x8000>; + no-map; + }; + + dsp_vdev0buffer: vdev0buffer@94300000 { + compatible = "shared-dma-pool"; + reg = <0 0x94300000 0 0x100000>; + no-map; + }; }; lvds_backlight0: backlight-lvds0 { @@ -640,6 +661,12 @@ &sai7 { status = "okay"; }; +&vpu_dsp { + memory-region = <&dsp_vdev0buffer>, <&dsp_vdev0vring0>, + <&dsp_vdev0vring1>, <&dsp_reserved>; + status = "okay"; +}; + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>;