Article View: linux.kernel.netdev
Article #23283Re: [PATCH net-next v4 2/5] dt-bindings: net: hisilicon,hisi-gmac-v1: Add mdio bus child node
From: netdev-bot+sashiko
Date: Fri, 27 Nov 2026 01:43
Date: Fri, 27 Nov 2026 01:43
64 lines
10211 bytes
10211 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] In this commit the binding hisilicon,hisi-gmac-v1.yaml adds an
optional `mdio` child node and says that PHYs sit under it when it isβ¦
--
dt-bindings: net: hisilicon,hisi-gmac-v1: Add mdio bus child node
This adds an optional mdio child node to the hisi-gmac-v1 binding. When
the node is present, the MAC looks for PHYs under it instead of directly
under the top-level node.
> diff --git a/Documentation/devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml b/Documentation/devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml
> index 89ed6ab1905e1..a715298259552 100644
> --- a/Documentation/devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml
> +++ b/Documentation/devicetree/bindings/net/hisilicon,hisi-gmac-v1.yaml
> @@ -53,6 +53,13 @@ properties:
> - const: mac_ifc
> - const: phy
>
> + mdio:
> + $ref: mdio.yaml#
> + unevaluatedProperties: false
> + description:
> + Node containing PHY children. If this node is not present, then PHYs will
> + be direct children.
[Severity: Low]
With only this commit applied, does the driver honour the new mdio child?
hix5hd2_dev_probe() in drivers/net/ethernet/hisilicon/hix5hd2_gmac.c still
registers the MDIO bus on the top-level MAC node:
hix5hd2_dev_probe() {
...
ret = of_mdiobus_register(bus, node);
...
}
The binding now accepts PHYs placed under mdio { }. A DT using that layout
would leave the PHY unregistered at this point in the series.
of_phy_connect() in hix5hd2_net_open() would then fail to find a
phy_device for the phy-handle.
The next patch in the series, "net: hix5hd2_gmac: Use mdio child node for
MDIO bus if it exists", looks up the child with
of_get_available_child_by_name(node, "mdio"). It then calls
of_mdiobus_register(bus, mdio_np ?: node), which closes the gap.
This is the usual dt-bindings-first order for a series, so this is likely
fine as is. It is noted here only for completeness.
>
> hisilicon,phy-reset-delays-us:
> description: Triplet of PHY reset delays in microseconds.
--
Sashiko AI review Β· https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261126005524.4156940-1-mmyangfl%40gmail.com
Technical Details
Message-ID:
<179574379712.3135.10430747530251606424@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372399-linux-kernel-netdev=dewy.ruReferences:
<20261126005524.4156940-3-mmyangfl@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372399-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v4 2/5] dt-bindings: net: hisilicon,hisi-gmac-v1: Add mdio bus child node Date: Fri, 27 Nov 2026 01:43:17 +0000 Organization: Usenet Network Message-ID: <179574379712.3135.10430747530251606424@kernel.org> References: <20261126005524.4156940-3-mmyangfl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="612211"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Q5gT+Yd13xzBkoaixm8L+BjVOOk= sha256:tqRlKthCdnslBsO0HAU2zS2eG1LnpPxoz7ShChmLGLM= sha1:rnbu6fDKwg13KnF/HX+Wz2yqSVc= sha256:UowFsKvg+3PYY5swodHN88P9uyQgtvyxbRSeZUsxtlw= 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 BA67D125F0D; Fri, 27 Nov 2026 04:43:39 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 (2048-bit key) header.d=kernel.org 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 s9MN8OH6XO3l; Fri, 27 Nov 2026 04:43:32 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372399-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id CDD8E125F0C; Fri, 27 Nov 2026 04:43:22 +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 D18D0275A7; Fri, 27 Nov 2026 01:43:19 +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=1795743799; b=UN8EWh5iTnUjxpuYqTd17T86B3+QrwG9xnsZDVSbBrvxU9Vcx6Uwfrwx4HJryw9vcTkw TvVOkPEWALH8yPhqll83JqQbczEWGrKGq01k6lYmd1SLefGra7kFRg6V9b2sN3glp1Ek3 GgEuyO2L1LmBZPpU14iPIcXRVKIOM3bnV9WVc1yOXVXTwNd2Djdzh6Sq3SPlrdTKlNPoV cg+/+uzQ4zr3ntFnFK3sIUy5iJ115zS7jg69fphXmKpkgwQ2A2OHb2dUCbeDMdBdJjLHy 35xYiDPQN6HqNmfySUPhdLAEuHiqNkboOdTW7K+IoeLkn6kgOi6RAhtYrP+BedQAelQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795743799; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=DvviBGBIJRQKi/WJihFLJk/UaJC+vxIlEpLqn7MOxoU=; b=3jmcjy+AFg1MCSX78CZl5MB44PwW0kMAO3W+NcMe+dvS4h3+zA+bmrqt9qbPSHPbqwSJ Iw/zzagBvI+5OIgp7iFaSNy8kgKtpBM/m2/q5DtSoXb3aEPvDc7+IALPQ2FDBxcqQN+Dz mWDbHR7ad6C0yBBPR9phEIqyEp5dmTlCEBjW+p1Wg+h0l7pN5cfGM3nCH8klukSY1lEYo JbE/fmDoFWgvQdpJwtIQmzsjHaWefdlCRldZYXlcVGeLhvL7X8Wvy/8ltoXAn05xwkbKn qxCt1k+GgPtUmBTEx5xG3xwYPNT3IoCZ9oVnM1VbutsoMX1sIWD0hvQ2nFd5lV/DVUg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BmNjzFgF; 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 AA5D4606A32A; Fri, 27 Nov 2026 01:43:19 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BmNjzFgF X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795743798; b=HRPB/XfRGLt/Sc8vmvCViCtEGDZ01c9KR4o7kdk04T2nSbA/wEjnVMlTWS31CE3BWpTu LlDqzMQyKP1uAVg+rNay2Roe2SETfjMr98i6VUY/14Umrhsie4zX6LoXkZt5COx2O0n4u Rm8Oo6dlDNY4VbtyBoqf2xK+A+VwcuBip99oK3m8eAnufXDYSd+HwxecLjVOobF4ZDMmi G/AMvhMglSvMr3R+H02KPh8JMu+wTIlrglAqMUmHeoPfZ4tCDwFfFzA3uQdGH002bagSJ MAerxSI1wL5cPUysz8Qx4tczCls5qPCjwM6Un2BL9WT8M7+VzmcGgzR8uqP3YG1O2RA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795743798; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=DvviBGBIJRQKi/WJihFLJk/UaJC+vxIlEpLqn7MOxoU=; b=43LoBapf9Xip+pWePBXwjHz9NsXA9POlWKGwm2kKpHHvmU2rPk7Z601BiaqBSBHqLhJY iUu+V+CtVYGdV1qa0RBdOu8kdRdlZyKcEg4Kog9DpXgoeYuf4+AM9+M5ct+uvtNwohE3D w1RSNrH6vRVYiA55R+lZps5/y3/3Uj9tgnqweF6OuOuLDSPe6orRP8emkzDgPYtTkJ+kr dd2IzkvHHTc0sIZhMYRD0dCiAjVegBscZ4ni6CjoxtKIUsafC317xLTnQ8xkDaJ7Ac3LG khDBwt4kMt4UQ+zX24IEFfutYCDZD0nsVSqUu+hmIRP4j3UfQ02tOk1Dte/TBbx1FAg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BmNjzFgF; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C87E0606A31C; Fri, 27 Nov 2026 01:43:18 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D2ED1F000C1; Fri, 27 Nov 2026 01:43:17 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795743798; bh=DvviBGBIJRQKi/WJihFLJk/UaJC+vxIlEpLqn7MOxoU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=BmNjzFgF8FO3CvfjQJlFT4VwBf2fu5ui+Vd4K5RaJIvkIMmwbktFGkuoSuOBSc0ao qlAn8c5oA6rbm6iVCj5bwZTM7CBTUYC74/K9texFH7xhYlM6ZWJ+xy4N050KnspQZJ fz+lLvJOTtvUI1vP0mwnIMOFHt2p7lafxMxaZxB99x2dZ+bsdScdVy4SEgXWApthVA DyJvXC7JWT2RDtDAx94+DJh1OA56Rvm+S9H+y6LVMdaGjp2t1bG1uiFCFtCGILZKEq +8SHbETmtUj/g2ZKyYROEwXwbqMAbsOxlkpjczBmmAnWRI3HVZplypTVZ9DOPjTF0/ zsVlxY6UPHqyQ== X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shenjian15@huawei.com, shaojijie@huawei.com, devicetree@vger.kernel.org X-In-Reply-To: <20261126005524.4156940-3-mmyangfl@gmail.com> X-sashiko-severity: Low 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