[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+HBbNH6wO2VWOp1Dn52ArrYg6z89FgYnT3x-jsHsTVJ5xSBSA@mail.gmail.com>
Date: Mon, 8 Dec 2025 11:30:28 +0100
From: Robert Marko <robert.marko@...tura.hr>
To: Conor Dooley <conor@...nel.org>
Cc: robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
gregkh@...uxfoundation.org, nicolas.ferre@...rochip.com,
claudiu.beznea@...on.dev, mturquette@...libre.com, sboyd@...nel.org,
richardcochran@...il.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org,
daniel.machon@...rochip.com, UNGLinuxDriver@...rochip.com,
luka.perkov@...tura.hr
Subject: Re: [PATCH 2/4] dt-bindings: arm: Document Microchip LAN969x
On Wed, Dec 3, 2025 at 8:19 PM Conor Dooley <conor@...nel.org> wrote:
>
> On Wed, Dec 03, 2025 at 01:21:30PM +0100, Robert Marko wrote:
> > Microchip LAN969x is a series of multi-port, multi-gigabit switches based
> > on ARMv8 Cortex-A53 CPU.
> >
> > Signed-off-by: Robert Marko <robert.marko@...tura.hr>
> > ---
> > .../bindings/arm/microchip,lan969x.yaml | 32 +++++++++++++++++++
>
> This should not be in a unique file, put it in with the other microchip
> arm devices please. Also, the wildcard in the compatible is not
> permitted, only way it'd make sense is if these are different binnings
> of the same silicon. If that's the case, you need to explain why,
> because compatibles are meant to be soc-specific.
Hi Conor,
The issue is that there is no unique place for Microchip SoC-s,
LAN966x series is in the AT91 bindings
while SparX-5 has its own bindings file.
What would you suggest in this case?
As for the wildcard, I understand, will get rid of it in v2.
Regards,
Robert
>
> pw-bot: changes-requested
>
> > 1 file changed, 32 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/arm/microchip,lan969x.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/arm/microchip,lan969x.yaml b/Documentation/devicetree/bindings/arm/microchip,lan969x.yaml
> > new file mode 100644
> > index 000000000000..3fa1d4ed40d1
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/arm/microchip,lan969x.yaml
> > @@ -0,0 +1,32 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/arm/microchip,lan969x.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Microchip LAN969x Boards
> > +
> > +maintainers:
> > + - Robert Marko <robert.marko@...tura.hr>
> > +
> > +description: |+
> > + The Microchip LAN969x SoC is a ARMv8-based used in a family of
> > + multi-port, multi-gigabit switches.
> > +
> > +properties:
> > + $nodename:
> > + const: '/'
> > + compatible:
> > + oneOf:
> > + - description: The LAN969x EVB (EV23X71A) is a 24x 1G + 4x 10G
> > + Ethernet development system board.
> > + items:
> > + - const: microchip,ev23x71a
> > + - const: microchip,lan969x
> > +
> > +required:
> > + - compatible
> > +
> > +additionalProperties: true
> > +
> > +...
> > --
> > 2.52.0
> >
--
Robert Marko
Staff Embedded Linux Engineer
Sartura d.d.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko@...tura.hr
Web: www.sartura.hr
Powered by blists - more mailing lists