From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796287256; b=QlTUE5rjhluRVrvWyZuE4xdwPiLEULPCu3GYgzy5kJiMNQ95fAQ5mi8sw64CPwB8Mf9i lIg0JIw1foo1HM3siedIAXhrX9bzTUDaf3/V00l0aKUcsgZPygwKyOdSmZUsz3Np/8f1k Jzu2lwohfyol+8Vq+Ln908Dae1kDyeQmjmWTst+lyel/pFCbPJpFatDdpVBNgX1lnBEDd nsTHMWUbvNH83SJxF8VAcxAyD6bDWxyvY8240mfYIg65+ytdcM4tYFJvyEy6dAehDzb/c by6xseHF7UgomugQqoDCBlJFYXZfbFdJ+gtb3so4kivXmq+qZ0iUynBPiMbP7LoW/1Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796287256; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=IG8mQQAhd21SVNZ/vejc9TKiXya1YyTPv+lphK0m2lk=; b=XzQYjRFiWDO1Zrjr4dYhYP96WzVqwZQiT3MNv9RLsXkv0fZaiXooaULBpducmIuaNiaj 0p7x7sslLRZk1yMGGT39PBXMqpNpVu2UAjBy17glHVKGn8f7AUg1FVn07wmRmsJ53hgQ4 G4GxyBBxGZJmJCORjD/8JI+PvLLZ7xdV7i/H9MXKGSyiEgUQievJ/NAuCJE7t14q56Vgx mCMlZHlOr/RfAR9Q9G0QtZHtpeDE2lB5uPlxLlSrIpe64Nd2n/Qjn6pt2ozoOmYMEswNV b0y9/4rJRs6WwkGMVnID5Z5Qx7m/dc3UWI2ntOrnQ1RqUcJLdtFG5XjzHwlFRl4CYUw== 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=QZtPMg7J; arc=none smtp.remote-ip=100.103.45.18 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 B94CD606A330 for ; Thu, 3 Dec 2026 08:40:56 +0000 (UTC) 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=QZtPMg7J Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A8041F000C1; Thu, 3 Dec 2026 08:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796287256; bh=IG8mQQAhd21SVNZ/vejc9TKiXya1YyTPv+lphK0m2lk=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=QZtPMg7JoaS/+WepWC9E+2mDqx1O8pByHMBNzdypyWyeXWITrrOw1jdXFERoZSaFl qmuKRJd8FwHM6/UlbesOoHQfyOsitOZ2+oGXOCkgvCBQ4hd+dRkI73ZoSr30Bw1PpP Vlx4IsZGFBABGX8uv/WYnHcLC2BlwoRUDEygtA/elassjbghsQNDxaHZPWAfJd3t7e eHhdlRYDvJNdfVy0mJoqx50MOUDnpo6yQ8irPUjHmkUhulJ9aQ6Qy1Y9Bqbto254pL X201XDEKuq4RFvAAgo8PltV1+KrU9egahCIpp+0IAwdYAHCf2omkzfFHrT34ZhG0Zl rn8ei3bbWJz+w== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH net-next v18 4/6] dt-bindings: net: dsa: add Motorcomm YT9224 Reply-To: sashiko-reviews@lists.linux.dev To: "Kyle Switch" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261202084022.3716891-5-kyle.switch@motor-comm.com> References: <20261202084022.3716891-1-kyle.switch@motor-comm.com> <20261202084022.3716891-5-kyle.switch@motor-comm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 08:40:55 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Low] dt-bindings: net: dsa: motorcomm,yt9224.yaml duplicates motorcomm,yt921x.yaml - [Low] dt-bindings: net: dsa: missing reset-gpios and unused includes in yt9224 -- commit 827082185ba0054b4f8cd0011f638e983d5ab730 Author: Kyle Switch dt-bindings: net: dsa: add Motorcomm YT9224 This commit adds a new Device Tree binding schema for the Motorcomm YT9224 Ethernet switch and adds the schema file to MAINTAINERS. > diff --git a/Documentation/devicetree/bindings/net/dsa/motorcomm,yt9224.y= aml b/Documentation/devicetree/bindings/net/dsa/motorcomm,yt9224.yaml > new file mode 100644 > index 0000000000000..01b61b47d3726 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/dsa/motorcomm,yt9224.yaml > @@ -0,0 +1,142 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/dsa/motorcomm,yt9224.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Motorcomm YT9224 Ethernet switch > + > +maintainers: > + - Kyle Switch > + > +description: | > + The Motorcomm YT9224 is a member of the YT922x Ethernet switch family, > + with 4 internal GbE PHYs (Port 4-7) and 2 SerDes ports (Port 0 and 8). > + > + Any port can be used as the CPU port. > + > +properties: > + compatible: > + const: motorcomm,yt9224 > + > + reg: > + enum: [0x0, 0x1d] [Severity: Low] Can motorcomm,yt9224 be added to an enum under compatible in motorcomm,yt921x.yaml instead of duplicating the binding? Neither schema enforces port or PHY numbering rules beyond referencing dsa.yaml#/$defs/ethernet-ports and /schemas/net/mdio.yaml#, and motorcomm,yt921x.yaml already documents several switch variants with different port layouts that are handled by the same driver. > + mdio: > + $ref: /schemas/net/mdio.yaml# > + unevaluatedProperties: false > + description: > + Internal MDIO bus for the internal GbE PHYs. PHY 4-7 are used for > + Port 4-7 respectively. > + > + mdio-external: > + $ref: /schemas/net/mdio.yaml# > + unevaluatedProperties: false > + description: > + External MDIO bus to access external components. External PHYs for > + the SerDes ports (Port 0 and 8) are expected to be connected to the > + external MDIO bus, but that is not a hard limitation from the chip. > + > +required: > + - compatible > + - reg > + > +allOf: > + - $ref: dsa.yaml#/$defs/ethernet-ports > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include [Severity: Low] If this remains a separate schema, should properties include reset-gpios (as in motorcomm,yt921x.yaml)? Because unevaluatedProperties is false, omitting reset-gpios causes dtbs_check to reject switch nodes that specify a hardware reset line for the MDIO bus core. Also, dt-bindings/gpio/gpio.h and dt-bindings/leds/common.h are unused in the example below. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202084022.3716= 891-1-kyle.switch@motor-comm.com?part=3D4