From patchwork Mon Aug 26 17:56:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 13778318 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 E4C26C5321D for ; Mon, 26 Aug 2024 17:59:39 +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=K3qKt60IA+8SMUnwHI81gxuyfVTw/GaObbKMY0sD6g8=; b=49yr69wjpHbKLDK98w3PHfbmMw kOl6ZF/qjKOz3Fv8vvpqhdfIpw1hGmfCbPak6ohRGvTClHan0x9+z56KE40kYT9og6VH1KsTxlQVB FUq/0pREAe1OjldmDesBl+JB3x5QcYblVfmJ9ztMGwgi7INVmmDe34sMoTENNz5NwUlCcgZOT46HD wpK4Q36Ss8edt1ncIw4c4bHYBKRw3XYTwWzHZ59UkiuAfx+L23TEhds31UPeE6j3vfV+8wK7QBBC9 k7RKuRJaAphnOHPFsABurfIVk1GeBBzBQ+qNA0EAEvcwGSHFGix2H38TvUXDEzr5Hghw7st72O2OL Y1gXCxvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sie00-00000008JAW-2HFN; Mon, 26 Aug 2024 17:59:28 +0000 Received: from mta-64-226.siemens.flowmailer.net ([185.136.64.226]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sidwv-00000008IQ9-0QJ0 for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 17:56:19 +0000 Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 20240826175611796af162386e4c4a6f for ; Mon, 26 Aug 2024 19:56:11 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=K3qKt60IA+8SMUnwHI81gxuyfVTw/GaObbKMY0sD6g8=; b=BwVym2FKf4NoJWXhih/m0Sd3L3Ikr+o+yfSWKoWnX/ONFGSxaRKHkyIJTTAaxcrD+tAdCE yv+tzWGCBXqBVppbG21kxwzXblJ9dOfDMJItcil1KdNQ8DcNFbiIi8RTc8nTHJx8rv317I8C x7scrumhMEqsWPGpGTz1KwEG40HKe2d0wVM92wLjgjUwX4o7+Df9Fuu1T3Lo4lxreqkuYQMB gzRXWbBgCNS4rPhZWARRyVYwfAotziKOj7fSEsW6FnECGo+B0VeFLukLWGvcTIl7tvA4o1tv XdJRijY8NBFh2f3scuIcG8q+CiDkvcJIkLVFttQge97ulEp/Gqq7Qn4w==; From: Jan Kiszka To: Nishanth Menon , Santosh Shilimkar , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Siddharth Vadapalli , Bao Cheng Su , Hua Qian Li , Diogo Ivo Subject: [PATCH 1/5] dt-bindings: soc: ti: Add AM65 peripheral virtualization unit Date: Mon, 26 Aug 2024 19:56:05 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_105617_306316_74C06B06 X-CRM114-Status: GOOD ( 12.58 ) 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: Jan Kiszka The PVU allows to define a limited set of mappings for incoming DMA requests to the system memory. It is not a real IOMMU, thus hooked up under the TI SoC bindings. Signed-off-by: Jan Kiszka --- .../bindings/soc/ti/ti,am654-pvu.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/ti/ti,am654-pvu.yaml diff --git a/Documentation/devicetree/bindings/soc/ti/ti,am654-pvu.yaml b/Documentation/devicetree/bindings/soc/ti/ti,am654-pvu.yaml new file mode 100644 index 000000000000..3095db0bef44 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/ti,am654-pvu.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) Siemens AG, 2024 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/ti,am654-pvu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM654 Peripheral Virtualization Unit + +properties: + compatible: + enum: + - ti,am654-pvu + + reg: + maxItems: 2 + + reg-names: + items: + - const: cfg + - const: tlbif + + interrupts: + items: + - description: fault interrupt + + interrupt-names: + items: + - const: pvu + +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + ti-pvu@30f80000 { + compatible = "ti,am654-pvu"; + reg = <0 0x30f80000 0 0x1000>, + <0 0x36000000 0 0x100000>; + reg-names = "cfg", "tlbif"; + interrupts-extended = <&intr_main_navss 390>; + interrupt-names = "pvu"; + };