Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jens Emil Schulz Østergaard" <jensemil.schulzostergaard@microchip.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH net-next v8 2/9] dt-bindings: net: lan9645x: add LAN9645X switch bindings
Date: Fri, 03 Jul 2026 06:46:35 +0000	[thread overview]
Message-ID: <20260703064636.0D2CD1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260702-dsa_lan9645x_switch_driver_base-v8-2-90228d8bba58@microchip.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Missing MDIO bus definition for integrated PHYs in LAN9645X switch binding.
--

(Note: The format of this report is altered due to recitation restrictions. Standard inline diff quoting has been omitted in favor of a free-form summary of the findings.)

commit ab7b03f9ab6454a9469ee1ad3b3543a10a033f6c
Author: Jens Emil Schulz Østergaard <jensemil.schulzostergaard@microchip.com>

dt-bindings: net: lan9645x: add LAN9645X switch bindings

This commit adds device tree binding schemas for the Microchip LAN9645X
multi-port Gigabit AVB/TSN Ethernet switch. It documents the compatible
strings, Ethernet ports, and provides an example configuration.

[Severity: Medium]
The binding description notes that the switch includes five integrated PHYs,
and the provided example references these PHYs using phy-handle properties
such as phy-handle = <&cuphy0>. However, the schema sets
unevaluatedProperties: false at the root level but does not define or include
a reference for an mdio child node.

Will this cause device tree schema validation to reject valid configurations?
If a device tree author correctly adds an mdio child node to represent the
internal bus for these integrated PHYs, the strict property evaluation will
reject it since the mdio property is neither defined in this file nor fully
evaluated by the included dsa.yaml schema. Should an mdio property definition
be added to the root properties list to allow describing the integrated PHYs?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260702-dsa_lan9645x_switch_driver_base-v8-0-90228d8bba58@microchip.com?part=2

  reply	other threads:[~2026-07-03  6:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-02  6:45 [PATCH net-next v8 0/9] net: dsa: add DSA support for the LAN9645x switch chip family Jens Emil Schulz Østergaard
2026-07-02  6:45 ` [PATCH net-next v8 1/9] net: dsa: add tag driver for LAN9645X Jens Emil Schulz Østergaard
2026-07-03  6:46   ` sashiko-bot
2026-07-02  6:45 ` [PATCH net-next v8 2/9] dt-bindings: net: lan9645x: add LAN9645X switch bindings Jens Emil Schulz Østergaard
2026-07-03  6:46   ` sashiko-bot [this message]
2026-07-02  6:45 ` [PATCH net-next v8 3/9] net: dsa: lan9645x: add autogenerated register macros Jens Emil Schulz Østergaard
2026-07-02  6:45 ` [PATCH net-next v8 4/9] net: dsa: lan9645x: add basic dsa driver for LAN9645X Jens Emil Schulz Østergaard
2026-07-03  6:46   ` sashiko-bot
2026-07-02  6:45 ` [PATCH net-next v8 5/9] net: dsa: lan9645x: add bridge support Jens Emil Schulz Østergaard
2026-07-03  6:46   ` sashiko-bot
2026-07-02  6:45 ` [PATCH net-next v8 6/9] net: dsa: lan9645x: add vlan support Jens Emil Schulz Østergaard
2026-07-02  6:45 ` [PATCH net-next v8 7/9] net: dsa: lan9645x: add mac table integration Jens Emil Schulz Østergaard
2026-07-02  6:45 ` [PATCH net-next v8 8/9] net: dsa: lan9645x: add mdb management Jens Emil Schulz Østergaard
2026-07-02  6:45 ` [PATCH net-next v8 9/9] net: dsa: lan9645x: add port statistics Jens Emil Schulz Østergaard
2026-07-03  6:46   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260703064636.0D2CD1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jensemil.schulzostergaard@microchip.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox