From nobody Fri Nov 29 02:46:22 2024 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (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 E65C11A4E7F; Wed, 25 Sep 2024 23:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727306480; cv=none; b=Dzq8jxkR0vxN4rFgrVk5bl7nGg2b5SOx+kEp+qkosWVRGMkHNX6EtYrCtdrd/vtA41Ly4w6c/ws11XaZddC5vvex212sBEjPeDoHRk9KVMXQsvlEQ4Py4qrqJsLDjEe+C5wZsfKxSh/9cJja24K04Fvca4VzhQDzmZdPNQtZgpI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727306480; c=relaxed/simple; bh=9MdjDmzaJSXdmEpYVFV1tpaG4DOpRWuJZAVX4CUD5lY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rzMVqfYT8RH5K4AKeLI+gjEI8ONqW5Fyc60up7QoJzDeLWspp6E7wUMitVdQOUvmGURiHJIWZQ8BI7qoiu6EnKUggtxktLV+BA/f+8EeYY4eSHX6/bItFwLtuYJDrdxiD1ANowiRhX1BL9zdmX5FhsmF3MubHQms766EKCLe43U= 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=F3DO+t0L; arc=none smtp.client-ip=209.85.208.47 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="F3DO+t0L" Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5c43003a667so364765a12.3; Wed, 25 Sep 2024 16:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727306477; x=1727911277; 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=6Y0/b/12goaJOUtphQuMfAjI4BvBF9ykQVTYDGjgY+w=; b=F3DO+t0L88QEGkB1Q9ZPAYaWBERpTconWTZDAfCLGiubMXTg7j8FWiKwwioOUMOrN+ tGbIjQEhaju+ntq4jQ0khLDyvkRcmkTdzGjPJbsyHm6hvVd8phnp+8LPTIZAkc2ocow8 oM3jU53IxCfh+wL+cnl6Nz8IYnUENYEBymUiVZlZRNWGkb5vmAbPTqqwnarJtZa/ocJU O9vRr/1Om0fLh5ti9jyDHYBFK4xGaNG/Z5+S19fSdXt1YCgsss0D30cOl302+7AGVrPf hvk1/VFtzBLprdtftim4RuKCjvZquYDYDAB2KDZA74gj4THDvjsGZQVkmyXiWfnJNJpA w6tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727306477; x=1727911277; 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=6Y0/b/12goaJOUtphQuMfAjI4BvBF9ykQVTYDGjgY+w=; b=vPBaq8KyZXA5GpdqhfC8SCt5qFvgD9aygD+2WKW5gOveskvR+emVkK/Y8OOULktAej Ytex7BSHg1Y2yDhgmQzw2CbdpC5tRLt1+dAz7qfIy2bp0Sqqjhvz+IXhN1H1c5sPT7wA g8ZWPT3muMTVaOAahjvqMZuoOvFkNvHw3BJK3iQpjcf9TTUCxUtDyN+Gpxun0UDBYHdu wck80Uqnw6JJbLO0BnPspvJwLinUVKWO5MjUXk55cTacYEBiPPQ9GBcOlnphGwJ5f/Z0 rPoodPqdMiUDDFFKu188IsIUyWXxRwwigvlYAX3LEg3KRRRid9V6KeaHnGHOQnbMv4ky jO/g== X-Forwarded-Encrypted: i=1; AJvYcCWpeQ0cD/tclyyFpFepeIn/hgZZ9P/4erEblqZOpCLMTD+mtsYDoXIFl+dw9Txn4rlCXwkCouIuLejUMeE=@vger.kernel.org X-Gm-Message-State: AOJu0Yy+aYAJheNiE2yiuJyXhQxMCWo5Y/bS160fgeBCDJa3klj9bW6V i2tNp7xYUh1TfnjcX2QK26kviRb2g9Ps5kk/dr3v5emMor/tA3jn X-Google-Smtp-Source: AGHT+IEMfbfQnQA9qcYuWORwKKxs2GMl24az24OZdgZIQPCbXrTDPL14Gi7TSLFD2svMh9oBJTgYAg== X-Received: by 2002:a05:6402:354a:b0:5c2:6311:8445 with SMTP id 4fb4d7f45d1cf-5c72060a8edmr3765685a12.2.1727306477046; Wed, 25 Sep 2024 16:21:17 -0700 (PDT) Received: from playground.localdomain ([86.127.146.72]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c5cf48c315sm2481026a12.15.2024.09.25.16.21.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 16:21:15 -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, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 6/6] arm64: dts: imx8qm: enable dsp node for rproc usage Date: Wed, 25 Sep 2024 19:20:08 -0400 Message-Id: <20240925232008.205802-7-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240925232008.205802-1-laurentiumihalcea111@gmail.com> References: <20240925232008.205802-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 and add 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