🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17983

[PATCH v3 2/4] dt-bindings: net: Document support for AN8855 Switch Internal PHY

#17983
From: Christian Marangi
Date: Tue, 17 Nov 2026 16:41
108 lines
13463 bytes
Document support for AN8855 Switch Internal PHY.

Airoha AN8855 is a 5-port Gigabit Switch that expose the Internal
PHYs on the MDIO bus.

Each PHY might need to be calibrated to correctly work with the
use of the eFUSE provided by the Switch SoC. This can be enabled by
defining in the PHY node the NVMEM cell properties.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../bindings/net/airoha,an8855-phy.yaml       | 83 +++++++++++++++++++
 1 file changed, 83 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/airoha,an8855-phy.yaml

diff --git a/Documentation/devicetree/bindings/net/airoha,an8855-phy.yaml b/Documentation/devicetree/bindings/net/airoha,an8855-phy.yaml
new file mode 100644
index 000000000000..d2f86116badf
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/airoha,an8855-phy.yaml
@@ -0,0 +1,83 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/airoha,an8855-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Airoha AN8855 Switch Internal PHY
+
+maintainers:
+  - Christian Marangi <ansuelsmth@gmail.com>
+
+description: >
+  Airoha AN8855 is a 5-port Gigabit Switch that expose the Internal
+  PHYs on the MDIO bus.
+
+  Each PHY might need to be calibrated to correctly work with the
+  use of the eFUSE provided by the Switch SoC.
+
+allOf:
+  - $ref: ethernet-phy.yaml#
+
+select:
+  properties:
+    compatible:
+      contains:
+        enum:
+          - ethernet-phy-idc0ff.0410
+  required:
+    - compatible
+
+properties:
+  reg:
+    maxItems: 1
+
+  nvmem-cells:
+    items:
+      - description: phandle to SoC eFUSE tx_a
+      - description: phandle to SoC eFUSE tx_b
+      - description: phandle to SoC eFUSE tx_c
+      - description: phandle to SoC eFUSE tx_d
+
+  nvmem-cell-names:
+    items:
+      - const: tx_a
+      - const: tx_b
+      - const: tx_c
+      - const: tx_d
+
+required:
+  - compatible
+  - reg
+
+dependentRequired:
+  nvmem-cells: [ nvmem-cell-names ]
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    mdio {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        ethernet-phy@1 {
+            compatible = "ethernet-phy-idc0ff.0410",
+                         "ethernet-phy-ieee802.3-c45";
+
+            reg = <1>;
+        };
+
+        ethernet-phy@2 {
+            compatible = "ethernet-phy-idc0ff.0410",
+                         "ethernet-phy-ieee802.3-c45";
+
+            reg = <2>;
+
+            nvmem-cells = <&shift_sel_port0_tx_a>,
+                          <&shift_sel_port0_tx_b>,
+                          <&shift_sel_port0_tx_c>,
+                          <&shift_sel_port0_tx_d>;
+            nvmem-cell-names = "tx_a", "tx_b", "tx_c", "tx_d";
+        };
+    };
-- 
2.55.0
Technical Details
Message-ID: <20261117164132.47167-3-ansuelsmth@gmail.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365443-linux-kernel-netdev=dewy.ru
References: <20261117164132.47167-1-ansuelsmth@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365443-linux-kernel-netdev=dewy.ru
From: ansuelsmth@gmail.com (Christian Marangi)
Newsgroups: linux.kernel.netdev
Subject: [PATCH v3 2/4] dt-bindings: net: Document support for AN8855 Switch Internal PHY
Date: Tue, 17 Nov 2026 17:41:29 +0100
Organization: Usenet Network
Message-ID: <20261117164132.47167-3-ansuelsmth@gmail.com>
References: <20261117164132.47167-1-ansuelsmth@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network; logging-data="2378816"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:YSKU309HR3JIhiN1PkvJhIsihiQ= sha256:JHChTLww0MvxZwumSrO/Y3hUCU4b/25nkzj8zml07vI= sha1:oQSFtsUPbSZv8UX0tClSH1iaUFo= sha256:D1LNNheYy1104v2/+BmN0CVBL+59d72xU5uwMeFgc7U=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 4E487114FF5; Tue, 17 Nov 2026 19:42:13 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Status: No, score=-3.148 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EraTRyrJrCuc; Tue, 17 Nov 2026 19:42:07 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-365443-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 7AAE4114FBC; Tue, 17 Nov 2026 19:41:59 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 15F6060B1A9; Tue, 17 Nov 2026 16:41:59 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794933715; b=0sCNmQziLbwH5PUe6q8X6M5v2K8lAJN02qrdzC/FKpi7U9dGWR6MHol7XLAucznHczDG apufprEp7lM7u26m7V5EwuM09qqNg+NiFIcbd7GX1NWfkEQnjurFxg+7u/X1sDE0Dk/16 F34TvDvd3iNadthRwESHDlcfTFLXk6DJB7BTbj7uV1nBuwNJvJtKE9tI4VRzNZJvpQrmj V56U0cbW1n633AdEnd5tTj+R1iHao66VhlsKeKyXhMDkNFqD5R0zyOzMd0LTgGvbiUBYR 3YiPthKsyxCi7uMJukzecMuJ8607ddPUnhnlmWE54GzpfCARgyg8Z/bcQpVJVgg/s/A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794933715; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State: X-Gm-Gg:X-Received:Received:From:To:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding; bh=RZXcrD1S7/I6W/aF1UhtK1+p0qebXOrwfnsiC5xoqRI=; b=ygMjHjM2Qn7MJcztl6BYTVgZnbTNK8TxMP9Z19obq1CQsjAA8jEYLcs/28kBB8r7XFD1 YEZFj1u3Uwr795QQ9vSEOZqPYj1QJHRATj8Em2mL2sTCom/n6nq3nNwBZ2dcMyeTjcWYS AxX2AllFiYWx9Jdq1TImQcfuxGMY16RBBqAvQXgfkcScTyYWP9L/m/9LtZedL3MZapnlO xtbMbmFxrQQ6Junp/rveSvd/o0AXIBOFf/4aKgWZNfonvtiraWBubfDqFt2SojhL1wV37 QU2PeSE9CuDc+5NZn1Ma+b8lDJeT5JuMFQaU+moDufPKYgu13Mcz437ZGr/CPA+4nEQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=diTmpu6i; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A919A606A88C; Tue, 17 Nov 2026 16:41:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=diTmpu6i
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.48
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794933714; b=5sTjy0zLEPgZDXjeov/LHdC+gsWxDtml2BOp6RmgpFmtp+E/qcD0URWaFTUy6Ru5NB9i GPx92fjEXY90UjhLLVtjduwq6boGaYzcBc1R95/U5x2M1lPAX1Fq8isB1o/xW8596Nf+S yd17MiDujMcqjq/w26hQDV50WjsQHBNPjNeZzM5dfzA9GipsabwppsA152h8f8/eVTs2Z 3s6niwJ8QQUzL71I0bPZs/ShuUPJ+6lZcLJYbiQw3w7FlFVqLsYtIFg1td+LsUqUha689 e2uYsn+KEi233t3DQFk/quNde7UeGrsxj+4uEDvjhIuLQoqtnDR+jiKvfu/pfKh3GqA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794933714; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=RZXcrD1S7/I6W/aF1UhtK1+p0qebXOrwfnsiC5xoqRI=; b=th3SbCrDZuFByDFvq41okI0p2x58G0T1dx8KT9LzejJf733Stb26temcUVFvaMzjRMsp hzaQoV/8Gj+hXfgsCjw9+0yZ4RYrlMZ2ocXuRErH8Djzp1ZcllVzLrnzU8ekRGHOeV5hi 9/8bgF3vducSJcVUN//01nCHOJ0f5bLuanGLjUVq9IsWUhCnS1XKru8fgah9qH1QqhWa8 kKkGvMdEH665MfCQdZlj2JQ4AXCyWvetk77rBBNTX6egh2OUPIyv+4+Agf1y3G+6MKZXX MZvqu1k68L51gXwm4iQy3ajS9JLHojgCpmz7dAdbi43JECcFCrltPfOu0YX8RgIPcTA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=diTmpu6i; arc=none smtp.remote-ip=209.85.128.48
X-Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83576606A32F for <netdev@vger.kernel.org>; Tue, 17 Nov 2026 16:41:54 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 83576606A32F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4bb69f5b161so598005e9.0 for <netdev@vger.kernel.org>; Tue, 17 Nov 2026 08:41:54 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794933713; x=1795538513; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=RZXcrD1S7/I6W/aF1UhtK1+p0qebXOrwfnsiC5xoqRI=; b=diTmpu6iPHPqo9m+2tYHVlfuMOMp60XxZZh5NHM71BDcSd3RXbX2ViehEIizRNnlbr oFuzXfimjV0/7cr+Bbp4qEMTOuDfRWI+8MTvs4vFCs0dhqbxbIPktwdpuNBiP+SjerHA n99AByFdou1LEKDBlApVm8ocFugtqCNfAViA7evtO7/RFmupI2z2M12XV5e0xI0OkvaO TCYlFtVIX3xoHheHy/R6gv4DafEM4vdfEse/C8D/2dFIj28TUh7G7N/9XLw7gngX4pcZ R2x1tTveajrkHIPiCQg3otNZ+uSCOUTO1ZOd9j8twMnpth38yComQ3bY0m0aLTn+P0gk cwcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794933713; x=1795538513; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=RZXcrD1S7/I6W/aF1UhtK1+p0qebXOrwfnsiC5xoqRI=; b=VM3uASTjTlXkDUu20T8Rp3n1Xjquz06lXu4yjqFUpqRLoMAfOutxo8AQwYg/zvyHkv QGQE2rMXFVKPh8pZQYD7j9EVgXfK1hANX+zBO0fpNylj1pT1O1cvxBvuZhtFJM+x0Pxx dm+tCI2fExFxu0GQL4TuVOEMERH1IXOIeJlFlo3Sttxv2Upopadktg6YOKv8QT5NZDgN mQ+SxJwux4aXWjR5X2dpPfRnLNOsvIW+kSemKWlbudHmy/MTnE41Jw1PIFu4YjYkBK9k nMfc75M2HHuV7THGFnHUq4eWqoZ3fRJtCAifpIfLM4yc+lDsc2M6HVGwl8w1oSYxfKGZ pZJA==
X-Forwarded-Encrypted: i=1; AL+hErEOXk62XPGykOqqalfY17RtvjNGrqK/uJnh7GE1Hxjx2Uv6vkBYVAPEGHEMuU2aqx9eUI9lhDc=@vger.kernel.org
X-Gm-Message-State: APuU4Z9HLKnRfoW9TZAj2QQ2c5zhHNc32qcJAoYx0o2tgkmpZbIshS0R WZDY7ROc4ebM3LpdvrDce0PTloZHScAh3GT2d88h9WZx9CPAyRbiRkqJ
X-Gm-Gg: AYBFou0i+kp3HEenvpjodf9Tl3jqaXDIimugneR9gb+bByj5VNPQIHNmoRr3/l32wcb AtfpX6vdNv8KXQgPJVPldqAS4iS2TYi2rOwnoHWlgK5F7yHOskqXFbH7PZckToEwk50IADFBPxV hZ7eQP1Ywi/ayoy+i5gvWsawYKwtSLlOAT31v3nUBUNp2mv5T+cGCTmRudTyJ9zXgf/WWPt1xXK 7HcafLBHWkDOcivtDBoj60ZJAOa55J/GE/zl3PbtGE8nqE1SI4x3dwydxHx+olatuJMcvIj7fbS Q1aVqo4/CHOKGCt06uHCGeeX5NEiP8wT+ufcWlUME4URplTLFNOhPkhzqpS0ZO6Yad6Axs0dk1c uLvWICvJNFQXiE/JPM3RY1qQHyt4LM5lEODdVxZC4Cci5vhC4ZhRitW9Qa736JH7L6Lm8cPPbJX Xr+z1qmPC+1F2wL4hePOKYb4B7piiYw4zYrLXwIBg5iAiAez6B86l+ZhsgQfi6Z6hcx+zSgaKl5 v0eiu1IJPPTG6tiKGtTxi8CCtl6rtwnR9jUPOjtElR0xtogRqGdMx1OdeJs/rakwVDt7SlkHrSV lY63wO/XLk2y9bpGG4IiAQmqOj8AesZuj/1HV6vPnC91Bw8TX5qaX4M1PfJ4eNTLHDVPYoES9cv IjZA1M/LKQIyBLnG6dhIpW7MAH++mR7UnIQ==
X-Received: by 2002:a05:600c:1988:b0:4a2:1a:a116 with SMTP id 5b1f17b1804b1-4bb5e2693b0mr281411975e9.0.1794933712865; Tue, 17 Nov 2026 08:41:52 -0800 (PST)
X-Received: from Ansuel-XPS24.localdomain (93-34-92-103.ip49.fastwebnet.it. [93.34.92.103]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4bb78430752sm82316475e9.12.2026.11.17.08.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2026 08:41:52 -0800 (PST)
X-Mailer: git-send-email 2.55.0
X-In-Reply-To: <20261117164132.47167-1-ansuelsmth@gmail.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-Received-Bytes: 13177