Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1088632/?format=api
{ "id": 1088632, "url": "http://patchwork.ozlabs.org/api/patches/1088632/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1555923467-7712-1-git-send-email-florinlaurentiu.chiculita@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": "<1555923467-7712-1-git-send-email-florinlaurentiu.chiculita@nxp.com>", "list_archive_url": null, "date": "2019-04-22T08:57:47", "name": "[U-Boot] armv8: lx2160ardb: invert AQR107 pins polarity", "commit_ref": "4dde343d7e9938e781feb3fbe360d6a7befa48f6", "pull_url": null, "state": "accepted", "archived": false, "hash": "167ffd4354e94d2713a62da566cee04ca1f077c4", "submitter": { "id": 76479, "url": "http://patchwork.ozlabs.org/api/people/76479/?format=api", "name": "Florin Chiculita", "email": "florinlaurentiu.chiculita@nxp.com" }, "delegate": { "id": 2467, "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api", "username": "prabhu_kush", "first_name": "Prabhakar", "last_name": "Kushwaha", "email": "prabhakar@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1555923467-7712-1-git-send-email-florinlaurentiu.chiculita@nxp.com/mbox/", "series": [ { "id": 103908, "url": "http://patchwork.ozlabs.org/api/series/103908/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=103908", "date": "2019-04-22T08:57:47", "name": "[U-Boot] armv8: lx2160ardb: invert AQR107 pins polarity", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/103908/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1088632/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1088632/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>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=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 44nkTs2Sc7z9s5c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 22 Apr 2019 21:13:34 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 6F3C1C21E1B; Mon, 22 Apr 2019 11:13:30 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 94FBFC21C2F;\n\tMon, 22 Apr 2019 11:13:28 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 47D0EC21D8A; Mon, 22 Apr 2019 08:57:54 +0000 (UTC)", "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby lists.denx.de (Postfix) with ESMTPS id C58E8C21C2C\n\tfor <u-boot@lists.denx.de>; Mon, 22 Apr 2019 08:57:53 +0000 (UTC)", "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 950581A003A;\n\tMon, 22 Apr 2019 10:57:53 +0200 (CEST)", "from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com\n\t[134.27.226.22])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 897611A001A;\n\tMon, 22 Apr 2019 10:57:53 +0200 (CEST)", "from nxp.com (fsr-fed2064-022.ea.freescale.net [10.171.81.133])\n\tby inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 64358205DD;\n\tMon, 22 Apr 2019 10:57:53 +0200 (CEST)" ], "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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0", "From": "Florin Chiculita <florinlaurentiu.chiculita@nxp.com>", "To": "u-boot@lists.denx.de", "Date": "Mon, 22 Apr 2019 11:57:47 +0300", "Message-Id": "<1555923467-7712-1-git-send-email-florinlaurentiu.chiculita@nxp.com>", "X-Mailer": "git-send-email 1.9.3", "X-Virus-Scanned": "ClamAV using ClamSMTP", "X-Mailman-Approved-At": "Mon, 22 Apr 2019 11:13:27 +0000", "Subject": "[U-Boot] [PATCH] armv8: lx2160ardb: invert AQR107 pins polarity", "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>", "Reply-To": "florinlaurentiu.chiculita@nxp.com", "MIME-Version": "1.0", "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": "AQR107 PHYs interrupt pins are active-low, while the GIC expects a\nlevel-high signal.\n\nSigned-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>\n---\n board/freescale/lx2160a/lx2160a.c | 8 ++++++++\n include/configs/lx2160ardb.h | 1 +\n 2 files changed, 9 insertions(+)", "diff": "diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c\nindex b763f6d..fa4520b 100644\n--- a/board/freescale/lx2160a/lx2160a.c\n+++ b/board/freescale/lx2160a/lx2160a.c\n@@ -461,12 +461,20 @@ unsigned long get_board_ddr_clk(void)\n \n int board_init(void)\n {\n+#if defined(CONFIG_FSL_MC_ENET) && defined(CONFIG_TARGET_LX2160ARDB)\n+\tu32 __iomem *irq_ccsr = (u32 __iomem *)ISC_BASE;\n+#endif\n #ifdef CONFIG_ENV_IS_NOWHERE\n \tgd->env_addr = (ulong)&default_environment[0];\n #endif\n \n \tselect_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT);\n \n+#if defined(CONFIG_FSL_MC_ENET) && defined(CONFIG_TARGET_LX2160ARDB)\n+\t/* invert AQR107 IRQ pins polarity */\n+\tout_le32(irq_ccsr + IRQCR_OFFSET / 4, AQR107_IRQ_MASK);\n+#endif\n+\n #ifdef CONFIG_FSL_CAAM\n \tsec_init();\n #endif\ndiff --git a/include/configs/lx2160ardb.h b/include/configs/lx2160ardb.h\nindex 7acd93c..31dd43d 100644\n--- a/include/configs/lx2160ardb.h\n+++ b/include/configs/lx2160ardb.h\n@@ -60,6 +60,7 @@\n \n #define AQR107_PHY_ADDR1\t0x04\n #define AQR107_PHY_ADDR2\t0x05\n+#define AQR107_IRQ_MASK\t\t0x0C\n \n #define CORTINA_NO_FW_UPLOAD\n #define CORTINA_PHY_ADDR1\t0x0\n", "prefixes": [ "U-Boot" ] }