Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1481237/?format=api
{ "id": 1481237, "url": "http://patchwork.ozlabs.org/api/patches/1481237/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20210519194208.515548-3-rehn.andreas86@gmail.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": "<20210519194208.515548-3-rehn.andreas86@gmail.com>", "list_archive_url": null, "date": "2021-05-19T19:42:04", "name": "[2/6] clk: sunxi: v3s: Implement EMAC clocks/resets", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "9ee0d28c7e3e51769744114915a04dd573ad9177", "submitter": { "id": 81770, "url": "http://patchwork.ozlabs.org/api/people/81770/?format=api", "name": "Andreas Rehn", "email": "rehn.andreas86@gmail.com" }, "delegate": { "id": 114289, "url": "http://patchwork.ozlabs.org/api/users/114289/?format=api", "username": "apritzel", "first_name": "Andre", "last_name": "Przywara", "email": "andre.przywara@arm.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20210519194208.515548-3-rehn.andreas86@gmail.com/mbox/", "series": [ { "id": 244775, "url": "http://patchwork.ozlabs.org/api/series/244775/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=244775", "date": "2021-05-19T19:42:02", "name": "arm: sunxi: v3s: add ethernet support", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/244775/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1481237/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1481237/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 spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=MH961j4e;\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "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=gmail.com header.i=@gmail.com header.b=\"MH961j4e\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=rehn.andreas86@gmail.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\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 ozlabs.org (Postfix) with ESMTPS id 4FlkF63yqlz9sRN\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 20 May 2021 05:58:02 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id F357C82D57;\n\tWed, 19 May 2021 21:56:44 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id A255881F63; Wed, 19 May 2021 21:42:30 +0200 (CEST)", "from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com\n [IPv6:2a00:1450:4864:20::32d])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 2034F81E77\n for <u-boot@lists.denx.de>; Wed, 19 May 2021 21:42:27 +0200 (CEST)", "by mail-wm1-x32d.google.com with SMTP id\n f75-20020a1c1f4e0000b0290171001e7329so3926609wmf.1\n for <u-boot@lists.denx.de>; Wed, 19 May 2021 12:42:27 -0700 (PDT)", "from flex-5.fritz.box (x4db62c8c.dyn.telefonica.de. [77.182.44.140])\n by smtp.gmail.com with ESMTPSA id\n s7sm6705035wmh.35.2021.05.19.12.42.25\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 19 May 2021 12:42:26 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=dngTbL8ibGhIfpAq134xzvM0lSjfwlKCSbVqnZX2eB8=;\n b=MH961j4ebAAwwkw2qsMZDNr18l7O/Q1YEe6sgkQ/nbMxWgKKPVCpRtYrdxRScw+HSv\n 0v6bJb96D0TDCg1deqQtmkM8Y3ZleyiOGKelJKy8HUVcLmVXkec2y2w4UljdsJ6+1/Tt\n V3TMX6w509Xt0W8jzBO77y6SIIBiaVgQprHke5dzbDEP+HTT1xSuGcZ5O7rSz+cAKG0F\n UBKlHytFNPZ+Tds2aJsjHiOLW2RjOzHr5AQjrYWRS77zJ/bLfdFO4bFx/WKzK2ZxLxn3\n YSgekEc5opcR+e0/NTbBh7O/e+zu7/CRO3OFlwZ6DI9z4z133mHg5JeeIPWat7cB42r2\n tBhA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=dngTbL8ibGhIfpAq134xzvM0lSjfwlKCSbVqnZX2eB8=;\n b=BEINMa133cIkSi6XsfrpxDj2utukl3cNQRqGn9w0XsHW9UMG2ANI+BoXzWoV+rDxNI\n 7Hs339+pIdwYNI1CnYrpmLcrYjEvJ92/syzu9UZATI89JA0VVF7uI0TmDglPVW944YgX\n jeWCPH6klLFhfqUz8cHI/brlgvJz/drYZS7DVnP2hOdRsxkyMccgG1Cb/HwqsU5tXGmi\n tfiy81W9OLLsEi4h7U1qPJ9m03YZ94nC9yC+mjsV7AOVsUu59qLt95OmojxHcGuiexec\n 4ovd61E8HOsgyGx+rAKg8CwymhmQ1Rkt5J/4uNHar84FzIt7MCOh2awgBbRy6VYhrMQq\n ZBdA==", "X-Gm-Message-State": "AOAM532/QF9gavniS26XYze5zF4+4KuT8lNkFkLjez5tilQQlmqnewln\n lxm282JkWRn6uDiIqBv7SJ4=", "X-Google-Smtp-Source": "\n ABdhPJzaqvKvGyXwAy14LdKQvhHATnAUy/3fOhkKbvkyz8hhh6WIavjYarJHsEZ2pJpEVYJB72J2zw==", "X-Received": "by 2002:a1c:bbc3:: with SMTP id l186mr779144wmf.38.1621453346691;\n Wed, 19 May 2021 12:42:26 -0700 (PDT)", "From": "Andreas Rehn <rehn.andreas86@gmail.com>", "To": "hdegoede@redhat.com,\n\tjagan@amarulasolutions.com,\n\tandre.przywara@arm.com", "Cc": "icenowy@aosc.io, u-boot@lists.denx.de,\n Andreas Rehn <rehn.andreas86@gmail.com>", "Subject": "[PATCH 2/6] clk: sunxi: v3s: Implement EMAC clocks/resets", "Date": "Wed, 19 May 2021 21:42:04 +0200", "Message-Id": "<20210519194208.515548-3-rehn.andreas86@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210519194208.515548-1-rehn.andreas86@gmail.com>", "References": "<20210519194208.515548-1-rehn.andreas86@gmail.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Mailman-Approved-At": "Wed, 19 May 2021 21:56:12 +0200", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.34", "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.102.4 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "Add emac clock and reset register/bits.\n\nSigned-off-by: Andreas Rehn <rehn.andreas86@gmail.com>\n---\n drivers/clk/sunxi/clk_v3s.c | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/drivers/clk/sunxi/clk_v3s.c b/drivers/clk/sunxi/clk_v3s.c\nindex 29622199fd..55fc597043 100644\n--- a/drivers/clk/sunxi/clk_v3s.c\n+++ b/drivers/clk/sunxi/clk_v3s.c\n@@ -17,6 +17,7 @@ static struct ccu_clk_gate v3s_gates[] = {\n \t[CLK_BUS_MMC0]\t\t= GATE(0x060, BIT(8)),\n \t[CLK_BUS_MMC1]\t\t= GATE(0x060, BIT(9)),\n \t[CLK_BUS_MMC2]\t\t= GATE(0x060, BIT(10)),\n+\t[CLK_BUS_EMAC]\t\t= GATE(0x060, BIT(17)),\n \t[CLK_BUS_SPI0]\t\t= GATE(0x060, BIT(20)),\n \t[CLK_BUS_OTG]\t\t= GATE(0x060, BIT(24)),\n \n@@ -24,6 +25,8 @@ static struct ccu_clk_gate v3s_gates[] = {\n \t[CLK_BUS_UART1]\t\t= GATE(0x06c, BIT(17)),\n \t[CLK_BUS_UART2]\t\t= GATE(0x06c, BIT(18)),\n \n+\t[CLK_BUS_EPHY]\t\t= GATE(0x070, BIT(0)),\n+\n \t[CLK_SPI0]\t\t= GATE(0x0a0, BIT(31)),\n \n \t[CLK_USB_PHY0] = GATE(0x0cc, BIT(8)),\n@@ -35,9 +38,12 @@ static struct ccu_reset v3s_resets[] = {\n \t[RST_BUS_MMC0]\t\t= RESET(0x2c0, BIT(8)),\n \t[RST_BUS_MMC1]\t\t= RESET(0x2c0, BIT(9)),\n \t[RST_BUS_MMC2]\t\t= RESET(0x2c0, BIT(10)),\n+\t[RST_BUS_EMAC]\t\t= RESET(0x2c0, BIT(17)),\n \t[RST_BUS_SPI0]\t\t= RESET(0x2c0, BIT(20)),\n \t[RST_BUS_OTG]\t\t= RESET(0x2c0, BIT(24)),\n \n+\t[RST_BUS_EPHY]\t\t= RESET(0x2c8, BIT(2)),\n+\n \t[RST_BUS_UART0]\t\t= RESET(0x2d8, BIT(16)),\n \t[RST_BUS_UART1]\t\t= RESET(0x2d8, BIT(17)),\n \t[RST_BUS_UART2]\t\t= RESET(0x2d8, BIT(18)),\n", "prefixes": [ "2/6" ] }