Cover Letter Detail
Show a cover letter.
GET /api/1.1/covers/2228261/?format=api
{ "id": 2228261, "url": "http://patchwork.ozlabs.org/api/1.1/covers/2228261/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/cover/20260425080649.75688-1-lucienzx159@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.1/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 }, "msgid": "<20260425080649.75688-1-lucienzx159@gmail.com>", "date": "2026-04-25T08:06:46", "name": "[v4,0/3] phy: add common PHY polarity properties support", "submitter": { "id": 90627, "url": "http://patchwork.ozlabs.org/api/1.1/people/90627/?format=api", "name": "Lucien.Jheng", "email": "lucienzx159@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/cover/20260425080649.75688-1-lucienzx159@gmail.com/mbox/", "series": [ { "id": 501470, "url": "http://patchwork.ozlabs.org/api/1.1/series/501470/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501470", "date": "2026-04-25T08:06:49", "name": "phy: add common PHY polarity properties support", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/501470/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/2228261/comments/", "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.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=20251104 header.b=ARVu/KFA;\n\tdkim-atps=neutral", "legolas.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=patchwork.ozlabs.org)", "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=\"ARVu/KFA\";\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=lucienzx159@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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g2ySr6zShz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 04:06:36 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 662B78452D;\n\tSat, 25 Apr 2026 20:02:51 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 7E77F8442A; Sat, 25 Apr 2026 19:32:27 +0200 (CEST)", "from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com\n [IPv6:2607:f8b0:4864:20::f2b])\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 545DD843FB\n for <u-boot@lists.denx.de>; Sat, 25 Apr 2026 19:32:25 +0200 (CEST)", "by mail-qv1-xf2b.google.com with SMTP id\n 6a1803df08f44-8a3b0242631so110930186d6.3\n for <u-boot@lists.denx.de>; Sat, 25 Apr 2026 10:32:25 -0700 (PDT)", "from localhost.localdomain (124-218-201-66.cm.dynamic.apol.com.tw.\n [124.218.201.66]) by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b5fab0cbaasm250916935ad.54.2026.04.25.01.07.33\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 25 Apr 2026 01:07:36 -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=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,\n FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777138344; x=1777743144; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=vfCOgci2KjRyQNAd9VtT5VLhB2Mtt5RuvN3YGz7O3so=;\n b=ARVu/KFAd1D54pu2d6FZse4QaGPsKzg00EZXO+tFArfA8wFXMqRifaU7dMPagJNESG\n uQ8cPQdGYNaVwNIsLjiUFqWtybdBf2KCdNL88TJCVdHRNCCtu6T9/ry3JDkt8Cw9z0mQ\n qlxriAPBcr0CMSoNcJZwCCI+MljfHS77EuNpg37MfelddFq4VDpiXr6IyoxOdkiKq1Ee\n Gvgs6S+3Kj7QY5GayxfCluDWu0liKGGCGDO7X/q1w8nPMxRpjoTcZrUeWaSONKzq7Inn\n Hwp9cnVsDo//4/UE994j6aIgiNyfZjWE1VkYogT4hQrJNrjraNYCafHb/cGLDn7ljcRN\n wx1Q==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777138344; x=1777743144;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=vfCOgci2KjRyQNAd9VtT5VLhB2Mtt5RuvN3YGz7O3so=;\n b=Xx6hz3W0fcHYHPzSoq1LsjG1NFeZDStqmhARxjlDnn080iYIROKbnyC2xq8vfhA/Qs\n +bdCDub42UNx33PTrbOCA8KYMBlJlg3/OwMN3n1pHf2ZVIBkS0clqZDv+KVV1Ei469oM\n oDlmUSRlwBtB5IFkBtJVahy/r44ds68BTx6lmWafOsqvmLivpkjVv5hSZJWjc42ke1uS\n FETGCzhtSbyp2KAfSxIyjh8DRw2b5sPqiLZ0A/SnYBvLQCNVf+Ur9jAAtxJZQx5XIsTO\n XOeu6+VumzEXoG63ZRT6coLqIJuTECS2syxCN3+GI6sjBAzCHHj9rQG5UtkiCrUZ9cct\n HeBw==", "X-Forwarded-Encrypted": "i=1;\n AFNElJ9G+/yW0AVYcIgsqo4P5Z7YlqTs9DxN6cyIhHqFgeB4GVUpk97oMGE2rDqyjoXPFWnDzkJN4AI=@lists.denx.de", "X-Gm-Message-State": "AOJu0YwxEuar0PmkixWJ/dFEpENzPr8JF6kdmrqyYsntx7benejNVqsi\n YR1RHWq59/uE5vvJHm8yZT1++svLh8VJ3ntyhTPEOMOHmYhvMus+ZJ8MYOFmgA==", "X-Gm-Gg": "AeBDietTUNi91atfdZEfDtruNP+k2j+lLSEAKLzlTHyvjcWOmYJ6xYr66whC3rwXseo\n qMdUw4Xp2jm7TZVvnHOhuZS1En5EAT8ADSr1LoNID7MhtcPLfyexXLeOjmTcW7qzHqwgmdGh5Zf\n jjAjc1W9A6TxioVZCZImB05o6w6s56bDNgVRc85TXjE9+HaWwUTreAmR4i1jqn5f873oH68+zQp\n RllwwELUdzKB2yWEetee/teKdm1brJA3Q2+7SFzsJA2YlaaHbdz16/qNv2jFupaBVb2T38IPD8x\n 8YJjD9dNrNiRifb69kQLf/uhNsL7E7PvabRb5i42MRrGWCDLuAsx+2XBjy/g+5kka368TFXxsxT\n JLAcFQLTQID4d0LJ69jWOh+Xm+olIeMamJvWY5Wz277Ayg76SpARcZSTOSZGzOAnnH3f+DiO6sI\n c84MLBO9adCSjEvZ2KdgWR4NrQTGqyU+jx+IiSwoD7UF02FkofWOULPcYYFb5D4lyziOyP+/FFo\n hhEBIw77ptMxS62X9QySqZJYWXveT2kGccK2nbroHk=", "X-Received": "by 2002:a17:903:3c47:b0:2b0:afb4:7d41 with SMTP id\n d9443c01a7336-2b5f9ea4989mr354671215ad.10.1777104457308;\n Sat, 25 Apr 2026 01:07:37 -0700 (PDT)", "From": "\"Lucien.Jheng\" <lucienzx159@gmail.com>", "To": "trini@konsulko.com, jerome.forissier@arm.com, sumit.garg@kernel.org,\n marek.vasut+renesas@mailbox.org, vladimir.oltean@nxp.com", "Cc": "ericwouds@gmail.com, kabel@kernel.org, frank-w@public-files.de,\n daniel@makrotopia.org, ansuelsmth@gmail.com, mkorpershoek@kernel.org,\n skylake.huang@mediatek.com, lucien.jheng@airoha.com, u-boot@lists.denx.de,\n \"Lucien.Jheng\" <lucienzx159@gmail.com>", "Subject": "[PATCH v4 0/3] phy: add common PHY polarity properties support", "Date": "Sat, 25 Apr 2026 16:06:46 +0800", "Message-Id": "<20260425080649.75688-1-lucienzx159@gmail.com>", "X-Mailer": "git-send-email 2.34.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-Mailman-Approved-At": "Sat, 25 Apr 2026 20:02:44 +0200", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "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.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "This series ports PHY polarity inversion support via generic device tree\nproperties from Linux kernel, synchronizing with Merge tag 'phy-for-7.0'\nof git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.\n\nPatch 1 introduces a new PHY_COMMON_PROPS library providing helper\nfunctions (phy_get_rx_polarity, phy_get_tx_polarity, and their\n\"manual\" variants) for PHY drivers to read standard polarity properties\nfrom the device tree. The PHY_POL_NORMAL, PHY_POL_INVERT, and\nPHY_POL_AUTO constants are consumed from dts/upstream/include, which is\nalready on the compiler include path.\n\nPatch 2 updates the Airoha EN8811H PHY driver to use the new standard\nrx-polarity and tx-polarity properties, with backward compatibility\nfallback to the now-deprecated airoha,pnswap-rx and airoha,pnswap-tx\nboolean properties.\n\nPatch 3 adds sandbox DM unit tests for the new library, ported from\nthe Linux KUnit test (linux/drivers/phy/phy-common-props-test.c), along\nwith the 8 sandbox DT test nodes in arch/sandbox/dts/test.dts and the\nCONFIG_PHY_COMMON_PROPS=y entry in configs/sandbox_defconfig. 16 unit\ntest cases (8 for rx, 8 for tx) cover: missing property, single value\nwith no names array, count mismatches, name-based lookup, missing\ndefault fallback, default fallback, and unsupported polarity value.\n\nChanges in v4:\n- Squash former patches 3 and 4 into a single patch to fix bisectability\n (the test code referenced DT nodes that were only added in the\n following patch)\n- Add CONFIG_PHY_COMMON_PROPS=y to configs/sandbox_defconfig\n- patch 1: replace printf with pr_err for error-condition messages in\n phy-common-props.c\n- patch 2: use phy_string_for_interface() instead of direct array access\n phy_interface_strings[] in en8811h_config_serdes_polarity()\n- patch 2: remove unused local variables ofnode node and u32 pbus_value\n from en8811h_config()\n\nChanges in v3:\n- patch 1: fix ofnode_get_u32_prop_for_name() to apply default_val and\n return 0 when the polarity property is absent, instead of returning\n -ENOENT; update @node and @default_val kdoc accordingly — this aligns\n the \"missing property\" path with the behaviour expected by\n phy_get_manual_rx/tx_polarity() and is validated by the new unit tests\n- Add unit tests for the PHY_COMMON_PROPS library (patches 3-4), ported\n from Linux KUnit test linux/drivers/phy/phy-common-props-test.c\n- Add test/dm/Makefile build entry gated on CONFIG_PHY_COMMON_PROPS\n- Add 8 sandbox DT nodes to arch/sandbox/dts/test.dts covering all test\n scenarios; include <dt-bindings/phy/phy.h> in test.dts\n\nChanges in v2:\n- Drop DT binding patches (v1 patches 1 and 3): already merged via\n the DTS upstream subtree merge (tag 'v7.0-rc2-dts')\n- Drop creation of include/dt-bindings/phy/phy.h: the header is now\n provided by dts/upstream/include/dt-bindings/phy/phy.h, which is\n already in the build's include search path\n\nLucien.Jheng (3):\n phy: add common PHY properties support\n net: phy: airoha: air_en8811: use standard rx-polarity/tx-polarity properties\n test: dm: add PHY common props unit tests and sandbox DT nodes\n\n arch/sandbox/dts/test.dts | 60 +++++\n configs/sandbox_defconfig | 1 +\n drivers/net/phy/airoha/Kconfig | 1 +\n drivers/net/phy/airoha/air_en8811.c | 60 +++--\n drivers/phy/Kconfig | 8 +\n drivers/phy/Makefile | 1 +\n drivers/phy/phy-common-props.c | 286 ++++++++++++++++++++++++\n include/linux/phy/phy-common-props.h | 69 ++++++\n test/dm/Makefile | 1 +\n test/dm/phy_common_props.c | 319 +++++++++++++++++++++++++++\n 10 files changed, 790 insertions(+), 16 deletions(-)\n create mode 100644 drivers/phy/phy-common-props.c\n create mode 100644 include/linux/phy/phy-common-props.h\n create mode 100644 test/dm/phy_common_props.c\n\n--\n2.34.1" }