[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4d981879-f6e2-8046-1a34-f11abfb19187@linaro.org>
Date: Wed, 2 Nov 2022 11:48:22 -0400
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Rob Herring <robh@...nel.org>
Cc: Bjorn Andersson <andersson@...nel.org>,
Andy Gross <agross@...nel.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Lars Povlsen <lars.povlsen@...rochip.com>,
Steen Hegelund <Steen.Hegelund@...rochip.com>,
Daniel Machon <daniel.machon@...rochip.com>,
UNGLinuxDriver@...rochip.com, Sergey Shtylyov <s.shtylyov@....ru>,
Manivannan Sadhasivam <mani@...nel.org>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Jonathan Marek <jonathan@...ek.ca>,
Martin Botka <martin.botka@...ainline.org>,
Taniya Das <tdas@...eaurora.org>,
Christian Marangi <ansuelsmth@...il.com>,
Stephan Gerhold <stephan@...hold.net>,
Shawn Guo <shawn.guo@...aro.org>,
Vinod Koul <vkoul@...nel.org>,
krishna Lanka <quic_vamslank@...cinc.com>,
Iskren Chernev <iskren.chernev@...il.com>,
Del Regno <angelogioacchino.delregno@...ainline.org>,
Robert Foss <robert.foss@...aro.org>,
Jeffrey Hugo <quic_jhugo@...cinc.com>,
Govind Singh <govinds@...eaurora.org>,
Loic Poulain <loic.poulain@...aro.org>,
Vladimir Zapolskiy <vladimir.zapolskiy@...aro.org>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Oleksij Rempel <linux@...pel-privat.de>,
Horatiu Vultur <horatiu.vultur@...rochip.com>,
Vladimir Oltean <vladimir.oltean@....com>,
Claudiu Manoil <claudiu.manoil@....com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: net: constrain number of 'reg' in ethernet
ports
On 31/10/2022 14:57, Rob Herring wrote:
> On Fri, Oct 28, 2022 at 10:03:25AM -0400, Krzysztof Kozlowski wrote:
>> 'reg' without any constraints allows multiple items which is not the
>> intention for Ethernet controller's port number.
>>
>
> Shouldn't this constrained by dsa-port.yaml (or the under review
> ethernet switch schemas that split out the DSA parts)?
dsa-port should indeed have such change (I'll send one), but these
schemas do not reference it.
They reference only ethernet-controller, which does not even mention
'reg' port. I'll describe it better in commit msg.
ethernet-switch is not yet referenced in the schemas changed here. It
would not be applicable to asix,ax88178.yaml and microchip,lan95xx.yaml.
To others - probably it would be applicable.
Best regards,
Krzysztof
Powered by blists - more mailing lists