public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "Russell King (Oracle)" <linux@armlinux.org.uk>,
	Andrew Lunn <andrew@lunn.ch>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	Conor Dooley <conor+dt@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	devicetree@vger.kernel.org, Eric Dumazet <edumazet@google.com>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Jakub Kicinski <kuba@kernel.org>,
	Jose Abreu <joabreu@synopsys.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	netdev@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh@kernel.org>
Subject: Re: [PATCH] dt-bindings: mark unimplemented AXI snps,kbbe snps,mb and snps,rb
Date: Tue, 10 Mar 2026 11:09:27 +0000	[thread overview]
Message-ID: <20260310-serotonin-skimpily-797f9982f767@spud> (raw)
In-Reply-To: <47657a77-2880-4556-84fc-96dc4174e705@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]

On Tue, Mar 10, 2026 at 09:48:25AM +0100, Krzysztof Kozlowski wrote:
> On 10/03/2026 09:43, Krzysztof Kozlowski wrote:
> > On 09/03/2026 18:49, Conor Dooley wrote:
> >> On Sat, Mar 07, 2026 at 12:05:18AM +0000, Russell King (Oracle) wrote:
> >>> Any chance of a review from the DT maintainers please?
> >>
> >> Sure.
> >>
> >>> On Wed, Mar 04, 2026 at 05:30:32PM +0000, Russell King (Oracle) wrote:
> >>>> Mark the AXI snps,kbbe snps,mb and snps,rb properties as not
> >>>> implemented. These were introduced by commit afea03656add ("stmmac:
> >>>> rework DMA bus setting and introduce new platform AXI structure").
> >>>> While stmmac has code to parse these properties and save their values,
> >>>> these are written to write-only struct members - no code in stmmac
> >>>> has ever read their value. Hence, these properties have been non-
> >>>> functional from day one.
> >>
> >> If they're not implemented and have never been used, could we delete
> 
> Maybe I misunderstood, did you mean delete from the drivers as well?

Correct. That's what I meant by "delete entirely".

> This would work as well, but we cannot only remove the dt-bindings.
> 
> 
> >> entirely? Note that they also appear down around line 600 in the file,
> >> in the stmmac-axi-config section.
> >>
> > 
> > We should not document what is and what is not implemented, thus this
> > patch is not correct either. Either you deprecate properties, based on
> > some argument, or you leave them untouched regardless whether they are
> > implemented or not. If someone re-implements them next week, are you
> > going to change the binding? Usually no, unless these are not really
> > hardware properties.
> 
> 
> 
> Best regards,
> Krzysztof

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2026-03-10 11:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04 17:30 [PATCH] dt-bindings: mark unimplemented AXI snps,kbbe snps,mb and snps,rb Russell King (Oracle)
2026-03-07  0:05 ` Russell King (Oracle)
2026-03-09 17:49   ` Conor Dooley
2026-03-10  8:43     ` Krzysztof Kozlowski
2026-03-10  8:48       ` Krzysztof Kozlowski
2026-03-10 11:09         ` Conor Dooley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260310-serotonin-skimpily-797f9982f767@spud \
    --to=conor@kernel.org \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=joabreu@synopsys.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox