From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE0231DE4DF; Mon, 10 Mar 2025 21:16:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741641396; cv=none; b=Z0nQaOsnZJDV39sZsV4v6mV8cTEVWSZPzn/sMCu6FvHxITSCBWSnBA7G5e+0q4OtoDQ94owSO0y+UcgYLktOjD8Pkx/4tTxQdC7J5oV5PKhJb228M/ZC/u5/WXXI0IPBOU2pcmtaGFeElupALbXq+bwsMexb/uQP33l4AJxG3Yc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741641396; c=relaxed/simple; bh=xhhTO52C/8fG7MDjEfxhWhAUsEKxrB+SaqXmnB/oZGQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AXWDAZcFM5EEhC51cTruMZTgxVCiO2ZBhcDOtTHjcXwrD1nWfzcngTTvFcwsRggyGB4arcFztg+ksedfLes5yrVJdzG3B2UoCHTWVc5c99hwQBiz+jASUMlPerP5rULjc5tBFs63sKiErAAKuLuSf9j78301PopTnkvZ3dZtAAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KB1ErfGM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KB1ErfGM" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250309003301.1152228-1-prabhakar.mahadev-lad.rj@bp.renesas.com> 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)