From patchwork Wed Sep 16 04:41:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alastair D'Silva X-Patchwork-Id: 3371 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mxe881.netcup.net (Postfix) with ESMTPS id A3BB71C1FF4 for ; Wed, 16 Sep 2026 06:43:30 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=d-silva.org; spf=pass (sender IP is 172.234.253.10) smtp.mailfrom=linux-sunxi+bounces-25974-noreply=patchwork.local@lists.linux.dev smtp.helo=sea.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.234.253.10 as permitted sender) client-ip=172.234.253.10; envelope-from=linux-sunxi+bounces-25974-noreply=patchwork.local@lists.linux.dev; helo=sea.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id CA4032E421 for ; Wed, 16 Sep 2026 04:41:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC5371BD9D0; Wed, 16 Sep 2026 04:41:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=d-silva.org header.i=@d-silva.org header.b="TVevDxfh" X-Original-To: linux-sunxi@lists.linux.dev Received: from www.nmnhosting.com (watt.d-silva.org [119.15.109.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B4CC36B910 for ; Wed, 16 Sep 2026 04:41:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=119.15.109.137 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789533698; cv=none; b=m8LZ42AQBVlLRzb+wvALpI4MFfNR4drsAZRkwhKK9KVoVwojX4llvizzNbnmb+ZD979Uluu8dplglTLHDypcBpBZ0IdNgJ7nDV7dvkS8qPyT+diUtG7sP7ioEfNZ13AU6nthHhgq/F1/cDki/JSWvKkpaLxpzf1qtgeyxeEWICo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789533698; c=relaxed/simple; bh=7NPwQy2auI7LmLQm3SpYdb8l1i8zjUHB0l13I1dVu+s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TJErwAUV8DItRYz5DwWKEsUFNkikz+H8PO0PvrnHXWYKPfYbFplyKFIFX7rTcEcsUhSlBhsQnnMO2ZD4UehG/lFblEEz9JoiRqqjp/3RlJ3JJ4x5SW85oTmIcKBnvx0WjmyhRsoBHT6DEsYGMPHc9KkQsAWGigtZxbxEYfErvrg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=d-silva.org; spf=pass smtp.mailfrom=d-silva.org; dkim=pass (2048-bit key) header.d=d-silva.org header.i=@d-silva.org header.b=TVevDxfh; arc=none smtp.client-ip=119.15.109.137 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=d-silva.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=d-silva.org Received: from Hawking.lan (hawking.lan [10.0.1.4]) by www.nmnhosting.com (Postfix) with ESMTP id 5165D424F1; Wed, 16 Sep 2026 14:41:27 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d-silva.org; s=2025a; t=1789533687; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G/UK2qpKtNV1mnmu2lxIpo6gk6uPMJBOxxrjbjHOjE8=; b=TVevDxfhqAX54sA9vZQWaBqtG2zSD+Fe4J8ZB3UfbBQbzBqtslXdfrAEeqtC1fQ96qI76z 5AfPBj+mSDZoIrTHZDbnK0/kAvULYaMDkDb5IXM5+1UWsD21tn0VtitEEzOM1XSpsp4t0X TjhGRUUlZTgYMNWnBcstLBe6HvvG5M0v1LKn6Zu+AHLNs8qx468UcZaLwtaqLRfP93v4UK mbzORxn1jAJMkLN+Jp7l1AquUN2gxO6FsamKTCbbNAKiDquqOKCVgZNXoCiYKlN44CLkTU pDs6OkpBpQ2zyVIsaGpX5laoY6fOgDs5L6NPF/Q+H2vUuR4GqgvAojeeGH1nHA== X-GPT-Reason: legitimate; this is a technical Linux kernel patch submission for device tree bindings. The mailbox (alastair@d-silva.org) aligns perfectly with the sender (Alastair D'Silva ), and the content is a standard git-style patch for the net-next mailing list. The URL domain (devicetree.org) is relevant to the technical topic of hardware bindings, and there are no indicators of phishing, marketing, or urgency. From: Alastair D'Silva To: Andrew Lunn , Heiner Kallweit , Russell King , Alexandre Torgue , Maxime Chevallier , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Alastair D'Silva Subject: [PATCH net-next 1/4] dt-bindings: net: phy: Add Allwinner AC300 EPHY binding Date: Wed, 16 Sep 2026 14:41:16 +1000 Message-ID: <20260916044119.475666-2-alastair@d-silva.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260916044119.475666-1-alastair@d-silva.org> References: <20260916044119.475666-1-alastair@d-silva.org> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-0.66 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.234.253.10:from]; SUSPICIOUS_RECIPS(1.50)[]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; MAILLIST(-0.15)[generic]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; PRECEDENCE_BULK(0.00)[]; TAGGED_RCPT(0.00)[netdev,dt]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[119.15.109.137:received,100.90.174.1:received]; RCPT_COUNT_TWELVE(0.00)[21]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.linux.dev,lists.infradead.org,kernel.org,gmail.com,sholland.org,d-silva.org]; DBL_BLOCKED_OPENRESOLVER(0.00)[d-silva.org:email,d-silva.org:dkim,sea.lore.kernel.org:rdns,sea.lore.kernel.org:helo,0.0.0.0:email,devicetree.org:url]; FORGED_SENDER_MAILLIST(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_ALLOW(0.00)[d-silva.org:s=2025a]; FROM_NEQ_ENVFROM(0.00)[alastair@d-silva.org,linux-sunxi@lists.linux.dev]; DMARC_POLICY_ALLOW(0.00)[d-silva.org,reject]; FREEMAIL_TO(0.00)[lunn.ch,gmail.com,armlinux.org.uk,foss.st.com,bootlin.com,davemloft.net,google.com,kernel.org,redhat.com]; DKIM_TRACE(0.00)[d-silva.org:+]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:172.234.253.10]; RCVD_COUNT_FIVE(0.00)[5]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[bounces-25974-noreply=patchwork.local]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:63949, ipnet:172.234.224.0/19, country:SG]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.234.253.10:from] X-Rspamd-Queue-Id: A3BB71C1FF4 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Add device tree binding documentation for the Allwinner AC300 Fast Ethernet Physical Layer (EPHY) co-packaged on Allwinner H616 and H618 SoCs. Assisted-by: LLM Signed-off-by: Alastair D'Silva --- Notes: Tested on Mellow Fly-C5 (Allwinner H618) under Armbian with Linux 6.18 and 7.x kernels, verifying schema validation with dt_binding_check. .../net/allwinner,sun50i-h618-ac300-ephy.yaml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun50i-h618-ac300-ephy.yaml diff --git a/Documentation/devicetree/bindings/net/allwinner,sun50i-h618-ac300-ephy.yaml b/Documentation/devicetree/bindings/net/allwinner,sun50i-h618-ac300-ephy.yaml new file mode 100644 index 000000000000..a04416e78138 --- /dev/null +++ b/Documentation/devicetree/bindings/net/allwinner,sun50i-h618-ac300-ephy.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/allwinner,sun50i-h618-ac300-ephy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner AC300 Ethernet PHY + +maintainers: + - Alastair D'Silva + +description: + The AC300 is an integrated Fast Ethernet Physical Layer (EPHY) co-packaged + with Allwinner H616 and H618 SoCs, communicated with over MDIO. + +allOf: + - $ref: ethernet-phy.yaml# + +select: + properties: + compatible: + contains: + const: allwinner,sun50i-h618-ac300-ephy + required: + - compatible + +properties: + compatible: + items: + - const: ethernet-phy-id0044.1400 + - const: allwinner,sun50i-h618-ac300-ephy + - const: ethernet-phy-ieee802.3-c22 + + reg: + maxItems: 1 + + clocks: + minItems: 1 + items: + - description: 25MHz reference clock from CCU + - description: 2MHz reference clock from PWM + + clock-names: + minItems: 1 + items: + - const: ephy + - const: pwm + + nvmem-cells: + items: + - description: Calibration data from SID + + nvmem-cell-names: + items: + - const: calibration + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethernet-phy@0 { + compatible = "ethernet-phy-id0044.1400", + "allwinner,sun50i-h618-ac300-ephy", + "ethernet-phy-ieee802.3-c22"; + reg = <0>; + clocks = <&ccu 81>, <&ac300_pwm_clk>; + clock-names = "ephy", "pwm"; + nvmem-cells = <&ephy_calibration>; + nvmem-cell-names = "calibration"; + }; + };