[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b6897cec-eb02-451c-8b81-013a8166e2be@kernel.org>
Date: Sat, 12 Jul 2025 07:35:40 -0500
From: Dinh Nguyen <dinguyen@...nel.org>
To: Matthew Gerlach <matthew.gerlach@...era.com>,
Krzysztof Kozlowski <krzk@...nel.org>, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
mcoquelin.stm32@...il.com, alexandre.torgue@...s.st.com,
maxime.chevallier@...tlin.com, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] dt-bindings: net: altr,socfpga-stmmac.yaml: add minItems
to iommus
On 7/9/25 17:23, Matthew Gerlach wrote:
>
>
> On 7/8/25 11:54 PM, Krzysztof Kozlowski wrote:
>> On 07/07/2025 17:44, Matthew Gerlach wrote:
>> > Add missing 'minItems: 1' to iommus property of the Altera SOCFPGA SoC
>> > implementation of the Synopsys DWMAC.
>>
>> Why? Explain why you are doing thing, not what you are doing. What is
>> obvious which makes entire two-line commit msg redundant and useless.
> This conversion to yaml was a merge of two separate conversions from
> Ding Nguyen and myself plus some resolved issues highlighted by Rob
> Herring, but I missed the minItems:
>
> https://lore.kernel.org/lkml/20250626234816.GB1398428-robh@kernel.org/
>
>>
>> Original binding had no iommus and referenced commit does not explain
>> why they appeared during conversion in the first place.
> The text version of the binding was created before the device trees for
> the Agilex family, which do support iommus, were accepted into the kernel.
>>
>> > > Fixes: 6d359cf464f4 ("dt-bindings: net: Convert socfpga-dwmac
>> bindings to yaml")
>> > Signed-off-by: Matthew Gerlach <matthew.gerlach@...era.com>
>> > ---
>> > Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml | 1 +
>> > 1 file changed, 1 insertion(+)
>> > > diff --git
>> a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
>> b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
>> > index c5d8dfe5b801..ec34daff2aa0 100644
>> > --- a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
>> > +++ b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
>> > @@ -59,6 +59,7 @@ properties:
>> > - const: ptp_ref
>> > > iommus:
>> > + minItems: 1
>> > maxItems: 2
>>
>> Why this has to be flexible on given SoC? This is weird. Same hardware
>> differs somehow?
> Dinh can you comment on this binding from
> https://lore.kernel.org/all/20250624191549.474686-1-dinguyen@kernel.org/?
>
This might have been a copy/paste error.
DInh
Powered by blists - more mailing lists