From nobody Fri Nov 29 17:28:12 2024 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C90421CB332; Wed, 18 Sep 2024 18:22:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726683750; cv=none; b=QdC9dr6RPfNGQuUO0F6IifgmM23hYYeazDPkhB8uCQl/W1LFWwQ/CbW/8XMzS6tsYo6gdJHWc99tEN7OPHUwUp1fV43enOyOW2s2/c62t5vPJRJj1u/hAZwxYVUAaXrCs76Kln6MFXMb3y7pdvI07usx6zPKd1aZ4U8Fq0CE5kU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726683750; c=relaxed/simple; bh=ecm5qBuobUxfLm11/z7zon/qPnxquqho/PMLTb6i/18=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ay+V6bK9LXf7hN7QsbioEEJ/ySPIRTYgxn2Ltv/bzuEnegIU1KgBZGp2hIZUMVM+4fHmp/eWrKVTLjk2DP8IeuKp71u9j26jaTfO3yJBTK9nSwaRIdGLw2JmslaFEz7X4SfVlnBNQVP0Roesqst61wsglsQPajFe3hk0h5XcSsY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mQNiYUvE; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mQNiYUvE" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-535be093a43so9020689e87.3; 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=vger.kernel.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=mQNiYUvECaNFoT5Lw1ie10V8ETT74QZHyY7/QZ5ULZaJSiSUzv1EAzZL1INtDxJtkF O4An6nxZ/vfjH+NQW60TVg283IdSWgKNMNzDzhE3mQACsApDoplBENoezrgiKaNXdWN6 b+eGvB+AZVeYrn9bpkNPPcEeXM+CKZHFg4UEbNf6cEi42p1UCHeBZGvnWLN+wM+9m0Ud SY9ZQ+iaWEGqV7kQ9Z2ZfPhoD0wuVS95IdDnVe9F5FkYQmLRgv+cr/izRNDRGUQjQ1/0 FYa+n2dtKG6Utv0YSUokAhSHtcLQPR8vcjO0yLVYFYT/6zllpu5HSA4QArWQgSiD3xp4 6Pog== 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=vVds5u7WFaJe7NxzISiiB2+o9HHmPNKKO/7fRJ+QpZK5pMAOOMlF7MExX5nxIpgPOW 6yg6aouclwN6ag71mheQYPMlP7/eD/rp0J4JT5QzPB0D0cMim4HS33nNc/TueBAgAK9D C3krCRWVfhgesR1dSRIHVRuvVJsQynVyL76g5Obi4hAdb9JpeMZ24sPbsbDbL/bxY88Q 7kBljwlybzbO1bn4YyAfEWAoMmJXAFi+BbIVd+NhLnIMu6gOvqFHpdwHlcypKufinET6 7Oc9LYm4QZdfr1I3E1T2zuAR0ToKcwWk9GcSch+eZr0znsz5li6KEIC5T/P9KI8P28l6 eQvg== X-Forwarded-Encrypted: i=1; AJvYcCW1ofWJrBKE2ySq8OyMUsuCYGrMRwkduAm95ptXeLqoZI6KpNyPhYZsQHRKSQqFBWMaPZmZQUc6cFar6zo=@vger.kernel.org X-Gm-Message-State: AOJu0YxZTaQGJizzTR7qMJqtNAHMJDXgEQH0apwTh34h+VD3Gp8Z6TMg 3HWxQExefrAjp2Vjom50+hCtjdL0qS0aQ+hzW4Vd1A3Rug17rfvL 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D <0 0x90400000 0 0x100000>; no-map; }; + + dsp_reserved: dsp@92400000 { + reg =3D <0 0x92400000 0 0x1000000>; + no-map; + }; + + dsp_vdev0vring0: vdev0vring0@942f0000 { + reg =3D <0 0x942f0000 0 0x8000>; + no-map; + }; + + dsp_vdev0vring1: vdev0vring1@942f8000 { + reg =3D <0 0x942f8000 0 0x8000>; + no-map; + }; + + dsp_vdev0buffer: vdev0buffer@94300000 { + compatible =3D "shared-dma-pool"; + reg =3D <0 0x94300000 0 0x100000>; + no-map; + }; }; =20 lvds_backlight0: backlight-lvds0 { @@ -640,6 +661,12 @@ &sai7 { status =3D "okay"; }; =20 +&vpu_dsp { + memory-region =3D <&dsp_vdev0buffer>, <&dsp_vdev0vring0>, + <&dsp_vdev0vring1>, <&dsp_reserved>; + status =3D "okay"; +}; + &iomuxc { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_hog>; --=20 2.34.1