Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1481239/?format=api
{ "id": 1481239, "url": "http://patchwork.ozlabs.org/api/patches/1481239/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20210519194208.515548-5-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-5-rehn.andreas86@gmail.com>", "list_archive_url": null, "date": "2021-05-19T19:42:06", "name": "[4/6] net: sun8i-emac: add v3s pinmux setting", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "d6726a11517f63e834611a50ee156e3a4a8402bd", "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-5-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/1481239/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1481239/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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=ZfNMsppW;\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=\"ZfNMsppW\";\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\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 ozlabs.org (Postfix) with ESMTPS id 4FlkFV1J02z9sRN\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 20 May 2021 05:58:22 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 21C1882E50;\n\tWed, 19 May 2021 21:56:52 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id E6F5681D3B; Wed, 19 May 2021 21:42:31 +0200 (CEST)", "from mail-wm1-x330.google.com (mail-wm1-x330.google.com\n [IPv6:2a00:1450:4864:20::330])\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 0DA1D81D3B\n for <u-boot@lists.denx.de>; Wed, 19 May 2021 21:42:29 +0200 (CEST)", "by mail-wm1-x330.google.com with SMTP id\n f75-20020a1c1f4e0000b0290171001e7329so3926637wmf.1\n for <u-boot@lists.denx.de>; Wed, 19 May 2021 12:42:29 -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.27\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 19 May 2021 12:42:28 -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=onuK0IMUJmrnFgoKnzrjyg5/8X1saZy6jHzWF9C+KuA=;\n b=ZfNMsppWEuBVVVkhLPZFD5cZ2/L4zlSPAL2KMDo/QRWB1F42qCHggGr5Gt0MOeVOMw\n +mrMenrZu94QJp4GrfsH6AaCXf5p0FYauhsQOzykElwJHimJHV40Uig4HUnUBAjVXIGa\n AcbccYMq8OcfvDQbvLaakDwuFQe7kIom5YU2HCamrQz3C/KeEtKjO6edjknhf+nWOO0E\n XsOLrqRBTlXyhSZer/acCmPypRs8GanNppztwXQQO43/FZqtjusrD/2FUURWJf5AUFoM\n 4pM56271XpHgc5zjb8D9PBoacaUWtJDrka9V+8zKDI0rBcjY1gqA1Wdsf8kBRKskUFR2\n W8FQ==", "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=onuK0IMUJmrnFgoKnzrjyg5/8X1saZy6jHzWF9C+KuA=;\n b=JcCdFb787otzMIoRsMgIeyzAtX+5lbfR2fkf15JFY7iuVsCNYEpD6Arcg+3f3FUZwk\n 9DtVqnAQRTkLf18MBhVpCrLUZ0yyX8pmCmf4BZXcGM+eI2mWgF1qEtAE4uKkAzGjR+RF\n Xw3VRl1Vbi4oBOyP1/83RgKsFDlcJCXt1yTF760DHaxupcD24RopoPgcKP7Ejrn6PJ+p\n koyKfuNX56ixsTQrNkyA5sbdiuiar1HjzS7GdLcjma4d5M42KE1lhGRvKC4emw2apioR\n voL0eO6uOpDqOgpD7CePGUjzml7Oh9881+y9HI5LLSdDP9c0ydVPfhaEqHkZKahjmy/l\n i7fg==", "X-Gm-Message-State": "AOAM5336jDinza62MSw67i8/UDPWtxwYsaQCTSSPQEexlgEFxRNJpbqi\n 78E2Ty7yJ0/OYa6sMDR9PKA=", "X-Google-Smtp-Source": "\n ABdhPJy5HHq5UnHKCt6Y9vUCPm35D2fr3C+9WMXqsFVTz5Sqgk8MJlFTSX+7Hsb0tL/SY109zEC1Pg==", "X-Received": "by 2002:a7b:c85a:: with SMTP id c26mr753452wml.131.1621453348596;\n Wed, 19 May 2021 12:42:28 -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 4/6] net: sun8i-emac: add v3s pinmux setting", "Date": "Wed, 19 May 2021 21:42:06 +0200", "Message-Id": "<20210519194208.515548-5-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": "Driver uses pinmux instead of emac type.\nAdd v3s pinmux to support SoC.\n\nSigned-off-by: Andreas Rehn <rehn.andreas86@gmail.com>\n---\n drivers/net/sun8i_emac.c | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c\nindex 5a1b38bf80..0e7ad3b0d4 100644\n--- a/drivers/net/sun8i_emac.c\n+++ b/drivers/net/sun8i_emac.c\n@@ -89,6 +89,7 @@\n #define SUN8I_IOMUX_R40\t\t5\n #define SUN8I_IOMUX_H6\t\t5\n #define SUN8I_IOMUX_H616\t2\n+#define SUN8I_IOMUX_V3S\t\t2\n #define SUN8I_IOMUX\t\t4\n \n /* H3/A64 EMAC Register's offset */\n@@ -566,6 +567,8 @@ static int parse_phy_pins(struct udevice *dev)\n \t\tiomux = SUN8I_IOMUX;\n \telse if (IS_ENABLED(CONFIG_MACH_SUN50I))\n \t\tiomux = SUN8I_IOMUX;\n+\telse if (IS_ENABLED(CONFIG_MACH_SUN8I_V3S))\n+\t\tiomux = SUN8I_IOMUX_V3S;\n \telse\n \t\tBUILD_BUG_ON_MSG(1, \"missing pinmux value for Ethernet pins\");\n \n", "prefixes": [ "4/6" ] }