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=1796145438; b=BWLPHLpm3XPKW+fU7vAMTbNDz90sNL9W5DXQlingjAQy714agGHbxHApMdGHrUFIUXGq a929BSzY2RFvADS/ZA+vdazmFdHQCrEw+SKnBJ+wY0WkWQTiXKk80RtCtbhQ+HN0dQs5N TBblirEQRt23kGMoR4ouEpOr+KFrdiort+h2N0aoSejB3P65Pmrn9tDCc5TPxP1XqZoav k1tOd2BDh3MnoHUPKsxsNbACzHHmv3ZdAyGnsKbkfcCo8Et8SuhPO6P/E+mz6S8WQ+oPh 66AB6vztnjKihZs0y/x0mlXNnHZe8OHcUL8KNJFap4R8gFA/bMszURVB4KVUNCLA6jA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796145438; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=rNv/acK2KO4Shm1fKfravLuSv+06e719asHUTepIWrE=; b=nkJKYasZqhwfzkOYl2HPyPI9V0+bbpEgFGWzsskGmZDZeW+hmPfLXj/Qoyx0RVqws8s6 2I1Syo2XsT73XepxObD//cbgoLe7o0xJcqTKoTKvXmfoEuIBGH9ozmV9NZdp+81nbPjyX yIZh0CujmgSqfBOiEirFOr78q0D3m4hQp6f2rRpT84ysC2rYzPMH8whQtQtq+UnlIdfUm GYocGJAzbchitnteOU+X2TsBifOcgN4z0rsuk0uA4L6Ro3ROO3OgzKAui+ZXIDDmJLdBs 6FL5I9l1uDdvRerbhlRfYeCD/uuHvtGf3wPNdyHrq/UK932b3UElfLjVter65zy6RxQ== 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=K0uq3z7I; 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 ECDD5606A31A for ; Tue, 1 Dec 2026 17:17:17 +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=K0uq3z7I Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53F1A1F000C1; Tue, 1 Dec 2026 17:17:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796145437; bh=rNv/acK2KO4Shm1fKfravLuSv+06e719asHUTepIWrE=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=K0uq3z7IqK2refkLYKjOH1iKqS6p645+2AtXAwXllOQi2eJkhZe4DBjRv2lh3kh1P x3K3fZLQPEVYcI+E3Y74FPU6oW87lLFbrEYg6RJOoxfeoRQzEY8/wq8HQzrcfnSrJu BV0XZzcdZAksGD1s3C9UCFYyED09tbQvAKFafdffxNV3Fw+A9tLB/UHNDGY6YKqito uC/tFLK+RC+ltucgpp+RBozCcFDvzZJTEeivCOGJHb5PnKs8Vr/dT970zOOrkC/ufp WaPLn0dsIRwSsrkcVyrrHfz8KfIiIUdTZrEgJLJjx44/YXaPYtq3Ce9o+FzpS0uJv8 9uwzP7Dy+5EAw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH net-next v2 1/2] dt-bindings: net: Add Synaptics SL2610 DWMAC Reply-To: sashiko-reviews@lists.linux.dev To: "Jisheng Zhang" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261130165639.12839-2-jszhang@kernel.org> References: <20261130165639.12839-1-jszhang@kernel.org> <20261130165639.12839-2-jszhang@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 17:17:17 +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: - [Medium] dt-bindings: net: missing clock and reset headers in syna,sl2610-dwmac example - [Low] dt-bindings: net: non-canonical property order in syna,sl2610-dwmac.yaml -- commit 858c2e1d1708ecbd6e675afdc52b3cefc59b8633 Author: Jisheng Zhang dt-bindings: net: Add Synaptics SL2610 DWMAC This commit adds the Device Tree binding schema for the Synaptics SL2610 integration of the DesignWare Ethernet MAC (DWMAC 5.20). > diff --git a/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml= b/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml > new file mode 100644 > index 0000000000000..eaa8b86dd358e > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/syna,sl2610-dwmac.yaml > @@ -0,0 +1,128 @@ [ ... ] > +properties: > + compatible: > + items: > + - const: syna,sl2610-dwmac > + - const: snps,dwmac-5.20 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + interrupt-names: > + const: macirq > + > + clocks: > + items: > + - description: MAC clock > + - description: Peripheral register interface clock > + - description: PTP reference clock > + > + clock-names: > + items: > + - const: stmmaceth > + - const: pclk > + - const: ptp_ref > + > + resets: > + maxItems: 1 > + > + reset-names: > + const: stmmaceth > + > + power-domains: > + maxItems: 1 > + > + syna,syscon: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + items: > + - items: > + - description: Phandle to the SL2610 system controller. > + - description: Offset of the Ethernet interface control regist= er. > + enum: [0xa18, 0xa3c] > + description: > + Phandle and register offset used to configure the Ethernet PHY > + interface mode. > + > + phy-mode: > + enum: > + - rmii > + - rgmii > + - rgmii-id > + - rgmii-rxid > + - rgmii-txid > + > +required: > + - compatible > + - clocks > + - clock-names > + - syna,syscon > + - phy-mode [Severity: Low] This isn't a bug, but in properties, required and the example node below, interrupts and interrupt-names are placed before clocks and clock-names, and the vendor-specific syna,syscon property is placed before standard properties (phy-mode and phy-handle). Per DT schema conventions, clocks should precede interrupts, and standard properties should precede vendor-specific ones. > + > +dependencies: > + resets: [reset-names] > + reset-names: [resets] > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + #include > + > + ethernet@f7a06000 { > + compatible =3D "syna,sl2610-dwmac", "snps,dwmac-5.20"; > + reg =3D <0xf7a06000 0x2000>; > + interrupts =3D ; > + interrupt-names =3D "macirq"; > + clocks =3D <&clk CLK_GETHRGMII1>, <&clk CLK_GETHRGMII1SYS>, > + <&clk CLK_GE1_PTP_REF>; > + clock-names =3D "stmmaceth", "pclk", "ptp_ref"; > + resets =3D <&rst RST_SOC_GETH1>; [Severity: Medium] Does this example break make dt_binding_check? Neither dt-bindings/clock/syna,sl2610.h nor dt-bindings/reset/syna,sl2610-reset.h exists in include/dt-bindings/, so preprocessing the extracted example DTS fails due to missing headers and undefined clock and reset macros. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261130165639.1283= 9-1-jszhang@kernel.org?part=3D1