Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/808197/?format=api
{ "id": 808197, "url": "http://patchwork.ozlabs.org/api/patches/808197/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504177652-32492-2-git-send-email-Ashish.Kumar@nxp.com/", "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": "<1504177652-32492-2-git-send-email-Ashish.Kumar@nxp.com>", "list_archive_url": null, "date": "2017-08-31T11:07:32", "name": "[U-Boot,v3,2/2] armv8: ls1088aqds: Add support of EC1 and EC2", "commit_ref": "9f244b3587c264a9bc1187c27252ee31c92968c1", "pull_url": null, "state": "accepted", "archived": false, "hash": "e60bb40444d70e0039f5d0b137423cda8302f333", "submitter": { "id": 68053, "url": "http://patchwork.ozlabs.org/api/people/68053/?format=api", "name": "Ashish Kumar", "email": "Ashish.kumar@nxp.com" }, "delegate": { "id": 2666, "url": "http://patchwork.ozlabs.org/api/users/2666/?format=api", "username": "yorksun", "first_name": "York", "last_name": "Sun", "email": "yorksun@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504177652-32492-2-git-send-email-Ashish.Kumar@nxp.com/mbox/", "series": [ { "id": 797, "url": "http://patchwork.ozlabs.org/api/series/797/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=797", "date": "2017-08-31T11:07:32", "name": "[U-Boot,v3,1/2] armv8: fsl-layerscape: Support to add RGMII for ls1088aqds", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/797/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808197/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808197/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": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "spf=fail (sender IP is 192.88.168.50)\n\tsmtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed)\n\theader.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjfjp6H85z9sQl\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 21:07:57 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 8F196C21DF8; Thu, 31 Aug 2017 11:07:48 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id CF460C21C72;\n\tThu, 31 Aug 2017 11:07:45 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 887EAC21CB6; Thu, 31 Aug 2017 11:07:44 +0000 (UTC)", "from NAM02-SN1-obe.outbound.protection.outlook.com\n\t(mail-sn1nam02on0056.outbound.protection.outlook.com [104.47.36.56])\n\tby lists.denx.de (Postfix) with ESMTPS id A4121C21C62\n\tfor <u-boot@lists.denx.de>; Thu, 31 Aug 2017 11:07:43 +0000 (UTC)", "from BN6PR03CA0067.namprd03.prod.outlook.com (2603:10b6:404:4c::29)\n\tby SN2PR03MB2270.namprd03.prod.outlook.com (2603:10b6:804:d::15) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10;\n\tThu, 31 Aug 2017 11:07:41 +0000", "from BN1AFFO11FD026.protection.gbl (2a01:111:f400:7c10::176) by\n\tBN6PR03CA0067.outlook.office365.com (2603:10b6:404:4c::29) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10 via\n\tFrontend Transport; Thu, 31 Aug 2017 11:07:41 +0000", "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBN1AFFO11FD026.mail.protection.outlook.com (10.58.52.86) with\n\tMicrosoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11\n\tvia Frontend Transport; Thu, 31 Aug 2017 11:07:41 +0000", "from ubuntu1604.ap.freescale.net (ubuntu1604.ap.freescale.net\n\t[10.232.133.7])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tv7VB7ZH3024460; Thu, 31 Aug 2017 04:07:38 -0700" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.0 required=5.0 tests=BAD_ENC_HEADER,\n\tRCVD_IN_DNSWL_NONE,\n\tSPF_HELO_PASS autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "Received-SPF": "Fail (protection.outlook.com: domain of nxp.com does not\n\tdesignate 192.88.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;", "From": "Ashish Kumar <Ashish.Kumar@nxp.com>", "To": "<u-boot@lists.denx.de>", "Date": "Thu, 31 Aug 2017 16:37:32 +0530", "Message-ID": "<1504177652-32492-2-git-send-email-Ashish.Kumar@nxp.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1504177652-32492-1-git-send-email-Ashish.Kumar@nxp.com>", "References": "<1504177652-32492-1-git-send-email-Ashish.Kumar@nxp.com>", "X-EOPAttributedMessage": "0", "X-Matching-Connectors": "131486512618037712;\n\t(91ab9b29-cfa4-454e-5278-08d120cd25b8); ()", "X-Forefront-Antispam-Report": "CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(336005)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(50986999)(68736007)(76176999)(72206003)(104016004)(2906002)(5003940100001)(2950100002)(6916009)(6666003)(86362001)(54906002)(36756003)(2351001)(106466001)(105606002)(498600001)(53936002)(48376002)(50466002)(110136004)(81166006)(81156014)(8676002)(5660300001)(626005)(47776003)(8656003)(356003)(8936002)(305945005)(50226002)(189998001)(4326008)(85426001)(97736004)(77096006);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2270;\n\tH:tx30smr01.am.freescale.net; \n\tFPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; ", "X-Microsoft-Exchange-Diagnostics": [ "1; BN1AFFO11FD026;\n\t1:ciWlCzeE13zyvVubHyrOL6Jd34DS5K4NxhiWJY5HfmuswSMisyFR3iqUgdGmFd746C9zdpxoK8WT8ZwHBGcVkbqKRU/8FftiEypU+hCHSparmP2uKJo/zQ6QqcAY75ct", "1; SN2PR03MB2270;\n\t3:x+JLjbvU+3GTcXpbD+pWaNj0p3gDwLkhd3J33zdUZWKwMB2EGSuTUI3liiAKUvwXnGng9pvT8WoNf0tkOz0RV2rv0Ij9EbPLYRxLaR3hQygHLlopZz4CR39rpJsxLge28m5dUS5FSpFlCP+Hlzj+7o/gpk2cxzUEr2LcYZIxISjaxqHJvtmRDJS5u0q7r30SJcu3Gf93ZQTIRA5tAalcahIdfxw/9VXVyZs8dEGdvpWI2vsd99HdWSW2JPmBQOKmjUZZGnmjzSHv6MdT9CvY0YZFUwBy+ePg7RPv4tpb5pwPwVijbJHOTRQONIXVZqdxYYdNg30DwQltxhWZvcSoaSkXajQrruQm1eNMiU1P6Yw=;\n\t25:/q8zpIOrcr7kceAG+QrBixGnjs73gQWIgY5nHoa2baPiFqV36SJfcd2RreGamY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970xDASDZJcVNKsu0JXBZdeQlHDEJyGFaiw0eurRdTOoWpHbzA/hKHpEZxpDWZ8KEfxrGb0RUtSSewcl6PvFFK1TiEW97hKQbgfxi99Ac/+f+ve4PuSBnlV1P5/cyzsxV3Opa6on78m37d9yMr79j+7zoIaDNX69KPpucUIuWii+yu46HFO7bIrtFZX1kdfF3tMBirlQjAwWPZw14egF9o8PxQcFU8EjvgGChX9x/2awI3RRL4Bj134mz5qA==;\n\t5:6EGQvzQtcbBERGjnLmDcWzUaYx6odvFkSBGCG4m6ek6G9ABdpCpcoqoU92mc6/PDEMm6N64x5F/ilgxR3AxVdU/UIL2QRlyeNxFlAtzg89/2DTJaG4X4xQ1zqa74CTynF/XWdA9e+o3MLoDfk/9zNw==;\n\t24:M7bBETUnBBS2IhhzwZlFEBEI4PoYvQd5/D7xTmA+dzNibRauun89upGTEiIAy3UEOQCzGVflh44ov7qgJifcAeZku/2CxaGorIga+yycuOI=;\n\t7:07vep+G0Zr4ofoZuhoSkuJaR4NPL3uXZIDFttCHKzxJ7en3DlU+BMWNrwE3ydIET0DkXoOZJvTYsc3A8toFaHniDv5hjkvuq65p+iZDEZbLuGui8igVd+f1lsi9/mHhtIBDXO9hqwhkju6zOf51RbgPUdPNfyjrXeTP/ZPwYgT+hAe+q4iOAnNy+cSOxZ/12M4KR76qlbFdYnFD2SWYnAvcJ3jW9HUFVaZyZTGQlhBQ=" ], "MIME-Version": "1.0", "X-MS-PublicTrafficType": "Email", "X-MS-Office365-Filtering-Correlation-Id": "caebf68f-10ac-4410-55a8-08d4f0607fbe", "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0;\n\tRULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);\n\tSRVR:SN2PR03MB2270; ", "X-MS-TrafficTypeDiagnostic": "SN2PR03MB2270:", "X-Exchange-Antispam-Report-Test": "UriScan:(185117386973197);", "X-Microsoft-Antispam-PRVS": "<SN2PR03MB227007351663217FD115715A959D0@SN2PR03MB2270.namprd03.prod.outlook.com>", "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123556025)(20161123565025)(20161123563025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:SN2PR03MB2270; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:SN2PR03MB2270; ", "X-Forefront-PRVS": "04163EF38A", "SpamDiagnosticOutput": "1:99", "SpamDiagnosticMetadata": "NSPM", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "31 Aug 2017 11:07:41.5073\n\t(UTC)", "X-MS-Exchange-CrossTenant-Id": "5afe0b00-7697-4969-b663-5eab37d5f47e", "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;\n\tIp=[192.88.168.50]; \n\tHelo=[tx30smr01.am.freescale.net]", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SN2PR03MB2270", "Cc": "Amrita Kumari <amrita.kumari@nxp.com>", "Subject": "[U-Boot] [PATCH v3 2/2] armv8: ls1088aqds: Add support of EC1 and\n\tEC2", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "From: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>\n\nEC1 and EC2 are RGMII interface on ls1088aqds platform.\nThis patch add support of RGMII with PHY and MDIO\n\nSigned-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>\nSigned-off-by: Amrita Kumari <amrita.kumari@nxp.com>\nSigned-off-by: Ashish Kumar <ashish.kumar@nxp.com>\n---\nv3:\nAdd missing singoff\n\n board/freescale/ls1088a/eth_ls1088aqds.c | 34 ++++++++++++++++++++++++++++++++\n 1 file changed, 34 insertions(+)", "diff": "diff --git a/board/freescale/ls1088a/eth_ls1088aqds.c b/board/freescale/ls1088a/eth_ls1088aqds.c\nindex a973457..c19f59a 100644\n--- a/board/freescale/ls1088a/eth_ls1088aqds.c\n+++ b/board/freescale/ls1088a/eth_ls1088aqds.c\n@@ -576,6 +576,37 @@ void ls1088a_handle_phy_interface_xsgmii(int i)\n \t\tbreak;\n \t}\n }\n+\n+static void ls1088a_handle_phy_interface_rgmii(int dpmac_id)\n+{\n+\tstruct ccsr_gur __iomem *gur = (void *)CONFIG_SYS_FSL_GUTS_ADDR;\n+\tu32 serdes1_prtcl, cfg;\n+\tstruct mii_dev *bus;\n+\n+\tcfg = in_le32(&gur->rcwsr[FSL_CHASSIS3_SRDS1_REGSR - 1]) &\n+\t\t\t\tFSL_CHASSIS3_SRDS1_PRTCL_MASK;\n+\tcfg >>= FSL_CHASSIS3_SRDS1_PRTCL_SHIFT;\n+\tserdes1_prtcl = serdes_get_number(FSL_SRDS_1, cfg);\n+\n+\tswitch (dpmac_id) {\n+\tcase 4:\n+\t\twriop_set_phy_address(dpmac_id, RGMII_PHY1_ADDR);\n+\t\tdpmac_info[dpmac_id].board_mux = EMI1_RGMII1;\n+\t\tbus = mii_dev_for_muxval(EMI1_RGMII1);\n+\t\twriop_set_mdio(dpmac_id, bus);\n+\t\tbreak;\n+\tcase 5:\n+\t\twriop_set_phy_address(dpmac_id, RGMII_PHY2_ADDR);\n+\t\tdpmac_info[dpmac_id].board_mux = EMI1_RGMII2;\n+\t\tbus = mii_dev_for_muxval(EMI1_RGMII2);\n+\t\twriop_set_mdio(dpmac_id, bus);\n+\t\tbreak;\n+\tdefault:\n+\t\tprintf(\"qds: WRIOP: Unsupported RGMII SerDes Protocol 0x%02x\\n\",\n+\t\t serdes1_prtcl);\n+\t\tbreak;\n+\t}\n+}\n #endif\n \n int board_eth_init(bd_t *bis)\n@@ -604,6 +635,9 @@ int board_eth_init(bd_t *bis)\n \n \tfor (i = WRIOP1_DPMAC1; i < NUM_WRIOP_PORTS; i++) {\n \t\tswitch (wriop_get_enet_if(i)) {\n+\t\tcase PHY_INTERFACE_MODE_RGMII:\n+\t\t\tls1088a_handle_phy_interface_rgmii(i);\n+\t\t\tbreak;\n \t\tcase PHY_INTERFACE_MODE_QSGMII:\n \t\t\tls1088a_handle_phy_interface_qsgmii(i);\n \t\t\tbreak;\n", "prefixes": [ "U-Boot", "v3", "2/2" ] }