Article View: linux.kernel.netdev
Article #16248Re: [PATCH net-next v4 1/4] dt-bindings: net: dp83867: add compatible and reference ethernet-phy.yaml
From: netdev-bot+sashiko
Date: Sat, 14 Nov 2026 11:25
Date: Sat, 14 Nov 2026 11:25
87 lines
11283 bytes
11283 bytes
Thank you for your contribution! Sashiko AI review found 1 potential
issue(s) to consider.
Critical: 0 · High: 0 · Medium: 1 · Low: 0
If you believe none of the issues are legitimate, please reply to each
issue of Medium severity or higher and explain why the AI is wrong.
If any of them are legitimate and you plan to respin, please let patchwork
know by including "pw-bot: cr" as a separate line at the end of your reply
(one such reply per series is enough).
- [Medium] This patch adds `select: properties: compatible: contains:
const: ethernet-phy-id2000.a231` to…
--
dt-bindings: net: dp83867: add compatible and reference ethernet-phy.yaml
This patch adds a compatible for the DP83867 PHY ID, with an optional
ethernet-phy-ieee802.3-c22 fallback. It also adds a select on the PHY ID,
so dtschema now applies the binding to nodes. The $ref changes from
ethernet-controller.yaml to ethernet-phy.yaml.
> diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.yaml b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> index 4bc1f98fd9fe5..2cd8311ece5e5 100644
> --- a/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> +++ b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
> @@ -8,7 +8,16 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
> title: TI DP83867 ethernet PHY
>
> allOf:
> - - $ref: ethernet-controller.yaml#
> + - $ref: ethernet-phy.yaml#
> +
> +# only the PHY ID, not every PHY with the c22 fallback
> +select:
> + properties:
> + compatible:
> + contains:
> + const: ethernet-phy-id2000.a231
> + required:
> + - compatible
[Severity: Medium]
With this select, the schema now applies to every in-tree node that has
"ethernet-phy-id2000.a231". The binding still ends with:
unevaluatedProperties: false
Several Xilinx ZynqMP devicetrees set #phy-cells on their DP83867 nodes.
For example, arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts has:
phy0: ethernet-phy@21 {
#phy-cells = <1>;
compatible = "ethernet-phy-id2000.a231";
The same pattern is in zynqmp-zcu102-revB.dts, zynqmp-zcu104-revA.dts,
zynqmp-zcu104-revC.dts, zynqmp-zcu106-revA.dts, zynqmp-zcu111-revA.dts,
zynqmp-sck-kv-g-revA.dtso and zynqmp-sck-kv-g-revB.dtso. It is also in
zynqmp-sck-kr-g-revA.dtso and zynqmp-sck-kr-g-revB.dtso, with two PHYs
in each.
#phy-cells is not defined in ti,dp83867.yaml or in ethernet-phy.yaml. With
this patch, will make dtbs_check report "Unevaluated properties are not
allowed ('#phy-cells' was unexpected)" for all 12 of these nodes?
The commit message says:
Reference
ethernet-phy.yaml instead, which also describes reset-gpios and the
other generic PHY properties existing devicetrees use.
That doesn't seem to hold for #phy-cells.
The later patches in the series keep the select and
unevaluatedProperties: false. They don't change these DTS files either, so
the mismatch is still there at the end of the series.
Should the series either drop #phy-cells from the Xilinx devicetrees, or
allow it in the schema? It looks bogus on an MDIO PHY that isn't a generic
PHY provider.
[ ... ]
--
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261110-v7-2-topic-dp83867-v4-0-a268f83b1ec1%40pengutronix.de
Technical Details
Message-ID:
<179465553656.2199510.11430097651218280926@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363207-linux-kernel-netdev=dewy.ruReferences:
<20261110-v7-2-topic-dp83867-v4-1-a268f83b1ec1@pengutronix.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363207-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v4 1/4] dt-bindings: net: dp83867: add compatible and reference ethernet-phy.yaml Date: Sat, 14 Nov 2026 11:25:36 +0000 Organization: Usenet Network Message-ID: <179465553656.2199510.11430097651218280926@kernel.org> References: <20261110-v7-2-topic-dp83867-v4-1-a268f83b1ec1@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1558397"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:SkXdwhRS3naSf1B9zX3eKTo5AAQ= sha256:wtBCYmKBjlEt/IkyZmYq9IXM6z4bvjHeE5X8cBoyYNA= sha1:ZEcCqiic1VPtojTrDol03RLRc0U= sha256:LxMArKgf2kh9kJzJF/BPUeRtQu88F8Ch6c+YcMlfM9o= 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 C2E9E114732; Sat, 14 Nov 2026 14:26:09 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.4 X-Spam-Status: No, score=-3.4 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, URIBL_BLOCKED=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 82Rlg54J5VhL; Sat, 14 Nov 2026 14:26:02 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-363207-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 B669E114751; Sat, 14 Nov 2026 14:25:53 +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 46BF13C8CD; Sat, 14 Nov 2026 11:25:49 +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=1794655544; b=jfG1juNW7THoDfvgaompIJQUWe4b/3y48Pv5piKogvHKLe7nHJsFDBNHfWiIUNiEwMcT ByUscc2kqUXWZQ4HJAizdLL5WsurDiSYfqaNa20lZDjkM1bhzufuDpTDw+hRUuITw96jO IPqxDgSp5aEgVNCa5fC1k5dCsfwvWAG4+iogG/P1iexdTqZeA/8bFDbJcNtTHINjtWjrs iKsrkqvQPqfiO70WJRzqc5JHK+82NHdQ8DryYJHj9LvRik7DLqqcPTFjIKHj539LZO1Rf +BVSz8ldK8ctkoPOUWD0BP4TJW2J7PNU/lQ13kQdyv/LSTvI0VPWzKogD8eMyiUxnJw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794655544; 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=BZMV82AAXCCxgE7Hsa51ktlr29+UIpvHYfbEnQ2q08U=; b=RDSYv7FSh0Mxedrw7qI3HCqMLMyfp9hMHdYbjzV02MMqXEG1UG6fwnkrJTuEKIjicNTf bTRKgaVaxEftqpul4BV31RDQnmNolQCk5mwomUTLIjIRLYfUQJtmET0fV9N/pQDhhcCf1 llKq+rLkFAwyENsAqbCvd8FBdpuEewteLK2rc4w3JmLl9b0XWRTono1IrW439jcILKikO F54EK5O0iYy6XbtRbqceulqm2+sdmb85DZx5g01C2It5Plpn/J8JMvRzFp+ld0YrgHc0z HlcixMyZ5BJj1kvabEAzPC++XREZzwbBFVFNFWThIRbiqYVLDKjjAZf1qI19MUbo+SA== 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=W45qvjQF; 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 39381606A329; Sat, 14 Nov 2026 11:25:44 +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=W45qvjQF 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=1794655538; b=faTUrcvJ9zEjdlB2DOhxNgDSInt6cYmxZ/yFruBgi48szwnnaXHCGWccoWCh2aXcPEcP 4S18MWFWrNSoUmvmmyvCwad2csSANKAkOWmF/3lOTNWKVNTqwBpmdXtmo6+Rmc8s+G9ZA kbxpQhLIO8LfR6PGcuPL52XEaUyLtSl1tUJMWzbnRabVEWeN2HzHuCYOXdy+aQZzgKRrY c07cA72Gd30TpaJ1upOVLSOyAJrCnHGU0JLiLR35h4+yIpXYtA8csk0nL4FJUNSkzG9Jt wcqvtCWODdBwEu98igTHDx/h9uvZIbHZeE6dEfPHxzI6oDFNPlKqiacqB5KVwy1cBBw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794655538; 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=BZMV82AAXCCxgE7Hsa51ktlr29+UIpvHYfbEnQ2q08U=; b=rFbZm8DKav/KaErWpmXY9h9KfVepWQtZtGNy/Fk0XAR3Eokhz8bVpCaHeU4N6L3qjifH JwLiH9D+4ft7hjoT6B+9QqEomepoJk2GyKfXM+Oht/1ssFJt+z4qWRKoXSOBPIwJAq9fz bj7RLD7YNP6OFhUeQYsYNcBhOwYvXxELzl6sDzn+IJFJciB6YnGzJ/INKh9v6LGeLTsws nWR0RvlpUT2lueoEduBtCxn7D53V7OVFdE+x3R0lF5uTGYbr8ZUjwW3SGQzgfY3n5j+p6 b/Paa2gsu9ymR4CPzd9d3dzdl38BMM4eEiZAzd/zvvgQ6yWll2BlpD8y0vPfCzkUZew== 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=W45qvjQF; 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 5685E606A323; Sat, 14 Nov 2026 11:25:38 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 071A41F000C4; Sat, 14 Nov 2026 11:25:36 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794655537; bh=BZMV82AAXCCxgE7Hsa51ktlr29+UIpvHYfbEnQ2q08U=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=W45qvjQFqs/yCfEGqFyMi9x2QURtIaZP1yAJMQDJc5W1cy+d3ixJqQV8kvVyvMAtm 8Vnh/iMAY+7ZIQtQjvgL/byD4y+YY9AYAUYnWeCnL99HwnUmJCIkHsmSrDO5rViIH3 oXcRk/Rhw/OeXlnY3tw6fCx+mTMESj4lXeutg3QZBUT4Hs1dIuJeNdCowrBdB87YIV BU5ma1jYbvtH0sfEfkvGZKpuOElDdv4uEuanSNHHnvHgz46Vp4XT0zR7FPHqsf5WNs 6etmPn+FZYX+tth2dy8QBsvV8bX4VEKMGfCFzAyFxYyfhOsTyxlhq+i4HzZht7RXeW hQSnDrbQWYHEA== X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, afd@ti.com, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, michal.simek@amd.com, edumazet@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-In-Reply-To: <20261110-v7-2-topic-dp83867-v4-1-a268f83b1ec1@pengutronix.de> X-sashiko-severity: Medium 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