From patchwork Mon Aug 26 21:50:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 13778545 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 59753C5472C for ; Mon, 26 Aug 2024 21:53:34 +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=6/GDVNBtyr0vWKsc7M0zWXQJJOo3rWBfcV780bUMQOM=; b=z1Vz4uB1AeTzyDY6WHkVgtfsE1 +gwWFhj2JDPaUGw9Jahe+zswW9LZAHb8xgK2/84khgR3PAoMC+OSx4jOk/hefWi1Yect3/DV+XHvf pyoLaT+H7FLbowWefbvbvZY0N6WzlOfBWJv8isbY0Rp7dlvUz2Le7DoOaLiCvN7HBszUx4+85RXs2 L0McJCrMiT4Xciv9gfKodzTbCpXQ26gLE7GsCzH3NxvZJJqn093N57wuEP0LHUZnFs8pMoGK6/WJP MCBMaxYO5+PO/lDuY+oJN4WoOUW0i9ScwXh6odrxMZzFnZn6CFiGuFl0MCFyDMhuOoSVCvv+6IoZ9 KFVkQxDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siheQ-00000008tiA-0WrJ; Mon, 26 Aug 2024 21:53:26 +0000 Received: from mta-64-227.siemens.flowmailer.net ([185.136.64.227]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sihbK-00000008sva-0di4 for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 21:50:17 +0000 Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 20240826215010e1e635d11f1b756479 for ; Mon, 26 Aug 2024 23:50:10 +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=6/GDVNBtyr0vWKsc7M0zWXQJJOo3rWBfcV780bUMQOM=; b=fnarD7u1PLvIL3xZbzs4PyCXDCZEQAUGx3EeFiVVAqfb6V/ObjLrDjiR7quELIDrkJMgCy kyU/ztxWjiKND8DMI2r4Hap/pM6Ge+cY08MbV3uW2QkgUqFrOHv08jSbQss1yx+DFw/BTuAM UaAp6ltckrqRG5Om4rhuTNq5yXngOnn6klWQe313k325z3/RTk4ZbJhuersqP15Buq1fhgeV WoERmJpZHj+DrYjaPjFfqdjmc8xjHgDrWc+P9xoqGoIrmjVRR5Yr2VMKbXz/KO656hCeB4o+ igLBaXIciCmcX5F+H9zXhTHzA25j/uBwCzpxmwpZt/hUtDK+Da6wkmsg==; 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 v2 3/6] dt-bindings: PCI: ti,am65: Extend for use with PVU Date: Mon, 26 Aug 2024 23:50:04 +0200 Message-ID: <82ac9e266f6aca42699ec4a3c8f10887789ee6bf.1724709007.git.jan.kiszka@siemens.com> 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_145014_564342_5F525720 X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. 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 Describe also the VMAP registers which are needed in order to make use of the PVU with this PCI host. Furthermore, permit to specify a restricted DMA pool by phandle. Signed-off-by: Jan Kiszka --- .../devicetree/bindings/pci/ti,am65-pci-host.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml index 0a9d10532cc8..72f78f21e1e8 100644 --- a/Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml +++ b/Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml @@ -20,7 +20,7 @@ properties: - ti,keystone-pcie reg: - maxItems: 4 + maxItems: 6 reg-names: items: @@ -28,6 +28,8 @@ properties: - const: dbics - const: config - const: atu + - const: vmap_lp + - const: vmap_hp interrupts: maxItems: 1 @@ -69,6 +71,9 @@ properties: items: pattern: '^pcie-phy[0-1]$' + memory-region: + description: phandle to restricted DMA pool to be used for all devices behind this controller + required: - compatible - reg @@ -104,8 +109,10 @@ examples: reg = <0x5500000 0x1000>, <0x5501000 0x1000>, <0x10000000 0x2000>, - <0x5506000 0x1000>; - reg-names = "app", "dbics", "config", "atu"; + <0x5506000 0x1000>, + <0x2900000 0x1000>, + <0x2908000 0x1000>; + reg-names = "app", "dbics", "config", "atu", "vmap_lp", "vmap_hp"; power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>; #address-cells = <3>; #size-cells = <2>;