Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/816060/?format=api
{ "id": 816060, "url": "http://patchwork.ozlabs.org/api/patches/816060/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/1505889764-19397-4-git-send-email-mmaddireddy@nvidia.com/", "project": { "id": 21, "url": "http://patchwork.ozlabs.org/api/projects/21/?format=api", "name": "Linux Tegra Development", "link_name": "linux-tegra", "list_id": "linux-tegra.vger.kernel.org", "list_email": "linux-tegra@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1505889764-19397-4-git-send-email-mmaddireddy@nvidia.com>", "list_archive_url": null, "date": "2017-09-20T06:42:43", "name": "[3/4] arm64: tegra: Add PCIe node for Tegra186", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "e6d32b381d5cb091714f23afecf12c236283341f", "submitter": { "id": 72399, "url": "http://patchwork.ozlabs.org/api/people/72399/?format=api", "name": "Manikanta Maddireddy", "email": "mmaddireddy@nvidia.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/1505889764-19397-4-git-send-email-mmaddireddy@nvidia.com/mbox/", "series": [ { "id": 4033, "url": "http://patchwork.ozlabs.org/api/series/4033/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=4033", "date": "2017-09-20T06:42:41", "name": "Add Tegra186 PCIe support", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4033/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/816060/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/816060/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-tegra-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-tegra-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xxqzP3gt8z9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 16:46:57 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751548AbdITGq4 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 20 Sep 2017 02:46:56 -0400", "from hqemgate15.nvidia.com ([216.228.121.64]:3074 \"EHLO\n\thqemgate15.nvidia.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751471AbdITGq4 (ORCPT\n\t<rfc822;linux-tegra@vger.kernel.org>);\n\tWed, 20 Sep 2017 02:46:56 -0400", "from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by\n\thqemgate15.nvidia.com\n\tid <B59c20ed30003>; Tue, 19 Sep 2017 23:46:46 -0700", "from HQMAIL101.nvidia.com ([172.20.161.6])\n\tby hqpgpgate101.nvidia.com (PGP Universal service);\n\tTue, 19 Sep 2017 23:46:48 -0700", "from HQMAIL102.nvidia.com (172.18.146.10) by HQMAIL101.nvidia.com\n\t(172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1293.2;\n\tWed, 20 Sep 2017 06:43:44 +0000", "from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL102.nvidia.com\n\t(172.18.146.10) with Microsoft SMTP Server id 15.0.1293.2 via\n\tFrontend Transport; Wed, 20 Sep 2017 06:43:44 +0000", "from manikanta-pc.nvidia.com (Not Verified[10.19.65.28]) by\n\thqnvemgw02.nvidia.com with Trustwave SEG (v7, 5, 5, 8150)\n\tid <B59c20e1e0000>; Tue, 19 Sep 2017 23:43:43 -0700" ], "X-PGP-Universal": "processed;\n\tby hqpgpgate101.nvidia.com on Tue, 19 Sep 2017 23:46:48 -0700", "From": "Manikanta Maddireddy <mmaddireddy@nvidia.com>", "To": "<bhelgaas@google.com>, <thierry.reding@gmail.com>, <jonathanh@nvidia.com>", "CC": "<linux-tegra@vger.kernel.org>, <linux-pci@vger.kernel.org>,\n\tManikanta Maddireddy <mmaddireddy@nvidia.com>", "Subject": "[PATCH 3/4] arm64: tegra: Add PCIe node for Tegra186", "Date": "Wed, 20 Sep 2017 12:12:43 +0530", "Message-ID": "<1505889764-19397-4-git-send-email-mmaddireddy@nvidia.com>", "X-Mailer": "git-send-email 2.1.4", "In-Reply-To": "<1505889764-19397-1-git-send-email-mmaddireddy@nvidia.com>", "References": "<1505889764-19397-1-git-send-email-mmaddireddy@nvidia.com>", "X-NVConfidentiality": "public", "MIME-Version": "1.0", "Content-Type": "text/plain", "Sender": "linux-tegra-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<linux-tegra.vger.kernel.org>", "X-Mailing-List": "linux-tegra@vger.kernel.org" }, "content": "Tegra186 has three PCIe controllers, which can be operated\nin 401, 211 or 111 lane combinations. Add DT support for\nPCIe controllers.\n\nSigned-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>\n---\n arch/arm64/boot/dts/nvidia/tegra186.dtsi | 82 ++++++++++++++++++++++++++++++++\n 1 file changed, 82 insertions(+)", "diff": "diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi\nindex 0b0552c9f7dd..9edf2a839e5d 100644\n--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi\n+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi\n@@ -443,6 +443,7 @@\n \t\tshmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;\n \t\t#clock-cells = <1>;\n \t\t#reset-cells = <1>;\n+\t\t#power-domain-cells = <1>;\n \n \t\tbpmp_i2c: i2c {\n \t\t\tcompatible = \"nvidia,tegra186-bpmp-i2c\";\n@@ -465,4 +466,85 @@\n \t\t\t\t(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;\n \t\tinterrupt-parent = <&gic>;\n \t};\n+\n+\tpcie@10003000 {\n+\t\tcompatible = \"nvidia,tegra186-pcie\";\n+\t\tpower-domains = <&bpmp TEGRA186_POWER_DOMAIN_PCX>;\n+\t\tdevice_type = \"pci\";\n+\t\treg = <0x0 0x10003000 0x0 0x00000800 /* PADS registers */\n+\t\t 0x0 0x10003800 0x0 0x00000800 /* AFI registers */\n+\t\t 0x0 0x40000000 0x0 0x10000000>; /* configuration space */\n+\t\treg-names = \"pads\", \"afi\", \"cs\";\n+\n+\t\tinterrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */\n+\t\t\t <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */\n+\t\tinterrupt-names = \"intr\", \"msi\";\n+\n+\t\t#interrupt-cells = <1>;\n+\t\tinterrupt-map-mask = <0 0 0 0>;\n+\t\tinterrupt-map = <0 0 0 0 &gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;\n+\n+\t\tbus-range = <0x00 0xff>;\n+\t\t#address-cells = <3>;\n+\t\t#size-cells = <2>;\n+\n+\t\tranges = <0x82000000 0 0x10000000 0x0 0x10000000 0 0x00001000 /* port 0 configuration space */\n+\t\t\t 0x82000000 0 0x10001000 0x0 0x10001000 0 0x00001000 /* port 1 configuration space */\n+\t\t\t 0x82000000 0 0x10004000 0x0 0x10004000 0 0x00001000 /* port 2 configuration space */\n+\t\t\t 0x81000000 0 0x0 0x0 0x50000000 0 0x00010000 /* downstream I/O (64 KiB) */\n+\t\t\t 0x82000000 0 0x50100000 0x0 0x50100000 0 0x07F00000 /* non-prefetchable memory (127 MiB) */\n+\t\t\t 0xc2000000 0 0x58000000 0x0 0x58000000 0 0x28000000>; /* prefetchable memory (640 MiB) */\n+\n+\t\tclocks = <&bpmp TEGRA186_CLK_AFI>,\n+\t\t\t <&bpmp TEGRA186_CLK_PCIE>,\n+\t\t\t <&bpmp TEGRA186_CLK_PLLE>;\n+\t\tclock-names = \"afi\", \"pex\", \"pll_e\";\n+\n+\t\tresets = <&bpmp TEGRA186_RESET_AFI>,\n+\t\t\t <&bpmp TEGRA186_RESET_PCIE>,\n+\t\t\t <&bpmp TEGRA186_RESET_PCIEXCLK>;\n+\t\treset-names = \"afi\", \"pex\", \"pcie_x\";\n+\n+\t\tstatus = \"disabled\";\n+\n+\t\tpci@1,0 {\n+\t\t\tdevice_type = \"pci\";\n+\t\t\tassigned-addresses = <0x82000800 0 0x10000000 0 0x1000>;\n+\t\t\treg = <0x000800 0 0 0 0>;\n+\t\t\tstatus = \"disabled\";\n+\n+\t\t\t#address-cells = <3>;\n+\t\t\t#size-cells = <2>;\n+\t\t\tranges;\n+\n+\t\t\tnvidia,num-lanes = <2>;\n+\t\t};\n+\n+\t\tpci@2,0 {\n+\t\t\tdevice_type = \"pci\";\n+\t\t\tassigned-addresses = <0x82001000 0 0x10001000 0 0x1000>;\n+\t\t\treg = <0x001000 0 0 0 0>;\n+\t\t\tstatus = \"disabled\";\n+\n+\t\t\t#address-cells = <3>;\n+\t\t\t#size-cells = <2>;\n+\t\t\tranges;\n+\n+\t\t\tnvidia,num-lanes = <1>;\n+\t\t};\n+\n+\t\tpci@3,0 {\n+\t\t\tdevice_type = \"pci\";\n+\t\t\tassigned-addresses = <0x82001800 0 0x10004000 0 0x1000>;\n+\t\t\treg = <0x001800 0 0 0 0>;\n+\t\t\tstatus = \"disabled\";\n+\n+\t\t\t#address-cells = <3>;\n+\t\t\t#size-cells = <2>;\n+\t\t\tranges;\n+\n+\t\t\tnvidia,num-lanes = <1>;\n+\t\t};\n+\n+\t};\n };\n", "prefixes": [ "3/4" ] }