From mboxrd@z Thu Jan 1 00:00:00 1970 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 15A8DC44515 for ; Thu, 16 Jul 2026 17:07:45 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VQuquWybIJt5NPvoYpIJOEYlI5UicxGSp3uv0yTZvu4=; b=xyDP/TSEeb1mdFuSuSImu2hdzc v/ybYwoTAL1fTyKIFtLa+g6p10jzvrPPRQLQ7Jo9yqHctz10P2cXs2OHQZLv0slago82Ey4SyEDkV bZp1tEX0ahPdmAHpErG+yHdCnzk6JnOcGcmZ/EfP1hcXPRGbhml4jk2B01s4qCczLUTZiHTVtavT5 g6JDRugd1yXQ0SCsn/TMbxaG8wAEP3kj8IPVjTDzE8MBYEcyrhLttOPMCVwaJjcbMctxPfQVeGsjf cx6lihVjFDa5vl24m+z+/RxeXEATIi+yxzVSaaNSSiDLgLtFiOv6xQqE7ZsA+BA9UHNutbEIA20zi +E+ch3qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wkPYh-00000000E0q-0SMz; Thu, 16 Jul 2026 17:07:39 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wkPYg-00000000E0H-0TMC for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2026 17:07:38 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 320FD60A5E; Thu, 16 Jul 2026 17:07:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B1A01F00A3D; Thu, 16 Jul 2026 17:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784221656; bh=VQuquWybIJt5NPvoYpIJOEYlI5UicxGSp3uv0yTZvu4=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=Qdn6S6MojrjHJfMkB/xPadjRuxuUBYqMPkyMFYE47DXeAf4ziW6XkxrAFOxK2ZkKx xLZvsiGWzRvDeLYIHLcOayiYd3zbtRqwszhzz4GqRVm/s+Av5IJ+lcae3Hzv3D9SHU mSdncdEXJfo2eJJUm7I2Elm2+ugRC8tISq/cDYETdRewZmOmIMrLOE+BYp2ou6hEj/ N6QGTOakVKnEy4OOvVrx0oMMrMfeqr+VOaD4caJQhpZMpI/+VH2apvgv8y5M3IKVqw Bsoiq5PXK3fU9zosbHt8UOSaj96UAcD+07kbzRp4uvoHBwCuPoeQLeLE80vjDu/jcY ZDcyr8Ak44HHg== From: Thierry Reding Date: Thu, 16 Jul 2026 19:07:13 +0200 Subject: [PATCH v8 2/6] dt-bindings: pci: tegra264: Switch to PCIe root port bindings MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260716-tegra264-pcie-v8-2-23e51589229b@nvidia.com> References: <20260716-tegra264-pcie-v8-0-23e51589229b@nvidia.com> In-Reply-To: <20260716-tegra264-pcie-v8-0-23e51589229b@nvidia.com> To: Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Karthikeyan Mitran , Hou Zhiqiang , Thomas Petazzoni , =?utf-8?q?Pali_Roh=C3=A1r?= , Michal Simek , Kevin Xie , Thierry Reding , Aksh Garg Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thierry Reding X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2568; i=treding@nvidia.com; h=from:subject:message-id; bh=y0cAIDjIfEssDyJ41GlxlCD4kHVl3Su/tkVt6PDr3jQ=; b=owEBbQKS/ZANAwAKAd0jrNd/PrOhAcsmYgBqWQ/QxB2TaBtKd69Bs1zWPF8liEb1Uhqm/g4G0 qTeQ8Ouma2JAjMEAAEKAB0WIQSI6sMIAUnM98CNyJ/dI6zXfz6zoQUCalkP0AAKCRDdI6zXfz6z oZkID/0ZqjCPz7gVVBzumGwFhXuHlHpNk86SVtat/ARgnvhXxM9+a8ZC1kXOm/a6X2FRnZvA7Hv Yxm0octjq3j7+2eXAjm1JGNMsgk3AdTsR9NbCs79Si9y31DYciAG81w5HtbC/FMY5NSJBQGPlrg HVykOo4gvxKLD5/I7Fc0CL88f8AtDvunKaBbBDAsjdW7k5mEOdVVTqPvbPxTOKpM9fRRYgOKGWf 4OJuO7mFEDlisYeagtEVC4OoYzJ6pnkhvu9E/rT01z52shSY+ZVBHRMVGF7BGYdQm0jVgljZkRY xFxrfQJi/lNzx/9jdPZsBnNAgRWMV/myqNuRKPOFH11ETw5Iy6v2j5udDLluFNrwDCmvQSpe1fT gODk+2/qyiPPCZpWlhyuDXVkQG4Qrngz5ZwJqXzTH9sffeBj30MEb6acvzgfKXhLakor5OnC7oT jyyy1Nq7CPQfffdtwp2Zjmk9vKirzw1A3krx2dY8IIezgpp/Fg2mg5iUiWI7LG3r9SM4Ux9+6fE qQ+yRUumfi/OLlXhWAgUsZ29Uf3lvutG6tJVkgu1mHYHaWOM9+l0i5y8GyH0uob6Q0nbR3/edgP uF83WP6MbmBXie0Le6aAfPtUqz13WvB4Dqu+Aur0VHngp7cFYp6C8V06LGUg4rQ8hrJVakLpexH 9MD5VMVjgYsAWnw== X-Developer-Key: i=treding@nvidia.com; a=openpgp; fpr=88EAC3080149CCF7C08DC89FDD23ACD77F3EB3A1 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: Thierry Reding Switch to using the PCIe root port bindings in preparation for using the standard WAKE# handling. Signed-off-by: Thierry Reding --- .../bindings/pci/nvidia,tegra264-pcie.yaml | 40 +++++++++++++++++----- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/nvidia,tegra264-pcie.yaml b/Documentation/devicetree/bindings/pci/nvidia,tegra264-pcie.yaml index acb677d477fb..f0114defc04e 100644 --- a/Documentation/devicetree/bindings/pci/nvidia,tegra264-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/nvidia,tegra264-pcie.yaml @@ -52,12 +52,11 @@ properties: - description: PCIe controller ID maximum: 5 -required: - - interrupt-map - - interrupt-map-mask - - iommu-map - - msi-map - - nvidia,bpmp +patternProperties: + '^pcie@': + type: object + $ref: /schemas/pci/pci-pci-bridge.yaml# + unevaluatedProperties: false allOf: - $ref: /schemas/pci/pci-host-bridge.yaml# @@ -96,6 +95,13 @@ allOf: - const: xpl - const: ecam +required: + - interrupt-map + - interrupt-map-mask + - iommu-map + - msi-map + - nvidia,bpmp + unevaluatedProperties: false examples: @@ -130,9 +136,18 @@ examples: ranges = <0x81000000 0x00 0x84000000 0xd0 0x84000000 0x00 0x00200000>, <0x82000000 0x00 0x20000000 0x00 0x20000000 0x00 0x08000000>, <0xc3000000 0xd0 0xc0000000 0xd0 0xc0000000 0x07 0xc0000000>; - bus-range = <0x0 0xff>; nvidia,bpmp = <&bpmp 0>; + + pcie@0 { + device_type = "pci"; + compatible = "pciclass,0604"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; }; @@ -167,8 +182,17 @@ examples: ranges = <0x81000000 0x00 0x84000000 0xa8 0x84000000 0x00 0x00200000>, <0x82000000 0x00 0x28000000 0x00 0x28000000 0x00 0x08000000>, <0xc3000000 0xa8 0xc0000000 0xa8 0xc0000000 0x07 0xc0000000>; - bus-range = <0x00 0xff>; nvidia,bpmp = <&bpmp 1>; + + pcie@0 { + device_type = "pci"; + compatible = "pciclass,0604"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; }; -- 2.54.0