public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Charles Perry <charles.perry@microchip.com>
To: Conor Dooley <conor@kernel.org>
Cc: <netdev@vger.kernel.org>, Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Nicolas Ferre <nicolas.ferre@microchip.com>,
	"Claudiu Beznea" <claudiu.beznea@tuxon.dev>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<charles.perry@microchip.com>
Subject: Re: [PATCH net-next 1/4] dt-bindings: net: cdns,macb: add a compatible for Microchip p64h
Date: Tue, 3 Mar 2026 12:45:21 -0800	[thread overview]
Message-ID: <aadIYcFrlYmrV3RW@bby-cbu-swbuild03.eng.microchip.com> (raw)
In-Reply-To: <20260303-emperor-childlike-6c43d8a91753@spud>

On Tue, Mar 03, 2026 at 07:32:25PM +0000, Conor Dooley wrote:
> On Tue, Mar 03, 2026 at 10:54:01AM -0800, Charles Perry wrote:
> > On Tue, Mar 03, 2026 at 06:18:48PM +0000, Conor Dooley wrote:
> > > On Tue, Mar 03, 2026 at 10:03:15AM -0800, Charles Perry wrote:
> > > > "p64h" is shorthand for "PIC64-HPSC" and "PIC64HX"
> > > 
> > > No, sorry. If these are different SoCs they need to have SoC-specific
> > > compatibles, particularly since PIC64HY could be something that is not
> > > compatible with these devices. It'd be fine to add
> > > "microchip,pic64hpsc-gem" with "microchip,pic64hx-gem" as a fallback
> > > though, since they do appear to be very very very similar devices and
> > 
> > Yes, "very very very similar" is the right term.
> 
> FWIW, if the only difference was binning or fusing, having the same
> compatible for more than one device could be okay. But these are
> actually like polarfire-soc and rt-polarfire-soc, where they look very
> similar to software but the rt process means that they're physically
> different, right?
> 

I know they are functionally equivalent but some blocks are fused. I don't
know about manufacturing processes, sorry.

> > > can clearly share the same match data in the driver. That's what pic64gx
> > > and mpfs do.
> > 
> > Ok, no problem. Like this? :
> > 
> > ```
> >       - items:
> >           - enum:
> >               - microchip,pic64hpsc-gem
> >               - microchip,pic64hx-gem
> >           - const: microchip,pic64h-gem
> >           - const: cdns,gem
> 
> I was thinking
> - items:
>     - const: microchip,pic64hx-gem
>     - const: cdns,gem
> - items:
>     - const: microchip,pic64hpsc-gem
>     - const: microchip,pic64hx-gem
>     - const: cdns,gem
> 
> And getting rid of the "pic64h" that may end up not being sufficiently
> common in the future.
> 

Ok sounds good but I'll make "pic64hpsc" the favorite child and let
"pic64hx" fallback to "pic64hpsc".

> > Also, how important is it to use "pic64h" vs "p64h"?
> 
> Oh I didn't even notice that tbh, I just have "pic64" muscle memory from
> the pic64gx, and the pic32mzda also spells it out. My OCD says says "pic",
> and the fact that all the marketing stuff uses "pic" kinda votes in that
> favour too.
> 

Ok, lets use "pic".

> > Much of the downstream development uses "p64h" in compatibles, file names,
> > function names, etc. and it would create some overhead to rename
> > everything.
> 
> This is probably one of the easiest things to absorb from a
> up/down stream perspective, you could (and probably will on other
> submissions) get far more disruptive feedback than something that's
> effectively cosmetic and can be solved by adding a single line to a
> driver. To be honest, I don't care if you rename functions or filenames,
> it's only devicetree related things that I personally care about.
> 

Understood.

Thank you,
Charles

> > Although, as I think of it, it might not be a bad thing since it would
> > allow to quickly identify the mainstream from the downstream code.



  reply	other threads:[~2026-03-03 20:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-03 18:03 [PATCH net-next 0/4] Initial support for p64h GEM Charles Perry
2026-03-03 18:03 ` [PATCH net-next 1/4] dt-bindings: net: cdns,macb: add a compatible for Microchip p64h Charles Perry
2026-03-03 18:18   ` Conor Dooley
2026-03-03 18:54     ` Charles Perry
2026-03-03 19:32       ` Conor Dooley
2026-03-03 20:45         ` Charles Perry [this message]
2026-03-03 18:03 ` [PATCH net-next 2/4] dt-bindings: net: cdns,macb: forbid phy nodes " Charles Perry
2026-03-03 18:11   ` Conor Dooley
2026-03-03 18:57     ` Charles Perry
2026-03-03 18:03 ` [PATCH net-next 3/4] net: macb: add safeguards for jumbo frame larger than 10240 Charles Perry
2026-03-05 11:40   ` Simon Horman
2026-03-05 14:24     ` Charles Perry
2026-03-06 13:04       ` Simon Horman
2026-03-06 15:25         ` Charles Perry
2026-03-03 18:03 ` [PATCH net-next 4/4] net: macb: add support for Microchip p64h ethernet endpoint Charles Perry
2026-03-06 13:04   ` Simon Horman

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=aadIYcFrlYmrV3RW@bby-cbu-swbuild03.eng.microchip.com \
    --to=charles.perry@microchip.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=pabeni@redhat.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