Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp694613lqm; Wed, 1 May 2024 12:42:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYPgQxgiHjVsCQv29PxoPUARQ4Op+pG1+ZLt0ubRp+6SFwGxrQVNBdsXpmtcWzk8q6hBMlo0N/8SGeJ4cx5KX4Yx1GYa04m3jpXcTczA== X-Google-Smtp-Source: AGHT+IFKCtIBY6i7SdUZry6LsErUA3lDQ8MwU2h2ZTdYcMebJtdoOpq4eRtfPSqUTu3uvCssn0gu X-Received: by 2002:a05:6512:3c81:b0:51b:528e:ce7d with SMTP id h1-20020a0565123c8100b0051b528ece7dmr3327811lfv.34.1714592546397; Wed, 01 May 2024 12:42:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714592546; cv=pass; d=google.com; s=arc-20160816; b=yU0ahbBHfB/i1Wmq/FVO0WdSESy4Zu4dh9eY4DpIhfzQVBBemh9BG6KpKM8O4LvnQR mjWyqwUsPtIPo1nRRwvmzrxEsYGgvxJj4149P0xw4M6FTzHnI4BZcCLp9diwDmNrmyBV e7BC00ptPrD/ARGnlSv9wQlbBZuGJIasiB8PmD0TxzFfH5va1LvPlXwiloxdz4HouZr6 4gymUV6aYfGCfKLRtvs/sDy6W6/g6IzBBgsdljDWu1w+ydlfSDYB6olvvHndEiZEbgsy mege0YqV+bWyBTC/Fey1PRokBqgbWaf4ZnzlDFT+B94NQQJjSNzUkexDfAGordYuWvc9 uMew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=jWXU0JkDOU9HuQkamimPRjSRXflu3jQKPWewfH4wu58=; fh=LYpjcRergfDQmULkdHhI2CPq/ZFeln5IY30j7L9+djg=; b=HMthrKQBdncRi6bXpbDfHCdXiCC1TwCEWk3C5OWcXYzYDLI7hZPzL3QLcg1haHKZey qo+RaOAhLURkntms0khY9lfx6NaqVrglhOhmWnZwbad3Si2ax971K3iTBI/KjcnCI4xl SqQRPlEKm0W/cBwrXrVA2d2612Xh9bycGKhPZK+D+X/Kt0JqHLw2oY+ja/P8bLgiZ1Y3 OWAkTt9UJj6lUK3Bovs8+qsmj01f4I/RtHMKiWR8JejTaLrMWLbdYMP91NEhGhm+/3Mv 2ShnIbNT1z1qkZCksxIM+uQwvj+QxoW5UwFLVbk6PXIHjWVPm+Mt6uS/rPUne/Iy5HsN 5nYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eeKMprLL; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-165715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k6-20020a1709062a4600b00a558822e48asi15475224eje.558.2024.05.01.12.42.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 12:42:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eeKMprLL; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-165715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8A7371F230D6 for ; Wed, 1 May 2024 19:42:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04EA1161933; Wed, 1 May 2024 19:42:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="eeKMprLL" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEBE81474B9; Wed, 1 May 2024 19:42:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714592532; cv=none; b=k+cT6GHwSnKbMUPerU8cjwYJRkdACMpVsrdXT6PRaBZ1184hMSCIvdC9ajwC50xEacapc0Eyi/kQ/znSG8NRwKz6RvZM41PoFld+U5eAVUJfZTrhLUNjMc1Rmfd1gUK4ljLPouHXNCL4VADttXInQhnCtdYoFYG6KDvYbHBQQKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714592532; c=relaxed/simple; bh=hWE+HRqsYOkbNGE7QZUoRuH7leej+iqZ6A+V++OTDvg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Uh+CgRB7ZdkZSjLTYL6xIZ1giceD/bSx/nm+77otk2pRIBNsHySZ+wFIZ7cfxKSZkY4XPxSUgm5RsVuHLBvK7vmUwGCb0BUOzjSYlOTVLn/oacbKbSFNwzt0aJ9eWB8j+6w6vK5oa9wJHhQsTQtSCKfQtBZMTQXW09na7OZRboI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=eeKMprLL; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 441JfvUr047309; Wed, 1 May 2024 14:41:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1714592517; bh=jWXU0JkDOU9HuQkamimPRjSRXflu3jQKPWewfH4wu58=; h=From:To:CC:Subject:Date; b=eeKMprLLjcW3/nwt5jTRlzEKvZVRPf64DeNS2uUx0fH4L1deIcOufM6oKpVrY1KAO rq5Ch+YoUKGMJy80vnRxFRnWat3fZ8paGSVjIuqKJYuAGT5rqZuPUwHy9Nj7sKY3pY SbvP305HRvj5XVGDHP9UIXqVC+1gjwm3pq7zlVk8= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 441Jfv8Y016738 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 1 May 2024 14:41:57 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 1 May 2024 14:41:57 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 1 May 2024 14:41:57 -0500 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 441JfvvC107762; Wed, 1 May 2024 14:41:57 -0500 From: Judith Mendez To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , Subject: [PATCH] ARM: dts: am335x: Add PRU system events for virtio Date: Wed, 1 May 2024 14:41:57 -0500 Message-ID: <20240501194157.2727136-1-jm@ti.com> X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 From: Nick Saulnier A PRU system event "vring" has been added to each of the PRU nodes in the PRU-ICSS remote processor subsystem to enable the virtio/rpmsg communication between MPU and that PRU core. The additions are done in the base am33xx-l4.dtsi, and so are inherited by all the AM335x boards. Do note that PRUSS is available only on all AM3356+ SoCs. The PRU system events is the preferred approach over using OMAP mailboxes, as it eliminates an external peripheral access from the PRU-side, and keeps the interrupt generation internal to the PRUSS. The difference from MPU would be minimal in using one versus the other. Mailboxes can still be used if desired, but currently there is no support on firmware-side for the SoC to use mailboxes. Either approach would require that an appropriate firmware image is loaded/booted on the PRU. Signed-off-by: Nick Saulnier Signed-off-by: Suman Anna --- arch/arm/boot/dts/ti/omap/am33xx-l4.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/ti/omap/am33xx-l4.dtsi b/arch/arm/boot/dts/ti/omap/am33xx-l4.dtsi index d6a143abae5f6..d763ed4a15b58 100644 --- a/arch/arm/boot/dts/ti/omap/am33xx-l4.dtsi +++ b/arch/arm/boot/dts/ti/omap/am33xx-l4.dtsi @@ -915,6 +915,9 @@ pru0: pru@34000 { <0x22400 0x100>; reg-names = "iram", "control", "debug"; firmware-name = "am335x-pru0-fw"; + interrupt-parent = <&pruss_intc>; + interrupts = <16 2 2>; + interrupt-names = "vring"; }; pru1: pru@38000 { @@ -924,6 +927,9 @@ pru1: pru@38000 { <0x24400 0x100>; reg-names = "iram", "control", "debug"; firmware-name = "am335x-pru1-fw"; + interrupt-parent = <&pruss_intc>; + interrupts = <18 3 3>; + interrupt-names = "vring"; }; pruss_mdio: mdio@32400 { base-commit: 4cece764965020c22cff7665b18a012006359095 -- 2.43.2