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=1796567834; b=DP1ofr/Y6tKm0UiveEJdtwRQkpr4zV80tyG0qFQXRVrFp/BYmmfh3m9yLF7vBizBOaYL vsZTkh4qaFSkqehWIGSlTfZUe6Mb7yIwAn1euUgq8YQBfheOdyHzpYYjZYLkydgU5NJIz tFsY4IhXSjeZcszTAIn1NEIEFwIQVcSFrxA5dUXfN0oDikpZFAIvP8+jEctNvT/oHBJi4 74tF3wpP1jdmo4Ve8jBcHdetf0y3UIhkb54DcPKeVR1XybImrNbKsOj1fkCb6aNahcPh5 sup3BtfYa8ChmfAYw8qY2mKwhDM327aivXXb4IhIV7Ua+FSBf0y7KxHK4zsUHWaSxPw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796567834; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=NLIYs+8EuPuoxxcV8qVXMcfW1L1TgxKk9HbPDIwLUD0=; b=45jOVhgui7HZOuzB2n82yH/TgIWUCqBlbg2x2F2rexthoA8JXEQ9KEBG6xmxTrXSt8TR zCK109lXs9VVAYdS0q1jHYY8Nb0q8UVUSm0Wq955LPR6KMga1INKkKkGN/veuSBTL9owl 4DRvge7s6TTlf4BhCWskDSlutB8vJRgZ7QJxjEgxyNCHCbfdQnr/XUkPNLlbtKRc9/5Y4 eIrk9vmwaQ0jyERUFvhYYgd7dCRYVHlsmQmLozCP/OGD9uuMVnPv26gFrwmKoF5aPWYrC OzLOI4dfn6cZF2sZmNxiMOraeOhPJ7aBxYaIsC9TMPNlNboENifhhqB+xo5MXOa61nQ== 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="j/ZX28Uz"; 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 D131A606A31F for ; Sun, 6 Dec 2026 14:37:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=j/ZX28Uz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BD8B1F0093B; Sun, 6 Dec 2026 14:37:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796567834; bh=NLIYs+8EuPuoxxcV8qVXMcfW1L1TgxKk9HbPDIwLUD0=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=j/ZX28UzoUNOKUGxUhHlDMHSr1jt7HhHckDGP46QnkpCnbzQQbReuoHSYspZyHfsJ oCFxViqv2lL8JtZjFFOLgsoWOto2b50OjMUj+UDySjKRgWF7jMIIMJD78DTquw0llj LisDsOVoayRcC00JV21+fOds8ovf8EN0qkyOKCdLFhXrxS9bM3vyaY2MHt86zdyEN8 BF9Y6OsCA1u2RCTOCLaMz0uRJy24nz9u8OMxo7wCrnpj+5yZM18+p9Lx3QiDinRhmS 0AyENUBgqg5SNeWDFy/bFgQcmnLML/f7hYaDQ3LFhXtDpr3HDmJFp2CVU5wGzTHkX4 jjrQl6eJieCCw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH net-next v6 1/3] dt-bindings: net: Add Cortina CS7542 MDIO controller Reply-To: sashiko-reviews@lists.linux.dev To: "Fil Dunsky" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261205-b4-cs7542-mdio-v6-1-228e312ff14b@gmail.com> References: <20261205-b4-cs7542-mdio-v6-0-228e312ff14b@gmail.com> <20261205-b4-cs7542-mdio-v6-1-228e312ff14b@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 14:37:13 +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: cs7542-mdio forbids clock-frequency due to driver policy - [Low] dt-bindings: net: cs7542-mdio omits rationale for suppress-preamble: false -- commit 76df9f9f1b70bc3241483a27959a3fff9aff9f19 Author: Fil Dunsky dt-bindings: net: Add Cortina CS7542 MDIO controller This commit adds the Device Tree binding schema for the Cortina Systems CS7542 Clause 22 MDIO controller. Link: https://lore.kernel.org/all/179644615714.3146.7992850630581806957@ker= nel.org/ > diff --git a/Documentation/devicetree/bindings/net/cortina,cs7542-mdio.ya= ml b/Documentation/devicetree/bindings/net/cortina,cs7542-mdio.yaml > new file mode 100644 > index 0000000000000..a20d10a5c2c7d > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/cortina,cs7542-mdio.yaml [ ... ] > +description: > + Clause 22 MDIO controller with a programmable 16-bit MDC prescaler. > + Firmware configures the prescaler before the operating system starts. [ ... ] > + clock-frequency: false [Severity: Medium] Should this binding forbid clock-frequency and encode firmware startup behavior in description? The controller has a programmable 16-bit MDC prescaler, and the commit message excludes clock-frequency only because the driver preserves firmware-assigned MDC. Per writing-bindings.rst, bindings should describe the hardware rather than current OS or driver behavior. Forbidding clock-frequency causes dtbs_check to reject valid board DTS files that specify an MDC frequency. Since clock-frequency is already optional in mdio.yaml, dropping clock-frequency: false and the firmware startup sentence keeps the binding complete without requiring it in DTS. > + > + suppress-preamble: false [Severity: Low] Does the CS7542 hardware lack preamble suppression, or is suppress-preamble: false also a driver limitation? Neither the commit message nor the binding description explains why suppress-preamble is forbidden. If the hardware cannot suppress the preamble, documenting that constraint would clarify why it is disallowed; otherwise, suppress-preamble: false should be dropped. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205-b4-cs7542-= mdio-v6-0-228e312ff14b@gmail.com?part=3D1