Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/956003/?format=api
{ "id": 956003, "url": "http://patchwork.ozlabs.org/api/patches/956003/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180810060711.6547-52-jagan@amarulasolutions.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": "<20180810060711.6547-52-jagan@amarulasolutions.com>", "list_archive_url": null, "date": "2018-08-10T06:07:09", "name": "[U-Boot,v2,51/53] clk: sunxi: h3: Implement EPHY CLK and RESET", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "c17246f0cd308fd445ad3d8ce54604e6a779d519", "submitter": { "id": 69820, "url": "http://patchwork.ozlabs.org/api/people/69820/?format=api", "name": "Jagan Teki", "email": "jagan@amarulasolutions.com" }, "delegate": { "id": 17739, "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api", "username": "jagan", "first_name": "Jagannadha Sutradharudu", "last_name": "Teki", "email": "jagannadh.teki@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20180810060711.6547-52-jagan@amarulasolutions.com/mbox/", "series": [ { "id": 60190, "url": "http://patchwork.ozlabs.org/api/series/60190/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=60190", "date": "2018-08-10T06:06:18", "name": "clk: Add Allwinner CLK, RESET support", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/60190/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/956003/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/956003/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; dmarc=none (p=none dis=none)\n\theader.from=amarulasolutions.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=amarulasolutions.com\n\theader.i=@amarulasolutions.com header.b=\"GGZqig5B\"; \n\tdkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41mwW627pmz9s7Q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 10 Aug 2018 16:41:06 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid E8A24C21E1B; Fri, 10 Aug 2018 06:27:57 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 59E84C21F3A;\n\tFri, 10 Aug 2018 06:17:49 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 1ABEDC21F35; Fri, 10 Aug 2018 06:11:04 +0000 (UTC)", "from mail-pl0-f67.google.com (mail-pl0-f67.google.com\n\t[209.85.160.67])\n\tby lists.denx.de (Postfix) with ESMTPS id 7E029C21E47\n\tfor <u-boot@lists.denx.de>; Fri, 10 Aug 2018 06:10:57 +0000 (UTC)", "by mail-pl0-f67.google.com with SMTP id x6-v6so3587608plv.10\n\tfor <u-boot@lists.denx.de>; Thu, 09 Aug 2018 23:10:57 -0700 (PDT)", "from localhost.localdomain ([183.82.228.250])\n\tby smtp.gmail.com with ESMTPSA id\n\tr23-v6sm16880975pfj.5.2018.08.09.23.10.52\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 09 Aug 2018 23:10:55 -0700 (PDT)" ], "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=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=amarulasolutions.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=Kj+d11FaQOZhaifOiuwdwPcjbdOg7bA9MOl87kMQaxc=;\n\tb=GGZqig5BwU0rKE1IO2XGkOC74SAuh0I1JP4fdvQwhC1hy72VF45KP/O7Rmm3k9TLfu\n\tDDxs4cNJ8SI5HEm5IyEQh5MNudKsnSYY8nFEc/LQELojjWv9B6/HA933YolGwFCC6rPp\n\tU0fVQzdZk9YSXGYhDgsg0iQWhPBcQIUXbSDvU=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=Kj+d11FaQOZhaifOiuwdwPcjbdOg7bA9MOl87kMQaxc=;\n\tb=odU5ZS2Is8sSJYGC5vgEHCp6MXRJR2wO4Ar6AILWPkcbNxHTSbwmKjEoblua9m/TPA\n\tWlReVNj7omQNcZbgOcVCfsVvrY58bHUWO701VO50gLEJdEkAK/O0R5IyWEpJK4GoP6Wy\n\t/i8R8J3ch/QKL7pMz4j6015MFVqXr0e1yQRTjwLM7RarljxwSMPKAeH7G9o0S5rcehLr\n\tfkvdcp6sQHeRsPCe9IeHxjnnh9tfsRNNFPfaL0MfniqnlxU4U5ztJ9kywc3PCkWf611P\n\tH9zkLMZlNZNq6JNNkU6v5pmwoTVaH/Qb9IJum8CGzUjg8VbZGz10vI75CbjI1kIu2hwM\n\t8IYA==", "X-Gm-Message-State": "AOUpUlGx6yornvGNScZpkTUD/eLa+lJWUGAvakznHlvQKMiwt23nvwDw\n\tAleEtdA/KnbQ/dk7tNfU6iOMvw==", "X-Google-Smtp-Source": "AA+uWPzu3M/iaghmFjCM2fgfRoYoPhhy3PW5tOxAL2solxHy5lxijYJS1PlADKF6ZAf62PUelsbtmg==", "X-Received": "by 2002:a17:902:8541:: with SMTP id\n\td1-v6mr4945085plo.81.1533881456135; \n\tThu, 09 Aug 2018 23:10:56 -0700 (PDT)", "From": "Jagan Teki <jagan@amarulasolutions.com>", "To": "Maxime Ripard <maxime.ripard@bootlin.com>,\n\tAndre Przywara <andre.przywara@arm.com>, Chen-Yu Tsai <wens@csie.org>,\n\tIcenowy Zheng <icenowy@aosc.io>", "Date": "Fri, 10 Aug 2018 11:37:09 +0530", "Message-Id": "<20180810060711.6547-52-jagan@amarulasolutions.com>", "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3", "In-Reply-To": "<20180810060711.6547-1-jagan@amarulasolutions.com>", "References": "<20180810060711.6547-1-jagan@amarulasolutions.com>", "MIME-Version": "1.0", "Cc": "Joe Hershberger <joe.hershberger@ni.com>, Tom Rini <trini@konsulko.com>, \n\tu-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH v2 51/53] clk: sunxi: h3: Implement EPHY CLK and\n\tRESET", "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": "EPHY CLK and RESET is availble in Allwinner H3 EMAC\nvia mdio-mux node of internal PHY. Add the respetive\nclock and reset reg and bits.\n\nCc: Joe Hershberger <joe.hershberger@ni.com>\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n drivers/clk/sunxi/clk_h3.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/drivers/clk/sunxi/clk_h3.c b/drivers/clk/sunxi/clk_h3.c\nindex 88086580f4..3d5dc2cbed 100644\n--- a/drivers/clk/sunxi/clk_h3.c\n+++ b/drivers/clk/sunxi/clk_h3.c\n@@ -34,6 +34,8 @@ static struct ccu_clk_map h3_clks[] = {\n \t[CLK_BUS_UART2]\t\t= { 0x06c, BIT(18), NULL },\n \t[CLK_BUS_UART3]\t\t= { 0x06c, BIT(19), NULL },\n \n+\t[CLK_BUS_EPHY]\t\t= { 0x070, BIT(0), NULL },\n+\n \t[CLK_MMC0]\t\t= { 0x088, BIT(31), &mmc_clk_set_rate },\n \t[CLK_MMC1]\t\t= { 0x08c, BIT(31), &mmc_clk_set_rate },\n \t[CLK_MMC2]\t\t= { 0x090, BIT(31), &mmc_clk_set_rate },\n@@ -73,6 +75,8 @@ static struct ccu_reset_map h3_resets[] = {\n \t[RST_BUS_OHCI2]\t\t= { 0x2c0, BIT(30) },\n \t[RST_BUS_OHCI3]\t\t= { 0x2c0, BIT(31) },\n \n+\t[RST_BUS_EPHY]\t\t= { 0x2c8, BIT(2) },\n+\n \t[RST_BUS_UART0]\t\t= { 0x2d8, BIT(16) },\n \t[RST_BUS_UART1]\t\t= { 0x2d8, BIT(17) },\n \t[RST_BUS_UART2]\t\t= { 0x2d8, BIT(18) },\n", "prefixes": [ "U-Boot", "v2", "51/53" ] }