Article View: linux.kernel.netdev
Article #21282Re: [PATCH net-next v2 2/2] net: hix5hd2_gmac: support fixed-link and mdio child
From: Andrew Lunn
Date: Mon, 23 Nov 2026 19:57
Date: Mon, 23 Nov 2026 19:57
26 lines
9297 bytes
9297 bytes
On Mon, Nov 23, 2026 at 07:01:31AM +0800, David Yang wrote:
> On Hi3716cv200 hix5hd2_gmac is found directly linked to another MAC
> without PHY. The driver didn't take fixed-link into account and failed
> probe when the node has no phy-handle. Add support for fixed-link.
>
> With a fixed link declared on the MAC node, of_mdiobus_register() treats
> the reg-less fixed-link child as a PHY candidate and walks all 32 bus
> addresses, printing "scan phy fixed-link at address X" for each address.
> Register the bus based on if the PHY attached to a given interface is
> described in the device tree or not, like commit ef8a2e27289e ("net:
> macb: fix probing of PHY not described in the dt").
Please split this patch up.
Add support for the optional mdio node.
Then add support for fixed link.
These are logically different things, so should be in different
patches.
Andrew
---
pw-bot: cr
Technical Details
Message-ID:
<a9a587e3-f7d0-4a67-8815-f12e5ff49628@lunn.ch>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369739-linux-kernel-netdev=dewy.ruReferences:
<20261122230134.3366017-1-mmyangfl@gmail.com> <20261122230134.3366017-3-mmyangfl@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369739-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v2 2/2] net: hix5hd2_gmac: support fixed-link and mdio child Date: Mon, 23 Nov 2026 20:57:41 +0100 Organization: Usenet Network Message-ID: <a9a587e3-f7d0-4a67-8815-f12e5ff49628@lunn.ch> References: <20261122230134.3366017-1-mmyangfl@gmail.com> <20261122230134.3366017-3-mmyangfl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="3970576"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:VXTxeX/da3XnlZySPhFLg5AUFWQ= sha256:IIBEOmPxoLiwh5gF/TOArBXJmyt+DOb/6wGKiHxrLUA= sha1:2NUnoWUr4BXssAh7SI5gLpbyU3M= sha256:6rnMsuMrCxetwdLDqjPRFC63ZoMFzkqdrAfooUghg3k= Content-Disposition: inline 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 07161125DB9; Mon, 23 Nov 2026 22:58:15 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch 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 I2zNbH2SH5As; Mon, 23 Nov 2026 22:58:07 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-369739-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 8C135125DC1; Mon, 23 Nov 2026 22:57:57 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id B376733467; Mon, 23 Nov 2026 19:57:55 +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=1795463875; b=XFBBo19IT8cFy7SlGz/Ow4LpS14TY4DyWqELc2zEsda2lqDObJHMfxO5+ay3U7XTo1Yd hQJ3818KJUP0Il3MgGje9+EDu1HZATzS6kJyR0RdVfKHWFEOoR1q4aPJJJQpGhTOPXLZp 7UanWjDh3IumlZAXGm0N6eISVM63tm4H2aLMX/KAVc2WjlW8MFYFbiKoys9AciFSN9uUc ATXc3rZpWDNzb2iR3QFkUF5bb1UmLJEnEgDgN3xJ8hLrIxsTRZfByfcVf1I5FHuJJjqix tXOja8ljAW4oYSn3WQBUgUyjGc3eioR4Z0kbZk00QdqsHjP3VquxDWCjWj7Q3V5WZ6w== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795463875; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=D7q7cBjmg1g9miWY5cP21kvzMw2hIFRfrX+Qy8eFRzk=; b=zT3X9fjJJQDDxmx6EDKPRp89ItARAmR+k4brFpKJ2EcrHl/F3RfK39zDGfPOhOHqYfQV j6MGmXn9ABkQ5l/NEEUG45+pYcFp//p/DkaH3AH/EV+iPPthl2dR4puvdcOjISj0gOaUD 8KireRXh+BrvZ3vFOCzQgmZmQ1IUNVM8Anji7Obzm1Wlf/KC/TBz1Ymb+Vnammuq31Asv 6w/WW42Ps4SqNfK3wOwMjNTODeM57a+Fka3UocODl9qiI8Gj0IYrBSXqeBbciXexA8b9v 6T37k0fNCvrQJciLEADB8d3YGY9rYRT30jL2qffM07G2jYVSVAR0EYjCGC7Z/KF+JPg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=3T9mqLlg; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; 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 8B38E606A32D; Mon, 23 Nov 2026 19:57:55 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=3T9mqLlg X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795463874; b=ARhdpSXu9ODmRfUnyzKB76hfNq6ZBCSo+XAfKFu4ncv4sbNoZb9qFqKb0mjtbjpuDKgz yJuyUkwWCMEq6ftnZ3r4sCHC5GZ5AmRL5wjkKDHdC+xnjklLITDU++ufXYDlU2/hPkfM5 sK0sTCIFVD3+JGYOaEDF6WZ8B26AV08oLUNGN5/vTz1o/4NQU8tmwE7tbbdMy0e5OKYyA y2UXOupZeu9JQvhoNgPTHgIs6VpTiRK9vzfQGyJWsZCx80FiWCWiWsYThaSEa6W8psyt1 4XewwCQI4oU/4tP4Xp7N0yUDO/CmexTMxqXsENdNoBSOoQSBz+7r4urycqHa8/hE9tw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795463874; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=D7q7cBjmg1g9miWY5cP21kvzMw2hIFRfrX+Qy8eFRzk=; b=WMs9MpSFKPJOoY20Lr+62z++n8AefmYE8lzSbARBG+iaGnCXI8NtrWE5VBsmrCJDdPA5 KkVpKbdRUdO6ZBwe0I3SgiogiyB0QdPDj/r8e+m4cIrBBRnkpegQzqMEHWOuY6qF8Weu+ 1pZKkX1Yg7yQNhI7+Y8BdEW/BCJtzpTcbJvy+CnGqfIC/QtET2O8lwW6srwW8sfSEd5l4 geE6+PDFZE5jZi9DfozhL4KNCcjoJAGrH6FVeCsJmQp3iEhsTmhqoosLaClHghQf3Nw5k 01yqCdO4sdBthRjoN6ljyslQhCsDUYvkPFCXZ5CR7jrvBV3c4Yid6V9P4VD6JmWihUg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=3T9mqLlg; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69217606A31F; Mon, 23 Nov 2026 19:57:54 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 69217606A31F X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=D7q7cBjmg1g9miWY5cP21kvzMw2hIFRfrX+Qy8eFRzk=; b=3T9mqLlgtPoBR9w6y9TGRQXD/R xCYTRGqWyQlkKtd4IxmBwovjdUDN/AQI3cqK9I/6NR/EhbWXw0cC+wDAgUReUNNP/wRdiB0JDkyRI CBghBzOEzCpyvbFL/4UkThqeejtXWzSQD4bgtvgAGf/vhOG1qITUNfHeeyqsIZTtHIIQ=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xVaAX-000skY-KP; Mon, 23 Nov 2026 20:57:41 +0100 X-Cc: netdev@vger.kernel.org, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Jian Shen <shenjian15@huawei.com>, Jijie Shao <shaojijie@huawei.com>, devicetree@vger.kernel.org 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-In-Reply-To: <20261122230134.3366017-3-mmyangfl@gmail.com>