From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4086C282DE for ; Mon, 10 Mar 2025 21:16:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=scH+b3nxFcJAlmzILX89iTGfeiWqmQg1erGwcnLTtG0=; b=KwHWTjKukfOe77 esr6r/lOsCrRfqm4Jd60hFDjHh+gaJPapWaM1V0lAqO5uBr3npTClCxjgeEWM0qVRFS1GEA0p+4sF dTwfPK0ILM6FHupEPz+KPjxxsQyrOjo5wAG/JX/7OnRc+CVECZstGTznBylyCeoeXbLpoojjgDm39 Wn6g/KH3WHp+1Y3r9PpzCord/3BGNkEh5d2si/JGC5w3PxkqdPSSUSvCM8CnjV+7xnpFVsSNUkWsi JYeanBhANUbgYco9qqsrY4+U9p0HszZMv5fBVSPE8Wmv0WGhgeQpiTHyYVxlJSGinhcpzd6/9bxXq UQMkCQ6gvGWu6A6XWGfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1trkUM-00000003ziw-37n1; Mon, 10 Mar 2025 21:16:42 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1trkUG-00000003zfK-3DTi; Mon, 10 Mar 2025 21:16:38 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D3C1D5C03E4; Mon, 10 Mar 2025 21:14:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19C95C4CEE5; Mon, 10 Mar 2025 21:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741641395; bh=xhhTO52C/8fG7MDjEfxhWhAUsEKxrB+SaqXmnB/oZGQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KB1ErfGMXqL3eUvY/h60CuKtdRdDzpKgAEjSXuOVZQgYXaX7PjmtRr+7t+hvS6tGy ytMrx41oPxfH3/0bph5XHgZy28tQ6Iyar2WI4JMjngSuQq9nge7too/D5Lq3Nezlm0 Ev2cu/gKGiY2ajzu5pUo2A/BRY0gQIWXwKyphw6qT7z7sSreM3Suncat5jtP4rMt+a 8Zhi1XgPM3G/xx5GvP1PkwRGVoj8YRnX972OzIo+R+3PskdAyDEgUJqqcOBrRdx7la 7no62gUzvph6vkxPCn7Ai5G55Ys2afIwQ35/d85v/cKcR4Vdd40oLznc/OHhu45KPE 1Tw6Rt5PmnBPQ== Date: Mon, 10 Mar 2025 16:16:33 -0500 From: "Rob Herring (Arm)" To: Prabhakar Cc: linux-rockchip@lists.infradead.org, Martin Blumenstingl , Fabio Estevam , linux-mediatek@lists.infradead.org, Pengutronix Kernel Team , Paolo Abeni , Sascha Hauer , Eric Dumazet , linux-kernel@vger.kernel.org, "G. Jaya Kumaran" , netdev@vger.kernel.org, Shawn Guo , Maxime Coquelin , Lad Prabhakar , Clark Wang , Jerome Brunet , Linux Team , Neil Armstrong , Christophe Roullier , Heiko Stuebner , Nobuhiro Iwamatsu , David Wu , linux-stm32@st-md-mailman.stormreply.com, Krzysztof Kozlowski , AngeloGioacchino Del Regno , Conor Dooley , Jakub Kicinski , Kevin Hilman , linux-amlogic@lists.infradead.org, Matthias Brugger , Andrew Lunn , "Russell King (Oracle)" , Alexandre Torgue , Biao Huang , devicetree@vger.kernel.org, "David S. Miller" , imx@lists.linux.dev Subject: Re: [PATCH net-next] dt-bindings: net: Define interrupt constraints for DWMAC vendor bindings Message-ID: <174164139310.903652.6069254912704107254.robh@kernel.org> References: <20250309003301.1152228-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20250309003301.1152228-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250310_141636_915893_D479B5D4 X-CRM114-Status: GOOD ( 16.19 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Sun, 09 Mar 2025 00:33:01 +0000, Prabhakar wrote: > From: Lad Prabhakar > > The `snps,dwmac.yaml` binding currently sets `maxItems: 3` for the > `interrupts` and `interrupt-names` properties, but vendor bindings > selecting `snps,dwmac.yaml` do not impose these limits. > > Define constraints for `interrupts` and `interrupt-names` properties in > various DWMAC vendor bindings to ensure proper validation and consistency. > > Signed-off-by: Lad Prabhakar > --- > Hi All, > > Based on recent patch [0] which increases the interrupts to 11 > and adds `additionalItems: true` its good to have constraints > to validate the schema. Ive made the changes based on the DT > binding doc and the users. Ive ran dt binding checks to ensure > the constraints are valid. Please let me know if you'd like me > to split this patch or if any of the constraints are incorrect, > as I don't have documentation for all of these platforms. > > https://lore.kernel.org/all/20250308200921.1089980-2-prabhakar.mahadev-lad.rj@bp.renesas.com/ > > Cheers, Prabhakar > --- > .../devicetree/bindings/net/amlogic,meson-dwmac.yaml | 6 ++++++ > .../devicetree/bindings/net/intel,dwmac-plat.yaml | 6 ++++++ > .../devicetree/bindings/net/mediatek-dwmac.yaml | 6 ++++++ > .../devicetree/bindings/net/nxp,dwmac-imx.yaml | 8 ++++++++ > .../devicetree/bindings/net/rockchip-dwmac.yaml | 10 ++++++++++ > Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 10 ++++++++++ > .../bindings/net/toshiba,visconti-dwmac.yaml | 6 ++++++ > 7 files changed, 52 insertions(+) > Reviewed-by: Rob Herring (Arm) _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic