🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5253

[PATCH net-next v27 1/3] dt-bindings: net: Document Motorcomm YT8824 PHY package

#5253
From: Kyle Switch
Date: Tue, 20 Oct 2026 02:19
112 lines
10623 bytes
Motorcomm YT8824 Ethernet PHY is PHY package of 4 PHY-s.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Kyle Switch <kyle.switch@motor-comm.com>
---
 .../bindings/net/motorcomm,yt8824.yaml        | 78 +++++++++++++++++++
 MAINTAINERS                                   |  2 +
 2 files changed, 80 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/motorcomm,yt8824.yaml

diff --git a/Documentation/devicetree/bindings/net/motorcomm,yt8824.yaml b/Documentation/devicetree/bindings/net/motorcomm,yt8824.yaml
new file mode 100644
index 000000000000..4c67f8afcf27
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/motorcomm,yt8824.yaml
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/motorcomm,yt8824.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MotorComm YT8824 Ethernet PHY
+
+maintainers:
+  - Kyle Switch <kyle.switch@motor-comm.com>
+
+description:
+  Motorcomm YT8824 Ethernet PHY is a PHY package of 4 PHYs.
+
+$ref: ethernet-phy-package.yaml#
+
+properties:
+  compatible:
+    enum:
+      - motorcomm,yt8824-package
+
+  motorcomm,package-mode:
+    description: |
+      PHY package can be configured in 2 modes:
+      - internal: YT8824 is embedded in the switch, using
+        an internal interface to the MAC.
+      - 10g-qxgmii: YT8824 is a standalone external PHY,
+        connected via 10G QXGMII.
+    $ref: /schemas/types.yaml#/definitions/string
+    enum: [ internal, 10g-qxgmii ]
+
+  reg:
+    description:
+      The absolute MDIO address of the YT8824 shared top extend
+      register block.
+      For internal mode, this is fixed at 9;
+      For external mode, it is the base MDIO address of the four
+      member PHYs plus 4, where base is typically 0x0.
+      Note that this is NOT the reg of the first member PHY.
+
+required:
+  - compatible
+  - motorcomm,package-mode
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    mdio {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        ethernet-phy-package@9 {
+            #address-cells = <1>;
+            #size-cells = <0>;
+            compatible = "motorcomm,yt8824-package";
+            reg = <9>;
+
+            motorcomm,package-mode = "internal";
+
+            ethernet-phy@4 {
+                reg = <4>;
+            };
+
+            ethernet-phy@5 {
+                reg = <5>;
+            };
+
+            ethernet-phy@6 {
+                reg = <6>;
+            };
+
+            ethernet-phy@7 {
+                reg = <7>;
+            };
+        };
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index 23e9194483d9..ac8e12e7b839 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -18424,8 +18424,10 @@ F:	drivers/net/ethernet/stmicro/stmmac/dwmac-motorcomm.c
 
 MOTORCOMM PHY DRIVER
 M:	Frank <Frank.Sae@motor-comm.com>
+M:	Kyle Switch <kyle.switch@motor-comm.com>
 L:	netdev@vger.kernel.org
 S:	Maintained
+F:	Documentation/devicetree/bindings/net/motorcomm,yt8824.yaml
 F:	Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml
 F:	drivers/net/phy/motorcomm.c
 
-- 
2.25.1
Technical Details
Message-ID: <20261020021929.3028490-2-kyle.switch@motor-comm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348980-linux-kernel-netdev=dewy.ru
References: <20261020021929.3028490-1-kyle.switch@motor-comm.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348980-linux-kernel-netdev=dewy.ru
From: kyle.switch@motor-comm.com (Kyle Switch)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v27 1/3] dt-bindings: net: Document Motorcomm YT8824 PHY package
Date: Tue, 20 Oct 2026 10:19:27 +0800
Organization: Usenet Network
Message-ID: <20261020021929.3028490-2-kyle.switch@motor-comm.com>
References: <20261020021929.3028490-1-kyle.switch@motor-comm.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3765848"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:KECjPCMkwdvD/sS299hj+Eq9ET0= sha256:bUzOEVHdKo+t0cF4vFNVnUeLZj8JfuoZoRZhAccP/PQ=
	sha1:XAJLvHsjlZCh7z36rU1fjpLeCfI= sha256:oG34EIu7FdPS5uNkmx02E+SbaUnpAQtVa5GnhnzDP0Y=
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 7F9F3110BC5; Tue, 20 Oct 2026 05:20:41 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Status: No, score=-1.848 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001]
	autolearn=ham autolearn_force=no
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 A6O56cJomPcc;
	Tue, 20 Oct 2026 05:20:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-348980-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=motor-comm.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 2A8A9110BC0; Tue, 20 Oct 2026 05:20:35 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 53CDE3BD35; Tue, 20 Oct 2026 02:20:00 +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=1792462795;
	b=Bzy2GfY0+PmW/CegFMI+gUkPw36KfmfzezmpH4L4f4DbtnWYTSgI0PrAJKIqDFEZIs72
	 IQ2X3T58pITS3WtXF4jxSmUg4fObkVlZgw3BwULRsKac/3SQ1rxHMDAsvl9gnnqBo0kY7
	 rd3Nz1yj2vyCx/iDMw8Oh80fjd0C/WRfl1bptDRXIIoEpNApWMhH9s1KIdKPRu/25yGd4
	 0m5WgK19C8RIgWFr5EvlbnIkx5mochWdqH3Jlkh+xerSN+xJf9tJmDauLw/RIO8jPhR1i
	 5rEAmzy+jfjkGHic8r2PneX2oGMbo+5UfHRKZPc7EzAi68aqPadaCL7RtfiMS1ZhH5Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792462795;
	h=X-Original-To:Received:DMARC-Filter:X-Alimail-AntiSpam:Received:From:
	 To:Cc: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=tOWqvx8Woy+LjEMc10+JDnPfWEgPryv4jjUFViIsT6A=;
	b=NZFh8P56vBMy4zyla7DCUc5qZaPjljjq4CvNVSHdWqf8kB/NqZKj6eztP9l3VAymrQNx
	 LL1rtWqPd/QGLjZrbeW0GDxaPbbxxLmMshBrWUjiNDU8RnRmqjerU1LX4TE4dvBWgYKxQ
	 Vl4/o7fOLNV0+PzGKNgXo4mwN65k6P5YMOHLdnaO7JdPZk+Ft1mfZrJ6767MCaAqgupWM
	 T8vsvenVIY5S2YrIJIE0yyLDzUST85ACxZ+h9pE7O3QKWkKGM8TsUEivqh7bXxpF/ZLgZ
	 UIkqqdJYgq6ScwB3gSnhsU9WlBJuXZMqVmQmBrxosIwynwUtxrNvEcq0RjK+08ssniA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=motor-comm.com;
	spf=pass smtp.mailfrom=motor-comm.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 95C5B606A332;
	Tue, 20 Oct 2026 02:19:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=115.124.28.73
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792462790;
	b=tc5zEo7xtBTr99KXqQdG1+zULdKhs4Z7mOSNbHOWxDaYHfXMSNgPEBw2db5N4zFsFIXN
	 9Ihcx4zHxuZqAuR/XjYmFtP4sDneRVMlHfDI+8KQn/7Fai01IbV8w/t6LSREC1ikI5viL
	 C0sF/gFmfzHokhPMxzB8DEVEu7ZvXmsbMQZTicKyEgtygLisXvcOt6pCKj7j9Q3shznNt
	 bfplqZIfI//yvP62rLwFP8FkdOnQSf3Oi/9w8iu7+IjcB8XbTqo0Vq90oyHZhngEZEzKh
	 aKfMvI8UAUKLGb51gu9U5ltjK8DwG4UkqTYoPs8NolWwtIXy84M/6OfP/8H+u6muMfg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792462790;
	h=DMARC-Filter:X-Alimail-AntiSpam:Received:From:To:Cc:Subject:Date:
	 Message-Id:X-Mailer:In-Reply-To:References:MIME-Version:
	 Content-Transfer-Encoding;
	bh=tOWqvx8Woy+LjEMc10+JDnPfWEgPryv4jjUFViIsT6A=;
	b=0UFU4/SE7rzliY42ZkeUMiLqfQOqX234WMFonJXjAv0y0M9yg1HpjFu8FDAzGrThq7qE
	 DfgPn/hbuRaQgByyjG02riEG+PO3lTYLQgh/NlsLhjYsGK0G9Oqe6h0eQOHIs5MTeYTeL
	 dV8JOS8xwQiZFcbufCxWrM9aIwCwu7Uw31QRCUALYLfntPyHO/fQ1zt4H7dThZNnWptNz
	 4+gBEp7K4lX8SRmkWeKL6aKUQJnUiigLrDOUHJ4vNjvCcLiDMG0VvXIuWDo5DBIUCDIiw
	 k6kxlJe8t0BftwPKJcraWu87UuO0Ad29LLCOs45XYK5WHS2iimFKoSlZrm+5eKvf0Yg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=motor-comm.com;
	spf=pass smtp.mailfrom=motor-comm.com;
	arc=none smtp.remote-ip=115.124.28.73
X-Received: from out28-73.mail.aliyun.com (out28-73.mail.aliyun.com [115.124.28.73])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35490606A31A;
	Tue, 20 Oct 2026 02:19:46 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 35490606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=motor-comm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=motor-comm.com
X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07425008|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_regular_dialog|0.04611-0.00409288-0.949797;FP=16348516055681926321|14|2|17|0|-1|-1|-1;HT=maildocker-contentspam033037017159;MF=kyle.switch@motor-comm.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.jlJBm5M_1792462776;
X-Received: from motor-comm.com(mailfrom:kyle.switch@motor-comm.com fp:SMTPD_---.jlJBm5M_1792462776 cluster:ay29)
          by smtp.aliyun-inc.com;
          Tue, 20 Oct 2026 10:19:37 +0800
X-Cc: ming.xu@motor-comm.com,
	xiaolin.xu@motor-comm.com,
	jianmin.wang@motor-comm.com
X-Mailer: git-send-email 2.25.1
X-In-Reply-To: <20261020021929.3028490-1-kyle.switch@motor-comm.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