Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1614827/?format=api
{ "id": 1614827, "url": "http://patchwork.ozlabs.org/api/patches/1614827/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20220408123958.25724-3-pali@kernel.org/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20220408123958.25724-3-pali@kernel.org>", "list_archive_url": null, "date": "2022-04-08T12:39:51", "name": "[2/9] powerpc: dts: p2020: Make PCIe nodes compatible for Linux kernel driver", "commit_ref": "1a0800ac40c0bd65fbd12b2e00ad2b2f2067530b", "pull_url": null, "state": "accepted", "archived": false, "hash": "af70a0fff8e2a4174563aa732c0920fdc8331641", "submitter": { "id": 78810, "url": "http://patchwork.ozlabs.org/api/people/78810/?format=api", "name": "Pali Rohár", "email": "pali@kernel.org" }, "delegate": { "id": 87636, "url": "http://patchwork.ozlabs.org/api/users/87636/?format=api", "username": "priyankajain", "first_name": "Priyanka", "last_name": "Jain", "email": "priyanka.jain@nxp.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20220408123958.25724-3-pali@kernel.org/mbox/", "series": [ { "id": 294186, "url": "http://patchwork.ozlabs.org/api/series/294186/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=294186", "date": "2022-04-08T12:39:49", "name": "powerpc: dts: p2020: Linux compatibility", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/294186/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1614827/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1614827/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "bilbo.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=aVi696e5;\n\tdkim-atps=neutral", "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=kernel.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.b=\"aVi696e5\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=kernel.org", "phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby bilbo.ozlabs.org (Postfix) with ESMTPS id 4KZdFX5FSxz9sFy\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 8 Apr 2022 22:42:56 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id EBDE183DF0;\n\tFri, 8 Apr 2022 14:42:00 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 777E183DBF; Fri, 8 Apr 2022 14:41:41 +0200 (CEST)", "from dfw.source.kernel.org (dfw.source.kernel.org\n [IPv6:2604:1380:4641:c500::1])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 5F6B383DB7\n for <u-boot@lists.denx.de>; Fri, 8 Apr 2022 14:41:32 +0200 (CEST)", "from smtp.kernel.org (relay.kernel.org [52.25.139.140])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by dfw.source.kernel.org (Postfix) with ESMTPS id 3015C620E2;\n Fri, 8 Apr 2022 12:41:31 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 72300C385A9;\n Fri, 8 Apr 2022 12:41:30 +0000 (UTC)", "by pali.im (Postfix)\n id 09506B20; Fri, 8 Apr 2022 14:41:28 +0200 (CEST)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,\n SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no\n version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1649421690;\n bh=E7kxyBcGuCd301a/c5ohc7lfWMKreNopJ9/fFxO3Yrg=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=aVi696e595G1shvDYdXTTZyJWwbCDrp4A2yHIwjDFhjAAm25XFwD3R0UdadxjAbWl\n aRmxigS8O7W37WIHngO8Rmi43eblaNNIEtta3CM9HwPV8wuI59dMpIlMj9zGBAiUW4\n sJ6hd35LTJNEVfl6gIvCCGg/5Hos/J8fBkZDWXHEM4hYp5wiCzORiBmDqKa11R7IHX\n 4mH6uENqOgWCxWEfJjuzT82Uy7CrrccyLpQurq/S2+w+t1oSmbJPm/8PjJBLIXCU5a\n wJipHvgpPNgUGGHOMN1T+uOxcZsD2uBHak9+XGbWXi3KsDbgANKWuRTGfp5uaScV8H\n m0k1U4vLMsglg==", "From": "=?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>", "To": "Priyanka Jain <priyanka.jain@nxp.com>, Wolfgang Denk <wd@denx.de>,\n Sinan Akman <sinan@writeme.com>", "Cc": "u-boot@lists.denx.de", "Subject": "[PATCH 2/9] powerpc: dts: p2020: Make PCIe nodes compatible for Linux\n kernel driver", "Date": "Fri, 8 Apr 2022 14:39:51 +0200", "Message-Id": "<20220408123958.25724-3-pali@kernel.org>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20220408123958.25724-1-pali@kernel.org>", "References": "<20220408123958.25724-1-pali@kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.5 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "Linux P2020 PCIe kernel driver uses compatible string fsl,mpc8548-pcie and\nneeds more DT properties. Copy P2020 PCIe nodes and definitions from\nupstream Linux kernel.\n\nSigned-off-by: Pali Rohár <pali@kernel.org>\n---\n arch/powerpc/dts/p2020-post.dtsi | 65 ++++++++++++++++++++++++++++++--\n 1 file changed, 62 insertions(+), 3 deletions(-)", "diff": "diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi\nindex 804db73c3777..6eb6fedd4156 100644\n--- a/arch/powerpc/dts/p2020-post.dtsi\n+++ b/arch/powerpc/dts/p2020-post.dtsi\n@@ -59,32 +59,91 @@\n \n /* PCIe controller base address 0x8000 */\n &pci2 {\n-\tcompatible = \"fsl,pcie-p1_p2\", \"fsl,pcie-fsl-qoriq\";\n+\tcompatible = \"fsl,pcie-p1_p2\", \"fsl,pcie-fsl-qoriq\", \"fsl,mpc8548-pcie\";\n \tlaw_trgt_if = <0>;\n \t#address-cells = <3>;\n \t#size-cells = <2>;\n \tdevice_type = \"pci\";\n \tbus-range = <0x0 0xff>;\n+\tclock-frequency = <33333333>;\n+\tinterrupts = <24 2 0 0>;\n+\n+\tpcie@0 {\n+\t\treg = <0 0 0 0 0>;\n+\t\t#interrupt-cells = <1>;\n+\t\t#size-cells = <2>;\n+\t\t#address-cells = <3>;\n+\t\tdevice_type = \"pci\";\n+\t\tinterrupts = <24 2 0 0>;\n+\t\tinterrupt-map-mask = <0xf800 0 0 7>;\n+\n+\t\tinterrupt-map = <\n+\t\t\t/* IDSEL 0x0 */\n+\t\t\t0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0\n+\t\t\t>;\n+\t};\n };\n \n /* PCIe controller base address 0x9000 */\n &pci1 {\n-\tcompatible = \"fsl,pcie-p1_p2\", \"fsl,pcie-fsl-qoriq\";\n+\tcompatible = \"fsl,pcie-p1_p2\", \"fsl,pcie-fsl-qoriq\", \"fsl,mpc8548-pcie\";\n \tlaw_trgt_if = <1>;\n \t#address-cells = <3>;\n \t#size-cells = <2>;\n \tdevice_type = \"pci\";\n \tbus-range = <0x0 0xff>;\n+\tclock-frequency = <33333333>;\n+\tinterrupts = <25 2 0 0>;\n+\n+\tpcie@0 {\n+\t\treg = <0 0 0 0 0>;\n+\t\t#interrupt-cells = <1>;\n+\t\t#size-cells = <2>;\n+\t\t#address-cells = <3>;\n+\t\tdevice_type = \"pci\";\n+\t\tinterrupts = <25 2 0 0>;\n+\t\tinterrupt-map-mask = <0xf800 0 0 7>;\n+\n+\t\tinterrupt-map = <\n+\t\t\t/* IDSEL 0x0 */\n+\t\t\t0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0\n+\t\t\t>;\n+\t};\n };\n \n /* PCIe controller base address 0xa000 */\n &pci0 {\n-\tcompatible = \"fsl,pcie-p1_p2\", \"fsl,pcie-fsl-qoriq\";\n+\tcompatible = \"fsl,pcie-p1_p2\", \"fsl,pcie-fsl-qoriq\", \"fsl,mpc8548-pcie\";\n \tlaw_trgt_if = <2>;\n \t#address-cells = <3>;\n \t#size-cells = <2>;\n \tdevice_type = \"pci\";\n \tbus-range = <0x0 0xff>;\n+\tclock-frequency = <33333333>;\n+\tinterrupts = <26 2 0 0>;\n+\n+\tpcie@0 {\n+\t\treg = <0 0 0 0 0>;\n+\t\t#interrupt-cells = <1>;\n+\t\t#size-cells = <2>;\n+\t\t#address-cells = <3>;\n+\t\tdevice_type = \"pci\";\n+\t\tinterrupts = <26 2 0 0>;\n+\t\tinterrupt-map-mask = <0xf800 0 0 7>;\n+\t\tinterrupt-map = <\n+\t\t\t/* IDSEL 0x0 */\n+\t\t\t0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0\n+\t\t\t0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0\n+\t\t\t>;\n+\t};\n };\n \n &lbc {\n", "prefixes": [ "2/9" ] }